RX230 Group, RX231 Group
A system flowchart of the sample program is shown below.
Battery backup power
supply voltage drop
(< 1.8 V) detected
R01AN4831EJ0100 Rev.1.00
Aug.20.19
Initial Settings and Usage Procedure of RTC Battery Backup Function
VCC on
Initialize LCD
VBATRLVDETF == 2?
Yes
Initialize sub clock oscillator, RTC
setting and switch count
Clear VBATRLVDETF bit to 0
Display RTC information on LCD
if VCC drops
below 3.1V
Vdet1 interrupt
Save data to flash
Return
Figure 1.2 System Flowchart
Check whether battery voltage
has dropped below 1.8V
No
If VBATT voltage drops
(below 2.2V) detected
VBATT interrupt
Display voltage drop alert
Return
Page 6 of 23
Need help?
Do you have a question about the RX230 Series and is the answer not in the manual?
Questions and answers