RX8111CE
Page
−
36
ETM61E-01
14.7. Battery backup switchover function
14.7.1. Description of Battery
backup switchover function
There are three kinds of detection, switchover functions.
1) V
DD
voltage detection (VDET) comparison between V
DD
voltage and V
DET1
(INIEN register control)
2) V
BAT
recharge detection (VCMP) comparison between V
BAT
voltage and V
DD
voltage (CHGEN register control).
3) V
BAT
voltage detection (VLOW) comparison between V
BAT
voltage and V
LOW
voltage (EVLOW register control)
V
DD
voltage detection and V
BAT
recharge detection are shown in Figure 31 and Figure 32.
The detection, switchover function is composed from diodes ,switch and comparator between V
DD
and V
BAT
.
The RTCs backup function is built in a way to prevent reverse current flow from V
BAT
to V
DD
.
There are two kinds of operation modes:
1) Normal mode power supply from V
DD
2) Backup mode power supply from V
BAT
In backup mode FOUT pin becomes Hi-Z, I
2
C input enable (SDA, SCL: Hi-Z).
VLF detection (
VLF bi”0”
→
“1
)
makes battery backup switchover related register to default.
Figure 26 Battery Backup switchover function block diagram
14.7.2. Battery backup switchover related register
Table 44 Battery backup switchover related register
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
32h
Power Switch Control
CHGEN
INIEN
z
z
SWSEL1 SWSEL0 SMPT1
SMPT0
1) CHGEN bit (Charge Enable)
SW (V
BAT
pin
-
V
OUT
pin) automatic control
Table 45 CHGEN bit (Charge Enable)
CHGEN
Data
Description
Write / Read
0
MOS SW: OFF (Default setting) Recharge inactive
1
MOS SW: automatic control Recharge active
To set CHGEN active User should set INIEN
to “1”.
2) INIEN bit (Initial Enable)
By setting INIEN to “1” automatic MOS SW control works and CHGEN bit control becomes available
When INIEN bit
is “1”, I
2
C bus active/inactive control is available based on comparison result V
DD
and V
DET1
.
Table 46 INIEN bit (Initial Enable)
INIEN
Data
Description
Write / Read
0
MOS SW control inactive
(Default setting)
1
CHGEN bit setting become active.
V
DD
voltage low detection makes I
2
C bus inactive and SDA,SCL become Hi-
Z.
3) INIEN bit (Initial Enable)
This bit is used for enabling/disabling VLOW function as well as for controlling time stamp operation.
(Please refer to 14.8.6 for the detail)
Battery Backup Switchover control (Initial power on)