DS12885, DS12885Q, DS12885T
Real Time Clock
DS12885, DS12885Q, DS12885T
022798 1/6
FEATURES
•Drop–in replacement for IBM AT computer clock/ca-
lendar
•Pin configuration closely matches MC146818B and
DS1285
•Counts seconds, minutes, hours, days, day of the
week, date, month, and year with leap year compen-
sation valid up to 2100
•Binary or BCD representation of time, calendar, and
alarm
•12– or 24–hour clock with AM and PM in 12–hour
mode
•Daylight Savings Time option
•Selectable between Motorola and Intel bus timing
•Multiplex bus for pin efficiency
•Interfaced with software as 128 RAM locations
- 14 bytes of clock and control registers
- 114 bytes of general purpose RAM
•Programmable square wave output signal
•Bus compatible interrupt signals (IRQ)
•Three interrupts are separately software–maskable
and testable
- T ime–of–day alarm once/second to once/day
- Periodic rates from 122 µs to 500 ms
- End of clock update cycle
•Optional 28–pin PLCC surface mount package or
32–pin TQFP
•Optional industrial temperature range available
DESCRIPTION
The DS12885 Real Time Clock plus RAM is designed to
be a direct replacement for the DS1285. The DS12885
is identical in form, fit, and function to the DS1285, and
has an additional 64 bytes of general purpose RAM. Ac-
cess to this additional RAM space is determined by the
logic level presented on AD6 during the address portion
of an access cycle. An external crystal and battery are
the only components required to maintain time–of–day
and memory status in the absence of power. For a com-
plete description of operating conditions, electrical
characteristics, bus timing, and pin descriptions other
than X1, X2, VBAT, and RCLR, see the DS12887 data
sheet.
PIN ASSIGNMENT
RESET
IRQ
VBAT
RCLR
DS12885 24–PIN DIP
VCC
SQW
NC
RCLR
VBAT
IRQ
RESET
DS
GND
R/W
AS
CS
MOT
X1
X2
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
GND
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
4321 RCLR
VBAT
IRQ
RESET
DS
GND
R/W
28 27 26
25
24
23
22
21
20
19
DS12885Q
28–PIN PLCC
X1
MOT
NC
VCC
SQW
NC
X2AD6
AD7
GND
CS
AS
NC
12 13 14 1516 17 18
AD0
AD1
AD2
AD3
AD4
AD5
NC
5
6
7
8
9
10
11
NC
DS12885S 24–PIN SOIC
NC
NC
DS
GND
AD0
AD1
AD2
NC
AD3
NC
AD4
AD5
AD6
NC
AD7
GND
CS
AS
NC
R/W
NC
X2
X1
MOT
VCC
NC
SQW
NC
DS12885T
32–PIN TQFP
1
2
3
4
5
6
7
8
24
23
22
21
20
19
18
17
9 101112131415 16
32 31 30 29 28 27 26 25