Post Go back to editing

DS3231 alarm interrupt behavior upon update of RTC time

Category: Hardware
Product Number: DS3231

I have an application for an alarm clock where a DS3231 is used to generate 1-minute interrupts with Alarm 2, at which time an attached microcontroller requests the current time from the DS3231 and compares the hours and minutes to registers internal to the microcontroller for a user-settable alarm. The date/time of the DS3231 is periodically updated to keep it synchronized with UTC, and these updates can happen at any time.

Suppose at UTC time 11:00:02 the microcontroller updates the time on the DS3231, which currently thinks the time is 10:59:58. During this update the DS3231 will skip right past 11:00:00. Will the DS3231 generate an interrupt for the minute 11:00:00, or will that interrupt be skipped since there was no 59->00 seconds transition?