Skip to main content

DS3231

Realtime Clock (RTC)

The DS3231 is a realtime clock (rtc) from Analog Devices / Maxim Integrated. View the full DS3231 datasheet below including key specifications, pinout, electrical characteristics, absolute maximum ratings.

Manufacturer

Analog Devices / Maxim Integrated

Category

Realtime Clock (RTC)

Package

16 SO

Lifecycle

Active

Key Specifications

ParameterValue
Package Type16-pin SO
Output Frequency32.768 kHz
I2c Clock Frequency0 kHz to 400 kHz
Supply Voltage Range2.3V to 5.5V
Timekeeping Accuracy±2ppm (0°C to +40°C), ±3.5ppm (-40°C to +85°C)
Communication InterfaceI2C
Active Supply Current Max300 µA (at 5.5V VCC)
Backup Supply Voltage Range2.3V to 5.5V
Timekeeping Battery Current Typ0.84 µA (at 3.63V VBAT)
Digital Temperature Sensor Accuracy±3°C
Operating Temperature Range Commercial0°C to +70°C
Operating Temperature Range Industrial-40°C to +85°C

Overview

Part: DS3231 — Maxim Integrated

Type: I2C Realtime Clock (RTC) with integrated TCXO

Description: A low-cost, extremely accurate I2C realtime clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal, featuring battery backup, two programmable alarms, and a programmable square-wave output.

Operating Conditions:

  • Supply voltage: 2.3V to 5.5V (VCC, VBAT)
  • Operating temperature: -40°C to +85°C
  • I2C clock frequency: Up to 400 kHz (Fast mode)

Absolute Maximum Ratings:

  • Max supply voltage: +6.0V (relative to ground)
  • Max junction temperature: +125°C

Key Specs:

  • Frequency Stability vs. Temperature: ±2ppm (0°C to +40°C, VCC/VBAT = 3.3V)
  • Frequency Stability vs. Temperature: ±3.5ppm (-40°C to +85°C, VCC/VBAT = 3.3V)
  • Active Supply Current (I CCA): 200 μA max (VCC = 3.63V)
  • Timekeeping Battery Current (I BATT): 3 μA max (V BAT = 3.63V)
  • Digital Temperature Sensor Accuracy: ±3°C (VCC/VBAT = 3.3V)
  • SCL Clock Frequency: 400 kHz (Fast mode)
  • Power-Fail Voltage (V PF): 2.45V min, 2.7V max
  • Output Frequency: 32.768 kHz

Features:

  • Accuracy ±2ppm from 0°C to +40°C
  • Accuracy ±3.5ppm from -40°C to +85°C
  • Battery Backup Input for Continuous Timekeeping
  • Low-Power Consumption
  • Real-Time Clock Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap Year Compensation Valid Up to 2100
  • Two Time-of-Day Alarms
  • Programmable Square-Wave Output
  • Fast (400kHz) I2C Interface
  • 3.3V Operation
  • Digital Temp Sensor Output: ±3°C Accuracy
  • Register for Aging Trim
  • RST Output/Pushbutton Reset Debounce Input
  • Underwriters Laboratories (UL) Recognized

Applications:

  • Servers
  • Utility Power Meters
  • Telematics
  • GPS

Package:

  • 16-pin, 300-mil SO package
  • 16 SO

Applications

Servers

Utility Power Meters

Telematics

GPS

Functional Diagrams

Pin Configuration appears at end of data sheet.

Functional Diagrams continued at end of data sheet.

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
  • ♦ Low-Power Consumption
  • ♦ Real-Time Clock Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap Year Compensation Valid Up to 2100
  • ♦ 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 Output/Pushbutton Reset Debounce Input
  • ♦ Underwriters Laboratories (UL) Recognized

Pin Configuration

DS3231 Pinout

Package: 16-pin, 300-mil SO

Pin NumberPin NameTypeDescription
132kHzO32kHz Output. Open-drain; requires external pullup resistor. Operates on either power supply.
2VCCPDC Power Pin for Primary Power Supply. Decouple with 0.1μF to 1.0μF capacitor.
3INT/SQWOActive-Low Interrupt or Square-Wave Output. Open-drain; requires external pullup resistor (≤5.5V). Function determined by INTCN bit in Control Register.
4RSTI/OActive-Low Reset. Open-drain input/output. Indicates VCC status relative to VPF. Includes debounced pushbutton input function. Internal 50kΩ pullup to VCC.
5N.C.No Connection. Must be connected to ground.
6N.C.No Connection. Must be connected to ground.
7N.C.No Connection. Must be connected to ground.
8N.C.No Connection. Must be connected to ground.
9N.C.No Connection. Must be connected to ground.
10N.C.No Connection. Must be connected to ground.
11N.C.No Connection. Must be connected to ground.
12N.C.No Connection. Must be connected to ground.
13GNDPGround
14VBATPBackup Power-Supply Input. Decouple with 0.1μF to 1.0μF low-leakage capacitor when used as primary source.
15SDAI/OSerial Data Input/Output. I²C interface. Open-drain; requires external pullup resistor (≤5.5V).
16SCLISerial Clock Input. I²C interface. Synchronizes data movement. Accepts up to 5.5V.

