Hi all

I am working with a DS1307, everything is great except for the AM/PM bit (bit 5 of the Hours Register). It seems to me that the bit should alternate from 1 to 0 (or vice-versa) when the time changes from 12:59:59 to 1:00:00.

I need to monitor the bit in case power is lost before midnite or noon, and restored later, when the AM-PM would change. Everything else works, I'm running in 12 hr mode, and when time goes from 12:59:59 to 1:00:00 as it should, the AM/PM bit does not change.

If I set AM initially, it stays that way. If I set PM initially, it stays that way. Never changes

What's up?

Ken