background image

General Description

The DS3232 is a low-cost temperature-compensated
crystal oscillator (TCXO) with a very accurate, tempera-
ture-compensated, integrated real-time clock (RTC) and
236 bytes of battery-backed SRAM. Additionally, the
DS3232 incorporates a battery input and maintains accu-
rate timekeeping when main power to the device is inter-
rupted. The integration of the crystal resonator enhances
the long-term accuracy of the device as well as reduces
the piece-part count in a manufacturing line. The DS3232
is available in commercial and industrial temperature
ranges, and is offered in an industry-standard 20-pin,
300-mil SO package.

The RTC maintains seconds, minutes, hours, day, date,
month, and year information. The date at the end of the
month 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. Two programmable time-of-

day alarms and a programmable square-wave output
are provided. Address and data are transferred serially
through an I

2

C bidirectional bus.

A precision temperature-compensated voltage refer-
ence and comparator circuit monitors the status of V

CC

to detect power failures, to provide a reset output, and
to automatically switch to the backup supply when nec-
essary. Additionally, the 

RST

pin is monitored as a

pushbutton input for generating a µP reset.

Applications

Servers

Utility Power Meters

Telematics

GPS

Features

Accuracy ±2ppm from 0°C to +40°C

Accuracy ±3.5ppm from -40°C to +85°C

Battery Backup Input for Continuous

Timekeeping

Operating Temperature Ranges

Commercial: 0°C to +70°C

Industrial: -40°C to +85°C

236 Bytes of Battery-Backed SRAM

Low-Power Consumption

Real-Time Clock Counts Seconds, Minutes,

Hours, Day, Date, Month, and Year with Leap Year

Compensation Valid Up to 2099

Two Time-of-Day Alarms

Programmable Square-Wave Output

Fast (400kHz) I

2

C Interface

3.3V Operation

Digital Temp Sensor Output: ±3°C Accuracy

Register for Aging Trim

RST

Input/Output

300-Mil, 20-Pin SO Package

Underwriters Laboratories Recognized

DS3232

Extremely Accurate I

2

C RTC with 

Integrated Crystal and SRAM

______________________________________________

Maxim Integrated Products

1

19-5337; Rev 5; 7/10

For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.

Ordering Information

PART TEMP 

RANGE 

PIN-
PACKAGE 

TOP  

MARK 

DS3232S# 

   0°C to +70°C 

20 SO 

DS3232 

DS3232SN# 

-40°C to +85°C 

20 SO 

DS3232N 

DS3232

V

CC

SCL

R

PU

R

PU 

= t

/ C

B

R

PU

INT/SQW

32kHz

V

BAT

PUSH-

BUTTON

RESET

SDA

RST

N.C.

N.C.
N.C.
N.C.

V

CC

V

CC

GND

V

CC

μ

P

N.C.
N.C.

N.C.

N.C.
N.C.

N.C.
N.C.

SCL

RST

SDA

Typical Operating Circuit

#

Denotes a RoHS-compliant device that may include lead that

is exempt under the RoHS requirements. Lead finish is JESD97
Category e3, and is compatible with both lead-based and
lead-free soldering processes. A "#" anywhere on the top mark
denotes a RoHS-compliant device.

TOP VIEW

20

19

18

17

16

15

14

13

1

2

3

4

5

6

7

8

SCL

N.C.

SCL

SDA

V

CC

32kHz

N.C.

N.C.

V

BAT

GND

N.C.

N.C.

N.C.

N.C.

RST

INT/SQW

12

11

9

10

N.C.

N.C.

N.C.

N.C.

SO

DS3232

Pin Configuration

Summary of Contents for Maxim DS3232 Series

Page 1: ...atures Accuracy 2ppm from 0 C to 40 C Accuracy 3 5ppm from 40 C to 85 C Battery Backup Input for Continuous Timekeeping Operating Temperature Ranges Commercial 0 C to 70 C Industrial 40 C to 85 C 236...

