Hi ,
The PCF2129 has a backup battery input pin and backup battery switch-over circuit which monitors the main power supply. The backup battery switch-over circuit automatically switches to the backup battery when a power failure condition is detected.
The power management functions are controlled by the control bits PWRMNG[2:0] (see Table 19) in register Control_3 (see Table 11).
I’m assuming that for your system, you have the default setting for these bits, which are ‘00’ and means that battery switch-over function is enabled in standard mode; and battery low detection function is enabled.
When battery switch-over function is set in standard mode, the power failure condition happens when VDD < VBAT AND VDD < Vth(sw)bat
Vth(sw)bat is the battery switch threshold voltage which is 2.5 V, so this should not be the problem since your battery is always above 3.0V.
So, other possibility would be the power down slew rate.
Several users have application-related concerns when they power-down VDD. VDD ramp down too fast seems to be the most possible cause of the behavior you are seen.
VDD is sampled. If it collapses in between samples then the event is missed and the device fails to switch to battery.
Please ensure that you keep the slew rate at 0.7V/ms or less. If the slew rate is faster than 0.7V/ms, then you can slow it down by adding some decoupling capacitors on the VDD pin.
The functionality of the battery switch-over is limited by the fact that the power supply VDD is monitored every 1 ms in order to save power consumption. Considering that the battery switch-over threshold value (Vth(sw)bat) is typically 2.5 V, the power management operating limit (VDD(min)) is 1.8 V and that VDD is monitored every 1 ms, the battery switch-over works properly in all cases where VDD falls with a rate lower than 0.7 V/ms.
I recommend you to check the Application Note AN1186 where you can find more details information about this topic, especially on section 5.3 “Battery switch-over applications”: https://www.nxp.com/docs/en/application-note/AN11186.pdf
Regards,
Jose
NXP Semiconductors