RTC – 4553AC
Page - 14
MQ - 342 - 01
(3) Time/calendar modify example using
counter reset (8:00
→
2:00)
(4) RAM write example
NO
MS
0
="0", MS
1
="0"
END
( 0
→
1
→
2 )
( 8
→
0 )
YES
BUSY = 0?
Increment 1-hour digit
(2 times)
CNTR
←
0
Write hour digit
CNTR
←
1
START
Write to RAM in MODE 1
START
END
Write to RAM in MODE 1
MS
0
←
1
MS
1
←
1
MS
0
←
0
MS
1
←
1
Set MODE 2
Set MODE 1
Note 1
If processing is not completed within 3.8 ms, check the BUSY bit again.
Note 2
Reset (CNTR
←
"1") applies to the digits for which writing was performed [1-hour digit and 10-hour
digit in example (3)]. Consequently, to change the setting from 11:00 to 2:00, the hour digit must be
reset (CNTR
→
"1").
For the year, CNTR is used separately for the 1-year digit and 10-year digit. Performing CNTR on the
1-year digit does not change the 10-year digit. Conversely, performing CNTR on the 10-year digit does
not change the 1-year digit.
(5) Time/calendar read example
(6) RAM read example
END
YES
YES
PONC=0?
NO
NO
BUSY = 0?
Read time/calendar
START
If BUSY = "0", there will
be no carry for at least
3.8 ms.
If PONC = "1", initialization was
carried out and data must be set
again
MS
0
←
0
MS
1
←
0
Read MODE 2 RAM
Read MODE 1 RAM
END
Set MODE 2
Set MODE 1
MS
0
←
0
MS
1
←
1
MS
0
←
1
MS
1
←
1
YES
PONC=0?
NO
START
If PONC = "1", initialization was
carried out and data must be set
again
MS
0
←
0
MS
1
←
0
electronic components distributor