X1202
Characteristics subject to change without notice.
2 of 23
REV 1.1.8 5/17/01
www.xicor.com
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
RESET Output—RESET
This is a reset signal output. This signal notifies a host
processor that the watchdog time period has expired or
that the supply voltage V
CC
V
TRIP
threshold. It is an open drain active LOW output.
has dropped below a fixed
X1, X2
The X1 and X2 pins are the input and output,
respectively, of an inverting amplifier that can be
configured for use as an on-chip oscillator. A
32.768kHz quartz crystal is used. Recommended crystal
is a Citizen CFS-206. The crystal supplies a timebase for
a clock/oscillator. The internal clock can be driven by an
external signal on X1, with X2 left unconnected.
Figure 1. Recommended Crystal Connection
POWER CONTROL OPERATION
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 to maintain an accurate inter-
nal representation of the year, month, day, date, hour,
minute, and seconds. The RTC has leap-year correc-
tion and century byte. The clock also corrects for
months having fewer than 31 days and has a bit that
controls 24-hour or AM/PM format. When the X1202
powers up after the loss of both V
clock will not increment until at least one byte is written
to the clock register.
CC
and V
BACK
, 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 in a Sequential Read Mode. Since the clock runs
continuously and a read takes a finite amount of time,
there is the possibility that the clock could change dur-
ing the course of a read operation. In this device, the
X1202
X1
X2
V
BACK
V
CC
RESET
SCL
SDA
V
SS
1
2
3
4
7
6
5
8
8-Pin TSSOP
X1202
8-Pin SOIC
X1
X2
V
BACK
SCL
SDA
V
CC
RESET
V
SS
1
2
3
4
7
6
5
8
X1
X2
68pF
12pF
360K
10M
V
BACK
V
CC
= V
BACK
-0.2V
Internal
Voltage
V
CC