A portable device uses a regulated main rail, and a fresh backup battery can have a higher voltage. Check which power-switching mode is selected on the PCF8523. The manufacturer defines standard mode and direct switching mode. Both compare the main rail with the battery. Standard mode additionally requires the main rail to be below the IC’s switching threshold. A test that only drops the main rail to zero barely distinguishes them.
Choose a test point between the two thresholds
Check the actual battery voltage and the switching threshold applicable to the part. Choose supply values that distinguish the modes. For example, set the main rail slightly below the battery but clearly above the specified switching threshold for the sample. Direct mode then meets its switching condition while standard mode does not meet both of its conditions. This is a test design example. Use guaranteed limits over temperature and supply tolerances to determine production boundaries. Avoid taking a typical threshold as a guaranteed limit.
Use controlled supplies within the IC ratings. Slowly lower and restore the main rail while recording its voltage, backup current, and bus accessibility. The PCF8523 disables its interface in backup mode, so the bus can stop acknowledging while internal timekeeping continues. Once the main rail returns, read back the switching flag, time, and power mode. Repeated probing while the interface is disabled can be misinterpreted as an oscillator failure.
If the main rail can remain below a fresh battery for long periods, include backup battery life and interface availability in the mode decision. Test with fresh and near-end-of-life batteries at the specified temperatures. Record the rail crossover and the switching flag. That evidence establishes supply priority more directly than checking that the time survives disconnection.NXP PCF8523 power-management description
