Real-Time Clock
5/DS12C87A
Detailed Description
Table 1. Crystal Specifications*
The DS12885 family of RTCs provide 14 bytes of real-
time clock/calendar, alarm, and control/status registers
and 114 bytes (113 bytes for DS12C887 and
DS12C887A) of nonvolatile, battery-backed static RAM.
A time-of-day alarm, three maskable interrupts with a
common interrupt output, and a programmable square-
wave output are available. The devices also operate in
either 24-hour or 12-hour format with an AM/PM indica-
tor. A precision temperature-compensated circuit moni-
PARAMETER
SYMBOL MIN
TYP
MAX UNITS
Nominal
Frequency
f
32.768
kHz
O
Series
Resistance
ESR
50
kΩ
Load
Capacitance
C
6
pF
L
tors the status of V . If a primary power-supply failure
CC
*The crystal, traces, and crystal input pins should be isolated
from RF generating signals. Refer to Application Note 58:
Crystal Considerations for Dallas Real-Time Clocks for
additional specifications.
is detected, the devices automatically switch to a back-
up supply. The backup supply input supports a primary
battery, such as lithium coin cell. The devices are
accessed through a multiplexed address/data bus that
supports Intel and Motorola modes.
Oscillator Circuit
The DS12885 uses an external 32.768kHz crystal. The
oscillator circuit does not require any external resistors
or capacitors to operate. Table 1 specifies several crys-
tal parameters for the external crystal. Figure 1 shows a
functional schematic of the oscillator circuit. An enable
bit in the control register controls the oscillator.
Oscillator startup times are highly dependent upon
crystal characteristics, PC board leakage, and layout.
High ESR and excessive capacitive loads are the major
contributors to long startup times. A circuit using a
crystal with the recommended characteristics and
proper layout usually starts within one second.
COUNTDOWN
CHAIN
C 1
L
C 2
L
RTC REGISTERS
DS12885
X1
X2
An external 32.768kHz oscillator can also drive the
DS12885. In this configuration, the X1 pin is connected
to the external oscillator signal and the X2 pin is floated.
CRYSTAL
Figure 1. Oscillator Circuit Showing Internal Bias Network
____________________________________________________________________ 11