I am having a problem with the PCF8523T RTC chip, I occasionally lose time, and when this happens the control registers are back to there default states. Can some one tell me if the 3 control registers settings are retained during battery switch over, or are they returned to default and need to be written again?
Hello David,
During battery switch-over, the device should keep the registers set and only the interface is disabled in battery backup operation. It looks like the RTC resets (a reset is automatically generated at power-on or initiated with the software reset command) and go back to the default values. After a reset, the RTC enters in the following mode:
Is this the case?
Also, can you please share your configuration in control bits PM[2:0] in register Control_3 (02h)? What is the voltage level of the battery VBAT and VDD?
Have a great day,
Paulina