R
A3024
Reading the Clock
[Pin 7 = A/D]
A/D = 0
Setting the Timer ( Time Set Lock Bit = 0)
[Pin 7 = A/D]
A/D = 0
A/D = 1
A/D = 0
A/D = 1
A/D = 0
A/D = 1
A/D = 0
A/D = 1
A/D = 0
Start
Start
Write 1/100 sec. address (40 hex)
to the A3024
Write clock command
(addr. F1 hex) to the A3024
Write 1/100 sec. data to the RAM
Read data from the A3024 to
copy the timer parameters from
the reversed clock area to the RAM.
A data read has no significance
A/D = 1
Write sec. address (41 hex) to the
A3024
Write sec. data to the RAM
Write 1/100 sec. address (20 hex)
to the A3024
A/D = 0
A/D = 1
Write min. address (42 hex) to
the A3024
Read 1/100 sec. data from the
RAM
Write min. data to the RAM
Write sec. address (21 hex) to the
A3024
Write hours address (43 hex) to
the A3024
A/D = 0
A/D = 1
A/D = 0
A/D = 1
Read sec. data from the RAM
Write hours data to the RAM
Write min. address (22 hex) to
the A3024
Write timer command (addr. F2 hex)
to the A3024
Read min. data from the RAM
End
Write F2 hex to the A3024 to
copy the timer parameters from
RAM to the reversed timer area
A/D = 1
End
Fig. 10
Fig. 9
Note : Commands are only valid as commands when the A/D
line is low. Writing F2 hex with the A/D line high, as in the last box
of Fig. 8, serves only to activate the A3024 write pin which
determines the direction of transfer.
11