
Real-Time Clock
S-3511A
Seiko Instruments Inc.
9
2-4. Test flag
The test flag is a one-bit register which is assigned to MSB of the second data of the real-time data register. If a transferred
data is considered as the test mode starting data due to the receiving of the test mode starting data or noises, "1" is set.
When "1" is set, you must send the test mode ending command or reset command.
3.
Initialization
Note that S-3511A has different initializing operations, depending on states.
3-1. When power is turned on
Real-time data register :
00 (year), 01 (month), 01 (day), 0 (day of week), 00 (hour), 00 (minute), 00 (second)
Status register
:
"82h"
INT register
:
"8000h"
3-2. When the power voltage detecting circuits operates
The power voltage detecting circuit included in S-3511A operates and sets "1" at the bit 7 (POWER flag) of the internal
status register when power is turned on or power voltage is reduced. Once "1" is set, it is held even after the power voltage
gets equal to or higher than the detected power voltage. When the flag has "1", you must send the reset command from
CPU and initialize the flag. At this point, other registers does not change.
However, if the POWER flag has "0" during the power-on reset of CPU (S-3511A does not reach any indefinite area during
backup), you do not have to send the reset command.
3-3. When the reset command is received
When the reset command is received, each register turns as follows:
Real-time data register :
00 (year), 01 (month), 01 (day), 0 (day of week), 00 (hour), 00 (minute), 00 (second)
Status register
:
"00h"
INT register
:
"0000h"
32KHZ
Example
If f15 to f0 = 000AH
16KHZ
8KHZ
4KHZ
2KHZ
INT terminal output
Figure 10 Clock output
Set to frequency
duty mode
When power is turned on, the status register is set to "82h" and the INT register to "8000h" by the power-on detecting
circuit. In other words, "1" is sets at the bit 7 (POWER flag) of the status register and the clock of 1HZ is output from the INT
terminal. This is provided to adjust oscillating frequencies. In normal use, the reset command must be sent when power is
turned on.