
PRELIMINARY                                                RV5C387A
12345
- 39 -
14.8. 
14.8.1. 
Typical Software-based Operations
Initialization at Power-on
Start
*1)
Yes
No
VDET=0
Warning Back-up
Battery Run-down
Set Oscillation Adjustment
Register and Control
Register 1 and 2, etc.
Power-on
*2)
*4)
*3)
XSTP=1
Yes
No
*1) After power-on from 0 volt, the start of oscillation and the process of internal initialization require a time span
on the order of 1 to 2sec, so that access should be done after the lapse of this time span or more.
*2) The XSTP bit setting of 0 in the Control Register 1 indicates power-on from backup battery and not from 0v.
The XSTP bit may fail to be set to 1 in the presence of any excessive chattering in power supply in such
events as installing backup battery.  Should there be any possibility of this failure occurring, it is
recommended to initialize Model RV5C387A RTCs regardless of the current XSTP bit setting.  For further
details, see "14.3. Oscillation Halt Sensing and Supply Voltage Monitoring".
*3) This step is not required when the supply voltage monitoring circuit is not used.
*4) This step involves ordinary initialization including the Oscillation Adjustment Register and interrupt cycle
settings, etc.
14.8.2. 
Writing of Time and Calendar Data
Write to Time Counter and
Calendar Counter
*2)
Stop Condition
*3)
Start Condition
*1)
*1) When writing to clock and calendar counters, do not insert Stop Condition
until all times from second to year have been written to prevent error in
writing time. (Detailed in "14.1.5. Data Transmission under Special
Condition".
*2) Any writing to the second counter will reset divider units lower than the
second digits.
*3) Take care so that process from Start Condition to Stop Condition will be
complete within 0.5sec.  (Detailed in "14.1.5. Data Transmission under
Special Condition".
The RV5C387A may also be initialized not at power-on but in the process
of writing time and calendar data.