Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

DS3231

Realtime Clock (RTC)

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

Official DS3231 datasheet (PDF) — the source this page was extracted from.

Manufacturer

Analog Devices

Category

Realtime Clock (RTC)

Package

16 SO

Lifecycle

Active

DS3231 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

DS3231 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

DS3231 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

DS3231 Pin Configuration

DS3231 Pinout

Package: 16-pin, 300-mil SO

Pin NumberPin NameTypeDescription
132kHzO32kHz Output. Open-drain pin requiring external pullup resistor. Operates on either power supply when enabled.
2VCCPDC Power Pin for Primary Power Supply. Requires 0.1μF to 1.0μF decoupling capacitor.
3INT/SQWOActive-Low Interrupt or Square-Wave Output. Open-drain pin requiring external pullup resistor (up to 5.5V). Function determined by INTCN bit in Control Register.
4RSTI/OActive-Low Reset. Open-drain input/output indicating VCC status relative to VPF specification. 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. Requires 0.1μF to 1.0μF low-leakage capacitor when used as primary source. UL recognized for reverse-charging protection with primary lithium battery.
15SDAI/OSerial Data Input/Output for I²C interface. Open-drain pin requiring external pullup resistor (up to 5.5V).
16SCLISerial Clock Input for I²C interface. Accepts up to 5.5V regardless of VCC voltage.

Notes

  • Pin numbering source: Extracted directly from the provided pin description table (PIN column).
  • N.C. pins (5–12): All eight no-connect pins must be connected to ground per datasheet specification.
  • Open-drain pins: 32kHz, INT/SQW, RST, SDA all require external pullup resistors; pullup voltage can reach 5.5V independently of VCC.
  • Power supply decoupling: Both VCC and VBAT should be decoupled with 0.1μF to 1.0μF capacitors when used.

DS3231 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

DS3231 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.

(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

DS3231 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

DS3231 Ordering Information

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

Variants on the same datasheet

These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.

Part NumberManufacturerPackage
DS3231SAnalog DevicesSOIC-16
DS3231S#Analog Devices16-SOIC (0.295", 7.50mm Width)
DS3231SNAnalog DevicesSOIC-16
DS3231SN#Analog Devices16-SOIC (0.295", 7.50mm Width)

More datasheets

All Analog Devices datasheets (713)

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.

Ask your AI agent about the DS3231

Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.

claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp

Then ask: "Can the DS3231 run from my 12 V rail? Check it against the datasheet limits."

Create a free account $2 of usage every month, no card needed.