AnsweredAssumed Answered

PCA85063A second, minute alarms are not working

Question asked by Ritesh Patel on May 27, 2019
Latest reply on Aug 1, 2019 by Lisette Paulina Lozano Gomez

Hi,

 

We are interfacing the NXP RTC PCA85063A chipset with the modified micro-controller. We would like to generate interrupt on INTB pin after 1 second of time.

 

For that, we are configuring the register with below values.

control_status_reg2 ( 0x01) = 0x80; /* 

reg_second_alarm (0x0B)  = 0x01; /* Enabled second alarm, alarm for 1 seconds, other register default values are disabled by default */

 

This should generate the alarm and generate an interrupt after 1 second. 

 

1) Please note that RTC time is proper and we are getting proper RTC data in this so it should generate the alarm signal. 

2) We have also verified by polling the control_reg_2 register that the value of AF is not set to 1. So, it means there is some issue with the configurations.

 

Please mention if we are missing any register configuration here.

 

Regards.

Outcomes