DS12885/DS12887/DS12887A/DS12C887/DS12C887A
Real-Time Clocks
_____________________________________________________________________
7
Typical Operating Characteristics
(V
CC
= +5.0V, T
A
= +25°C, unless otherwise noted.)
OSCILLATOR FREQUENCY
vs. V
CC
DS12885 toc02
V
CC
(V)
FREQUENCY (Hz)
5.3
5.04.8
32768.10
32768.20
32768.30
32768.40
32768.50
32768.60
32768.70
32768.00
4.5 5.5
I
BAT1
vs. V
BAT
vs. TEMPERATURE
DS12885 toc01
V
BAT
(V)
I
BAT
(nA)
3.82.8
3.0
3.3
3.5
200
300
250
150
2.5
4.0
V
CC
= 0V
+85°C
+25°C
0°C
-40°C
+70°C
+40°C
POWER
CONTROL
GND
OSC
BUS
INTERFACE
V
CC
X1
X2
RESET
CS
DS
AS
R/W
MOT
AD0–AD7
DIVIDE
BY 8
DIVIDE
BY 64
DIVIDE
BY 64
16:1 MUX
SQUARE-
WAVE
GENERATOR
REGISTERS A, B, C, D
CLOCK/CALENDAR AND
ALARM REGISTERS
USER RAM
114 BYTES
CLOCK/CALENDAR
UPDATE LOGIC
IRQ
SQW
IRQ
GENERATOR
BUFFERED CLOCK/
CALENDAR AND ALARM
REGISTERS
V
BAT
RLCR
DS12885
Functional Diagram
DS12885/DS12887/DS12887A/DS12C887/DS12C887A
Real-Time Clocks
8 _____________________________________________________________________
Pin Description
PIN
SO,
PDIP
EDIP PLCC TQFP
NAME FUNCTION
1 1 2 29 MOT
Motorola or Intel Bus Timing Selector. This pin selects one of two bus types. When
connected to V
CC
, Motorola bus timing is selected. When connected to GND or
left disconnected, Intel bus timing is selected. The pin has an internal pulldown
resistor.
2—3 30X1
3—4 31X2
Connections for Standard 32.768kHz Quartz Crystal. The internal oscillator
circuitry is designed for operation with a crystal having a 6pF specified load
capacitance (C
L
). Pin X1 is the input to the oscillator and can optionally be
connected to an external 32.768kHz oscillator. The output of the internal oscillator,
pin X2, is left unconnected if an external oscillator is connected to pin X1.
4–11 4–11
5–10,
12, 14
1, 2, 3,
5, 7, 8,
9, 11
AD0–
AD7
Multiplexed, Bidirectional Address/Data Bus. The addresses are presented during
the first portion of the bus cycle and latched into the device by the falling edge of
AS. Write data is latched by the falling edge of DS (Motorola timing) or the rising
edge of R/W (Intel timing). In a read cycle, the device outputs data during the
latter portion of DS (DS and R/W high for Motorola timing, DS low and R/W high for
Intel timing). The read cycle is terminated and the bus returns to a high-
impedance state as DS transitions low in the case of Motorola timing or as DS
transitions high in the case of Intel timing.
12, 16 12 15, 20 12, 17 GND Ground
13 13 16 13 CS
Active-Low Chip-Select Input. The chip-select signal must be asserted low for a
bus cycle in the device to be accessed. CS must be kept in the active state during
DS and AS for Motorola timing and during DS and R/W for Intel timing. Bus cycles
that take place without asserting CS will latch addresses, but no access occurs.
When V
CC
is below V
PF
volts, the device inhibits access by internally disabling the
CS input. This action protects the RTC data and the RAM data during power
outages.
14 14 17 14 AS
Address Strobe Input. A positive-going address-strobe pulse serves to
demultiplex the bus. The falling edge of AS causes the address to be latched
within the device. The next rising edge that occurs on the AS bus clears the
address regardless of whether CS is asserted. An address strobe must
immediately precede each write or read access. If a write or read is performed
with CS deasserted, another address strobe must be performed prior to a read or
write access with CS asserted.
15 15 19 16 R/W
Read/Write Input. The R/W pin has two modes of operation. When the MOT pin is
connected to V
CC
for Motorola timing, R/W is at a level that indicates whether the
current cycle is a read or write. A read cycle is indicated with a high level on R/W
while DS is high. A write cycle is indicated when R/W is low during DS. When the
MOT pin is connected to GND for Intel timing, the R/W signal is an active-low
signal. In this mode, the R/W pin operates in a similar fashion as the write-enable
signal (WE) on generic RAMs. Data are latched on the rising edge of the signal.
DS12885/DS12887/DS12887A/DS12C887/DS12C887A
Pin Description (continued)
PIN
SO,
PDIP
EDIP PLCC TQFP
NAME FUNCTION
22
2, 3,
16, 20,
21, 22
1, 11,
13, 18,
26
4, 6, 10,
15, 20,
23, 25,
27, 32
N.C.
No Connection. This pin should remain unconnected. Pin 21 is RCLR for the
DS12887A/DS12C887A. On the EDIP, these pins are missing by design.
17 17 21 18 DS
D ata S tr ob e or Read Inp ut. The D S p i n has tw o m od es of op er ati on d ep end i ng on
the l evel of the M O T p i n. W hen the M O T p i n i s connected to V
C C
, M otor ol a b us
ti m i ng i s sel ected . In thi s m od e, D S i s a p osi ti ve p ul se d ur i ng the l atter p or ti on of the
b us cycl e and i s cal l ed d ata str ob e. D ur i ng r ead cycl es, D S si g ni fi es the ti m e that the
device i s to d r i ve the b i d i r ecti onal b us. In w r i te cycl es, the tr ai l i ng ed g e of D S causes
the device to l atch the w r i tten d ata. W hen the M O T p i n i s connected to GN D , Intel
b
us ti m i ng i s sel ected . D S i d enti fi es the ti m e p er i od w hen the device d r i ves the b us
w i th r ead d ata. In thi s m od e, the D S p i n op er ates i n a si m i l ar fashi on as the outp ut-
enab l e ( O E ) si g nal on a g ener i c RAM .
18 18 22 19 RESET
Active-Low Reset Input. The RESET pin has no effect on the clock, calendar, or
RAM. On power-up, the RESET pin can be held low for a time to allow the power
supply to stabilize. The amount of time that RESET is held low is dependent on the
application. However, if RESET is used on power-up, the time RESET is low should
exceed 200ms to ensure that the internal timer that controls the device on power-
up has timed out. When RESET is low and V
CC
is above V
PF
, the following occurs:
A. Periodic interrupt-enable (PIE) bit is cleared to 0.
B. Alarm interrupt-enable (AIE) bit is cleared to 0.
C. Update-ended interrupt-enable (UIE) bit is cleared to 0.
D. Periodic-interrupt flag (PF) bit is cleared to 0.
E. Alarm-interrupt flag (AF) bit is cleared to 0.
F. Update-ended interrupt flag (UF) bit is cleared to 0.
G. Interrupt-request status flag (IRQF) bit is cleared to 0.
H. IRQ pin is in the high-impedance state.
I. The device is not accessible until RESET is returned high.
J. Square-wave output-enable (SQWE) bit is cleared to 0.
In a typical application, RESET can be connected to V
CC
. This connection allows
the device to go in and out of power fail without affecting any of the control
registers.
Real-Time Clocks
_____________________________________________________________________ 9

DS12885T+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock RTC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union