
REAL-TIME CLOCK
S-3511A
Rev. 1.4_00
18
Seiko Instruments Inc.
4. Processing of none-existent data and end-of-month
When writing real-time data, validate it and treat any invalid data and end-of-month correction.
[None-existent data processing]
Table 11
Register
Normal data
Error data
Result
Year data
00 to 99
XA to XF, AX to FX
00
Month data
01 to 12
00, 13 to 19, XA to XF
01
Day data
01 to 31
00, 32 to 39, XA to XF
01
Day of week data
0 to 6
7
0
Hour data
*1 (24-hour)
(12-hour)
0 to 23
0 to 11
24 to 29, 3X, XA to XF
12 to 19, XA to XF
00
Minute data
00 to 59
60 to 79, XA to XF
00
Second data
*2
00 to 59
60 to 79, XA to XF
00
*1.
For 12-hour expression, write the AM/PM flag.
The AM/PM flag is ignored in 24-hour expression, but "0" for 0 to 11 o'clock and "1" for
12 to 23 o'clock are read in a read operation.
*2.
None-existent data processing for second data is performed by a carry pulse one
second after the end of writing. At this point, the carry pulse is sent to the minute
counter.
[End-of-month correction]
Any none-existent day is corrected to the first day of the next month. For example, February 30 is
changed to March 1. Leap-year correction is also performed here.
5. Interrupt
There are five types of output format from the INT pin, which are selected by the INTAE, INTME and
INTFE bits of the status register.
(1) Alarm interrupt output
Alarm interrupt is enabled by setting hour and minute data to the INT register and turning the
status register's INTAE to "1" and INTME and INTFE to "0". When set hour data is met, low is
output from the INT pin. Since the output is held, rewrite INTAE of the status register to "0"
through serial communication to turn the output to high (OFF state). The coincidence signal
retains for one minute. Pay attention that the “L” signal is output from the INT pin once again
when disable or enable communication is executed during this one-minute period.
(2) Selected frequency steady interrupt output
When you set frequency/duty data to the INT register and turn the status register's INTME to
"0" and INTFE to "1", clock set at the INT register is output from the INT pin.
(3) Per-minute edge interrupt output
When a first minute carry is performed after the status register's INTME is set with "1" and
INTFE with "0", low is output from the INT pin. Since the output is held, rewrite INTAE, INTME
and INTFE of the status register through serial communication. When you perform disable or
enable communication while the minute carry processing signal is being retained (for 10 ms), "L"
signal is output from the INT pin again.
DISCONTINUED
PRODUCT