RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
13.4
Operation
A usage example of this module is shown below.
13.4.1
Initial Settings of Registers after Power-On and Oscillation Stabilization Time
All the registers should be initialized after the power is turned on. When the RTC_X1 crystal oscillator is used,
oscillation stabilization time is necessary after changing the RTCEN bit in RCR2 from 0 to 1. During oscillation
stabilization time, various configurations for or operation of the real time clock must not be performed. For details on
oscillation stabilization time, refer to section 47, Electrical Characteristics.
13.4.2
Setting Time
Figure 13.2 shows how to set the time when the clock is stopped.
Figure 13.2
Setting Time
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Stop clock,
Write 0 to START and 1 to RESET in the RCR2 register.
select input clock,
When EXTAL and RTC_X1 are selected for input clock, set
reset divider circuit
also RCR5 and RFRH/L.
Set seconds, minutes,
hour, day, day of the
Order is irrelevant
week, month, and year
Start clock
Write 1 to START in the RCR2 register
13. Realtime Clock
13-16