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.
DS3231 Key Specifications
| Parameter | Value |
|---|---|
| Package Type | 16-pin SO |
| Output Frequency | 32.768 kHz |
| I2c Clock Frequency | 0 kHz to 400 kHz |
| Supply Voltage Range | 2.3V to 5.5V |
| Timekeeping Accuracy | ±2ppm (0°C to +40°C), ±3.5ppm (-40°C to +85°C) |
| Communication Interface | I2C |
| Active Supply Current Max | 300 µA (at 5.5V VCC) |
| Backup Supply Voltage Range | 2.3V to 5.5V |
| Timekeeping Battery Current Typ | 0.84 µA (at 3.63V VBAT) |
| Digital Temperature Sensor Accuracy | ±3°C |
| Operating Temperature Range Commercial | 0°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 Number | Pin Name | Type | Description |
|---|---|---|---|
| 1 | 32kHz | O | 32kHz Output. Open-drain pin requiring external pullup resistor. Operates on either power supply when enabled. |
| 2 | VCC | P | DC Power Pin for Primary Power Supply. Requires 0.1μF to 1.0μF decoupling capacitor. |
| 3 | INT/SQW | O | Active-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. |
| 4 | RST | I/O | Active-Low Reset. Open-drain input/output indicating VCC status relative to VPF specification. Internal 50kΩ pullup to VCC. |
| 5 | N.C. | — | No Connection. Must be connected to ground. |
| 6 | N.C. | — | No Connection. Must be connected to ground. |
| 7 | N.C. | — | No Connection. Must be connected to ground. |
| 8 | N.C. | — | No Connection. Must be connected to ground. |
| 9 | N.C. | — | No Connection. Must be connected to ground. |
| 10 | N.C. | — | No Connection. Must be connected to ground. |
| 11 | N.C. | — | No Connection. Must be connected to ground. |
| 12 | N.C. | — | No Connection. Must be connected to ground. |
| 13 | GND | P | Ground |
| 14 | VBAT | P | Backup 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. |
| 15 | SDA | I/O | Serial Data Input/Output for I²C interface. Open-drain pin requiring external pullup resistor (up to 5.5V). |
| 16 | SCL | I | Serial 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)
| PARAMETER | SYMBOL | CONDITIONS | CONDITIONS | MIN | TYP | MAX | UNITS |
|---|---|---|---|---|---|---|---|
| Active Supply Current | I CCA | (Notes 4, 5) | V CC = 3.63V | 200 | μA | ||
| Active Supply Current | I CCA | (Notes 4, 5) | V CC = 5.5V | 300 | μA | ||
| Standby Supply Current | I CCS | I 2 C bus inactive, 32kHz output on, SQW output off (Note 5) | V CC = 3.63V | 110 | μA | ||
| Standby Supply Current | I CCS | I 2 C bus inactive, 32kHz output on, SQW output off (Note 5) | V CC = 5.5V | 170 | μA | ||
| Temperature Conversion Current | I CCSCONV | I 2 C bus inactive, 32kHz output on, SQW output off | V CC = 3.63V | 575 | μA | ||
| Temperature Conversion Current | I CCSCONV | I 2 C bus inactive, 32kHz output on, SQW output off | V CC = 5.5V | 650 | μA | ||
| Power-Fail Voltage | V PF | 2.45 | 2.575 | 2.7 | V | ||
| Logic 0 Output, 32kHz, INT /SQW, SDA | V OL | I OL = 3mA | I OL = 3mA | 0.4 | V | ||
| Logic 0 Output, RST | V OL | I OL = 1mA | I OL = 1mA | 0.4 | V | ||
| Output Leakage Current 32kHz, INT /SQW, SDA | I LO | Output high impedance | Output high impedance | -1 | 0 | 1 | μA |
| Input Leakage SCL | I LI | -1 | 1 | μA | |||
| RST Pin I/O Leakage | I OL | RST high impedance (Note 6) | RST high impedance (Note 6) | -200 | 10 | μA | |
| V BAT Leakage Current (V CC Active) | I BATLKG | 25 | 100 | nA |
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.
DS3231 Recommended Operating Conditions
(TA = TMIN to TMAX, unless otherwise noted.) (Notes 2, 3)
| PARAMETER | SYMBOL | MIN | TYP | MAX | UNITS |
|---|---|---|---|---|---|
| Supply Voltage | V CC | 2.3 | 3.3 | 5.5 | V |
| Supply Voltage | V BAT | 2.3 | 3 | 5.5 | V |
| Logic 1 Input SDA, SCL | V IH | 0.7 x V CC | V CC + 0.3 | V | |
| Logic 0 Input SDA, SCL | V IL | -0.3 | 0.3 x V CC | V |
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 TYPE | PACKAGE CODE | OUTLINE NO. | LAND PATTERN NO. |
|---|---|---|---|
| 16 SO | W16#H2 | 21-0042 | 90-0107 |
DS3231 Ordering Information
| PART | TEMP RANGE | PIN-PACKAGE |
|---|---|---|
| DS3231S# | 0°C to +70°C | 16 SO |
| DS3231SN# | -40°C to +85°C | 16 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.
More datasheets
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.