How to Enable RTC PCA21125 Interrupt
Hi Vishal,
To enable an interrupt on the PCA21125, you need to configure the Control_2 register to enable the interrupt functionality you require (e.g. alarm interrupt, countdown timer interrupt, minute/second).
Then if you are enabling an alarm interrupt, configure the Alarm registers with the desired time for the alarm.
If you are enabling a countdown timer interrupt, configure the Timer registers with the desired countdown value.
You can find examples in the UM10301, chapters 12.2 and 12.3.
After configuring these registers, the PCA21125 should generate an interrupt on the INT pin when the alarm or timer condition is met. Ensure your MCU is configured to handle this interrupt appropriately.
BRs, Tomas