Datasheet

PCF2127AT All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 6 — 11 July 2013 19 of 86
NXP Semiconductors
PCF2127AT
Integrated RTC, TCXO and quartz crystal
8.6.1 Battery switch-over function
The PCF2127AT has a backup battery switch-over circuit which monitors the main power
supply V
DD
. When a power failure condition is detected, it automatically switches to the
backup battery.
One of two operation modes can be selected:
Standard mode: the power failure condition happens when:
V
DD
< V
BAT
AND V
DD
<V
th(sw)bat
V
th(sw)bat
is the battery switch threshold voltage. Typical value is 2.5 V. The battery
switch-over in standard mode works only for V
DD
> 2.5 V.
Direct switching mode: the power failure condition happens when V
DD
< V
BAT
.
Direct switching from V
DD
to V
BAT
without requiring V
DD
to drop below V
th(sw)bat
When a power failure condition occurs and the power supply switches to the battery, the
following sequence occurs:
1. The battery switch flag BF (register Control_3) is set logic 1.
2. An interrupt is generated if the control bit BIE (register Control_3) is enabled
(see Section 8.13.7
).
3. If the control bit BTSE (register Control_3) is logic 1, the timestamp registers store the
time and date when the battery switch occurred (see Section 8.12.4
).
4. The battery switch flag BF is cleared by command; it must be cleared to clear the
interrupt.
The interface is disabled in battery backup operation:
Interface inputs are not recognized, preventing extraneous data being written to the
device
Interface outputs are high-impedance