Notes

  • Pin numbers extracted directly from the provided text table (Pin column).
  • Pins 5–12 are all No Connection (N.C.) and must be connected to ground.
  • Open-drain pins (32kHz, INT/SQW, RST, SDA) require external pullup resistors; pullup voltage can reach 5.5V regardless of VCC voltage.
  • RST has an internal 50kΩ pullup to VCC; no external pullup should be added.
  • VCC and VBAT should be decoupled with 0.1μF to 1.0μF capacitors.

Electrical Characteristics

(VCC = 2.3V to 5.5V, VCC = Active Supply (see Table 1), TA = TMIN to TMAX, unless otherwise noted.) (Typical values are at VCC = 3.3V, VBAT = 3.0V, and TA = +25°C, unless otherwise noted.) (Notes 2, 3)

PARAMETERSYMBOLCONDITIONSCONDITIONSMINTYPMAXUNITS
Active Supply CurrentI CCA(Notes 4, 5)V CC = 3.63V200μA
Active Supply CurrentI CCA(Notes 4, 5)V CC = 5.5V300μA
Standby Supply CurrentI CCSI 2 C bus inactive, 32kHz output on, SQW output off (Note 5)V CC = 3.63V110μA
Standby Supply CurrentI CCSI 2 C bus inactive, 32kHz output on, SQW output off (Note 5)V CC = 5.5V170μA
Temperature Conversion CurrentI CCSCONVI 2 C bus inactive, 32kHz output on, SQW output offV CC = 3.63V575μA
Temperature Conversion CurrentI CCSCONVI 2 C bus inactive, 32kHz output on, SQW output offV CC = 5.5V650μA
Power-Fail VoltageV PF2.452.5752.7V
Logic 0 Output, 32kHz, INT /SQW, SDAV OLI OL = 3mAI OL = 3mA0.4V
Logic 0 Output, RSTV OLI OL = 1mAI OL = 1mA0.4V
Output Leakage Current 32kHz, INT /SQW, SDAI LOOutput high impedanceOutput high impedance-101μA
Input Leakage SCLI LI-11μA
RST Pin I/O LeakageI OLRST high impedance (Note 6)RST high impedance (Note 6)-20010μA
V BAT Leakage Current (V CC Active)I BATLKG25100nA

Absolute Maximum Ratings

  • INT /SQW Relative to Ground.............................-0.3V to +6.0V

  • Junction-to-Ambient Thermal Resistance ( θ JA ) (Note 1)....73°C/W

  • Junction-to-Case Thermal Resistance ( θ JC ) (Note 1) ......23°C/W

  • Operating Temperature Range

  • (noncondensing) .............................................-40°C to +85°C

  • Junction Temperature......................................................+125°C

  • Lead Temperature (soldering, 10s) .................................+260°C

  • Soldering Temperature (reflow, 2 times max) Lead(Pb)-free...............................................................+260°C

  • Containing lead(Pb).....................................................+240°C

  • (See the Handling, PC Board Layout, and Assembly section.)

Note 1: Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a fourlayer board. For detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial .

Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Recommended Operating Conditions

(TA = TMIN to TMAX, unless otherwise noted.) (Notes 2, 3)

PARAMETERSYMBOLMINTYPMAXUNITS
Supply VoltageV CC2.33.35.5V
Supply VoltageV BAT2.335.5V
Logic 1 Input SDA, SCLV IH0.7 x V CCV CC + 0.3V
Logic 0 Input SDA, SCLV IL-0.30.3 x V CCV

Package Information

For the latest package outline information and land patterns, go to www.maxim-ic.com/packages . Note that a '+', '#', or '' in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status.

PACKAGE TYPEPACKAGE CODEOUTLINE NO.LAND PATTERN NO.
16 SOW16#H221-004290-0107

Ordering Information

PARTTEMP RANGEPIN-PACKAGE
DS3231S#0°C to +70°C16 SO
DS3231SN#-40°C to +85°C16 SO

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
DS3231SAnalog Devices / Maxim Integrated
DS3231S#Analog Devices Inc./Maxim Integrated16-SOIC (0.295", 7.50mm Width)
DS3231SNAnalog Devices / Maxim Integrated
DS3231SN#Analog Devices Inc./Maxim Integrated16-SOIC (0.295", 7.50mm Width)
Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free