Article After the alarm interrupt is enabled for DS12887, the alarm generates an interrupt once every second. How do I correctly configure the alarm to interrupt according to desired set time?

The alarm interrupt of the DS12887 is set by the three ALARM registers in the device. The three ALARM bytes can be used in two ways. One is to set the ALARM registers to the correct time, and the interrupt is generated when the data in the time register matches the time in ALARM registers. In this mode, the interrupt is generated once per day. The second use condition is to insert a “don’t care” state in one or more of the three ALARM bytes. The don’t care code is any hexadecimal value from C0 to FF. The don’t care codes in all three ALARM bytes create an interrupt every second. It is likely that the content of the ALARM register is set to "don't care."

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.