X1203
Characteristics subject to change without notice.
2 of 20
PIN CONFIGURATION
PIN DESCRIPTIONS
Serial Clock (SCL)
The SCL input is used to clock all data into and out of
the device. The input buffer on this pin is always active
(not gated).
Serial Data (SDA)
SDA is a bidirectional pin used to transfer data into and
out of the device. It has an open drain output and may
be wire ORed with other open drain or open collector
outputs. The input buffer is always active (not gated).
An open drain output requires the use of a pull-up
resistor. The output circuitry controls the fall time of the
output signal with the use of a slope controlled pull-
down. The circuit is designed for 400kHz 2-wire inter-
face speeds.
V
This input provides a backup supply voltage to the
device. V
BACK
supplies power to the device in the
event the V
CC
supply fails.
BACK
Interrupt Output - IRQ
This is an interrupt signal output. This signal notifies a
host processor that alarm has occured and requests
action. It is an open drain active LOW output.
X1, X2
The X1 and X2 pins are the input and output, respec-
tively, of an inverting amplifier that can accept an external
32.768KHz sqare wave reference on X1 or can be con-
figured for use as an on-chip oscillator. A 32.768kHz
quartz crystal is used with the on-chip oscillator. Rec-
ommended crystals are Seiko VT-200 or Epson C-
002RX. The crystal supplies a timebase for a clock/
oscillar, see figure 1. Using an external timebase, the
internal clock is driven by the external signal on X1,
with X2 left unconnected.
Figure 1. Recommended Crystal Connection
POWER CONTROL OPERRATION
The Power control circuit accepts a V
input. The power control circuit will switch to V
when V
CC
< V
BACK
- 0.2V. It will switch back to V
when V
CC
exceeds V
BACK
CC
and a V
BACK
BACK
CC
.
Figure 2. Power Control
REAL TIME CLOCK OPERATION
The Real Time Clock (RTC) uses an external 32.768KHz
quartz crystal network or timebase to maintain an
accurate internal representation of the year, month,
day, date, hour, minute, and seconds. The RTC has
leap-year correction and a century byte. The clock will
also correct for months having fewer than 31 days and
will have a bit that controls 24 hour or AM/PM format.
After power up, when both V
clock will not advance unless at least one byte is written
to the RTC register.
CC
and V
BACK
fail, the
Reading the Real Time Clock
The RTC is read by initiating a read command and
specifying the address corresponding to the register of
the real time clock. the rtc registers can then be read
X1203
X1
X2
V
BACK
V
CC
IRQ
SCL
SDA
V
SS
1
2
3
4
7
6
5
8
8 Pin TSSOP
X1203
8 Pin SOIC
X1
X2
V
BACK
SCL
SDA
V
CC
IRQ
V
SS
1
2
3
4
7
6
5
8
X1
X2
43pF
18pF
220K
10M
V
BACK
V
CC
= V
BACK
-0.2V
Internal
Voltage
V
CC