Page 2: ...ard Layout and Assembly section PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS VCC 2 3 3 3 5 5 Supply Voltage VBAT 2 3 3 0 5 5 V Logic 1 Input SDA SCL VIH 0 7 x VCC VCC 0 3 V Logic 0 Input SDA SCL VIL...

Page 3: ...63 31 69 0 C to 40 C 2 2 Frequency Stability vs Temperature f fOUT VCC 3 3V or VBAT 3 3V 40 C to 0 C and 40 C to 85 C 3 5 3 5 ppm Frequency Stability vs Voltage f V VCC 3 3V or VBAT 3 3V 1 ppm V 40 C...

Page 4: ...de 100 Data Setup Time Note 10 tSU DAT Standard mode 250 ns Fast mode 0 6 Start Setup Time tSU STA Standard mode 4 7 s Fast mode 300 Rise Time of Both SDA and SCL Signals Note 11 tR Standard mode 20 0...

Page 5: ...te I2C RTC with Integrated Crystal and SRAM _____________________________________________________________________ 5 Pushbutton Reset Timing tRST PBDB RST Power Switch Timing VCC VPF MAX RST VPF MIN tV...

Page 6: ...of the falling edge of SCL Note 9 The maximum tHD DAT needs only to be met if the device does not stretch the low period tLOW of the SCL signal Note 10 A fast mode device can be used in a standard mod...

Page 7: ...DS3232 toc03 TEMPERATURE C SUPPLY CURRENT A 80 60 40 20 0 20 0 700 0 800 0 900 0 600 40 VCC 0V BB32kHz 0 VBAT 3 4V VBAT 3 0V FREQUENCY DEVIATION vs TEMPERATURE vs AGING DS3232 toc04 TEMPERATURE C FREQ...

Page 8: ...and accurate reference clock and maintains the RTC to within 2 minutes per year accu racy from 40 C to 85 C The TCXO frequency output is available at the 32kHz pin The RTC is a low power clock calend...

Page 9: ...t When using the device with the VBAT input as the primary power source this pin should be decoupled using a 0 1 F to 1 0 F low leakage capacitor When using the device with the VBAT input as the backu...

Page 10: ...ising edge Upon detecting release the DS3232 forces the RST pin low and holds it low for tRST The same pin RST is used to indicate a power fail con dition When VCC is lower than VPF an internal power...

Page 11: ...RAM ____________________________________________________________________ 11 Figure 1 Address Map for DS3232 Timekeeping Registers and SRAM Note Unless otherwise specified the registers state is not de...

Page 12: ...ch of the time of day date alarm registers are mask bits Table 2 When all the mask bits for each alarm are logic 0 an alarm only occurs when the values in the timekeeping registers match the correspon...

Page 13: ...e bits control the frequency of the square wave output when the square wave has been enabled The following table shows the square wave frequencies that can be select ed with the RS bits These bits are...

Page 14: ...Output EN32kHz This bit indi cates the status of the 32kHz pin When set to logic 1 the 32kHz pin is enabled and outputs a 32 768kHz square wave signal When set to logic 0 the 32kHz pin goes low The in...

Page 15: ...s section for a graph showing the effect of the register on accu racy over temperature Temperature Registers 11h 12h Temperature is represented as a 10 bit code with a res olution of 0 25 C and is acc...

Page 16: ...clock signal The data on the line must be changed during the low period of the clock signal There is one clock pulse per bit of data Each data transfer is initiated with a START condition and terminat...

Page 17: ...___________________________________________________ 17 A XXXXXXXX A 1101000 S 0 XXXXXXXX A XXXXXXXX A XXXXXXXX A P R W WORD ADDRESS n DATA n DATA n 1 DATA n X S START A ACKNOWLEDGE ACK P STOP R W READ...

Page 18: ...are after reception of the slave address and direction bit The slave address byte is the first byte received after the master generates a START condition The slave address byte contains the 7 bit DS32...

Page 19: ...ower is applied and the oscillator is disabled 9 Added a paragraph to the Pushbutton Reset Function section about how the RST output operation does not affect the device s internal operation 10 3 10 0...

Reviews: