Copyright 1997 by Dallas Semiconductor Corporation.
All Rights Reserved. For important information regarding
patents and other intellectual property rights, please refer to
Dallas Semiconductor data books.
DS1283
Watchdog Timekeeper Chip
DS1283
032697 1/5
FEATURES
Keeps track of hundredths of seconds, seconds, min-
utes, hours, days, date of the month, months, and
years; valid leap year compersation up to 2100
W atchdog timer restarts an out–of–control processor
Alarm function provides notice of real time related oc-
currences
Designed for battery operation
Programmable interrupts and square wave outputs
maintain 28–pin JEDEC footprint
All registers are individually addressable via the ad-
dress and data bus
Accuracy is better than ±2 minutes/month at 25°C
50 bytes of user nonvolatile RAM
Optional 28–pin SOIC surface mount package
Low–power CMOS circuitry is maintained on less
than 1 µA in standby mode
Optional industrial temperature range –40°C to +85°C
DESCRIPTION
The DS1283 W atchdog Timekeeper Chip is a self–con-
tained real time clock, alarm, watchdog timer , and inter-
val timer in a 28–pin JEDEC DIP or 28–pin SOIC sur-
face mount package. The DS1283 is specifically
designed to maintain internal operations from a single
low voltage supply . In fact, the only two external compo-
nents required by the DS1283 are a battery and crystal.
For a complete description of operating conditions,
electrical characteristics, bus timing, and pin descrip-
tions other than X1, X2, VBAT, VCC, RCLR, INTB, and
INTP see the DS1286 Watchdog Timekeeper data
sheet.
PIN ASSIGNMENT
X1
X2
NC
A5
A4
A3
A2
A1
A0
DQ0
DQ1
DQ2
GND DQ3
DQ4
DQ5
DQ6
DQ7
SQW
VBAT
VCC
1
2
3
4
5
6
7
8
9
10
11
12
13
14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
X1
X2
NC
A5
A4
A3
A2
A1
A0
DQ0
DQ1
DQ2
GND
1
2
3
4
5
6
7
8
11
12
13
14 15
16
9
10
17
18
19
20
21
22
23
24
25
26
27
28 V
V
SQW
DQ7
DQ6
DQ5
DQ4
DQ3
CC
BAT
INTA
WE
RCLR
OE
INTP
CE
INTB(INTB)
WE
INTB(INTB)
RCLR
OE
INTP
CE
INTA
DS1283
28–PIN DIP (600 MIL)
DS1283S
28–PIN SOIC (330 MIL)
NOTE: Pin 4 must be left disconnected.
DS1283
032697 2/5
PIN DESCRIPTION
PIN # NAME I/O DESCRIPTION
1 INTA O Interrupt Output A
(open drain)
2–3 X1,X2 I 32.768 KHz Crystal
4 NC No Connection
5-10 A0-A5 I Address Inputs:
A5=Pin 5;
A0=Pin 10
11 DQ0 I/O Data Input/Output
12 DQ1 I/O Data Input/Output
13 DQ2 I/O Data Input/Output
14 GND Ground
15 DQ3 I/O Data Input/Output
16 DQ4 I/O Data Input/Output
17 DQ5 I/O Data Input/Output
18 DQ6 I/O Data Input/Output
19 DQ7 I/O Data Input/Output
20 CE I Chip Enable
21 INTP O Interrupt Output P
(open drain)
22 OE I Output Enable
23 SQW O Square Wave Output
24 RCLR I RAM Clear
25 VBAT IBattery Input
26 INTB
(INTB) O Interrupt Output B
(open drain)
27 WE I Write Enable
28 VCC I VCC Input
PIN DESCRIPTIONS
X1, X2 Connections for a standard 32.768 KHz quartz
crystal. The internal oscillator circuitry is designed for
operation with a crystal having a load capacitance (CL)
of 6 pF. The crystal is connected directly to the X1 and
X2 pins. There is no need for external capacitors or
resistors. For more information on crystal selection and
crystal layout considerations, please consult Applica-
tion Note 58, “Crystal Considerations with Dallas Real
Time Clocks.”
VBAT, VCCInputs for batteries or power supplies
between 5.5 and 2.5 volts. The VCC supply voltage
should never exceed VBAT + 0.3 volts. The VBAT input is
used to maintain all internal functions while the VCC
input is used to keep all inputs and outputs functional.
Therefore, to keep the device fully functional, VBAT and
VCC must be at the same voltage potential. As long as
the supply voltages are between 4.5 and 5.5 volts, the
timing and the input/output levels are guaranteed. In
this mode, the active current drain is 2 mA (CE=VIL) and
the standby current drain is 0.5 mA (CE=VIH). Data
retention mode occurs when the VBAT supply is
between 5.5 and 2.5 volts and the VCC supply is
grounded. In the data retention mode the current drain
is less than 1 µA maximum at 5.5 volts (CE=VBAT–0.2
volts). The current drain specifications are stated with
all outputs unloaded.
RCLR The RCLR pin is used to clear (set to logic 1) all
50 bytes of user nonvolatile RAM but does not affect the
registers involved with time, alarm, and watchdog func-
tions. In order to clear the RAM, RCLR must be forced to
an input logic 0 (–0.3 to +0.8 volts). The RCLR function
is designed to be used via human interface (shorting to
ground manually or by switch) and not to be driven with
external buffers. This pin is internally pulled up and
should be left floating when not in use.
INTB Interrupt B on the DS1283 operates identical to
interrupt B on the DS1286 except that the sink and
source current is limited to 500 µA. This pin should be
pulled up or down if not used.
INTP Interrupt P on the DS1283 was a missing or no
connection pin on the DS1286. This interrupt works in
the same manner as INT A as programmed by the IPSW
bit. However , INTP is also logically ORed with the MSB
of the date register (see Figure 1). This bit is called the
INP bit on the DS1283 and is forced to zero on the
DS1286. When the INP bit (interrupt P bit) is set to log-
ical one, interrupt P will be held active low . When INP is
set to logical zero, INTP is always at the same logic state
as INTA. This pin is an open drain capable of sinking
4 mA.
DS1283
032697 3/5
DS1283 WATCHDOG TIMEKEEPER REGISTERS Figure 1
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
3F
ADDRESS BIT 7 BIT 0 RANGE
0.1 SECONDS 0.01 SECONDS
10 SECONDS SECONDS
10 MINUTES
M MIN ALARM
12/24
HR ALARM
DAYS
DA Y ALARM
10 DATE DATE
10MO MONTHS
10 YEARS YEARS
TE IPSW IBH LO PULVL WAM TDM WAF TDF
00–99
00–59
01–12+A/P
00–23
01–07
01–31
01–12
CLOCK, CALENDAR,
TIME OF DAY ALARM
REGISTERS
COMMAND
REGISTERS
WATCHDOG
ALARM
REGISTERS
USER
REGISTERS
0
0 MINUTES
10 MIN ALARM
10 A/P HOURS
M
M
12/24 10A/P
00000
0000
0.1 SECONDS 0.01 SECONDS
10 SECONDS SECONDS
0
0
00–59
00–59
00–99
01–12+A/P
00–23
01–07
00–99
00–99
INP
THIS BIT IS FORCED
TO ZERO ON THE
DS1286
(RETRIGGERABLE/
REPETITIVE COUNTDOWN
ALARM)
0HR
HR
EOSC ESQW
DS1283
032697 4/5
DS1283 28–PIN DIP
1
C
A
B
H
J
KGE
F
DIM MIN MAX
28–PINPKG
A IN.
MM
B IN.
MM
C IN.
MM
D IN.
MM
E IN.
MM
F IN.
MM
G IN.
MM
H IN.
MM
J IN.
MM
K IN.
MM
1.445 1.470
0.530 0.550
0.140 0.160
0.600 0.625
0.015 0.040
0.120 0.145
0.090 0.110
0.625 0.675
0.008 0.012
0.015 0.022
D
DS1283
032697 5/5
DS1283 28–PIN SOIC
H
B
J
K G
C
EA
F
D
0–8 deg. typ.
DIM MIN MAX
28–PINPKG
A IN.
MM
B IN.
MM
C IN.
MM
D IN.
MM
E IN.
MM
F IN.
MM
G IN.
MM
H IN.
MM
J IN.
MM
K IN.
MM
0.706
17.93 0.728
18.49
0.338
8.58 0.350
8.89
0.086
2.18 0.110
2.79
0.020
0.58 0.050
1.27
0.002
0.05 0.014
0.36
0.090
2.29 0.124
3.15
0.460
11.68 0.480
12.19
0.006
0.15 0.013
0.33
0.014
0.36 0.020
0.51
0.050 BSC
1.27