Rainbow Electronics DS1302 User Manual
Ds1302 trickle charge timekeeping chip, Features, Ordering information

1 of 15
092801
FEATURES
§ Real-time clock (RTC) counts seconds,
minutes hours, date of the month, month, day
of the week, and year with leap-year
compensation valid up to 2100
§ 31-byte, battery-backed, nonvolatile (NV)
RAM for data storage
§ Serial I/O for minimum pin count
§ 2.0V to 5.5V full operation
§ Uses less than 300nA at 2.0V
§ Burst mode for reading/writing successive
addresses in clock/RAM
§ 8-pin DIP or optional 8-pin SOICs for surface
mount
§ Simple 3-wire interface
§ TTL-compatible (V
CC
= 5V)
§ Optional industrial temperature range:
-40°C to +85°C
§ DS1202 compatible
§ Underwriters Laboratory (UL) recognized
ORDERING INFORMATION
DS1302
8-Pin DIP (300-mil)
DS1302N
8-Pin DIP (Industrial)
DS1302S
8-Pin SOIC (200-mil)
DS1302SN
8-Pin SOIC (Industrial)
DS1302Z
8-Pin SOIC (150-mil)
DS1302ZN
8-Pin SOIC (Industrial)
DS1302S-16
16-Pin SOIC (300-mil)
DS1302SN-16
16-Pin SOIC (Industrial)
PIN ASSIGNMENT
PIN DESCRIPTION
X1, X2
- 32.768kHz Crystal Pins
GND -
Ground
RST
-
Reset
I/O -
Data
Input/Output
SCLK
- Serial Clock
V
CC1
, V
CC2
- Power Supply Pins
DESCRIPTION
The DS1302 Trickle Charge Timekeeping Chip contains an RTC/calendar and 31 bytes of static RAM. It
communicates with a microprocessor via a simple serial interface. The RTC/calendar provides seconds,
minutes, hours, day, date, month, and year information. The end of the month date is automatically
adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in
either the 24-hour or 12-hour format with an AM/PM indicator.
DS1302
Trickle Charge Timekeeping Chip
www.maxim-ic.com
V
CC2
X1
X2
GND
V
CC1
SCLK
I/O
RST
8
7
6
5
1
2
3
4
DS1302 8-Pin DIP (300-mil)
V
CC2
X1
X2
GND
V
CC1
SCLK
I/O
RST
8
7
6
5
1
2
3
4
DS1302 8-Pin SOIC (200-mil)
DS1302 8-Pin SOIC (150-mil)
SCLK
DS1302 16-Pin SOIC (300-mil)
V
CC1
NC
NC
I/O
NC
NC
NC
RST
V
CC2
NC
X1
NC
X2
NC
GND
1
2
3
4
5
6
8
7
16
15
14
13
12
11
9
10