Extremely Accurate I²C RTC with Integrated Crystal and SRAM


The DS3232 is a low-cost temperature-compensated crystal oscillator (TCXO) with a very accurate, temperature-compensated, integrated real-time clock (RTC) and 236 bytes of battery-backed SRAM. Additionally, the DS3232 incorporates a battery input and maintains accurate timekeeping when main power to the device is interrupted. 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 active-low 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²C bidirectional bus.

A precision temperature-compensated voltage reference and comparator circuit monitors the status of VCC to detect power failures, to provide a reset output, and to automatically switch to the backup supply when necessary. Additionally, the active-low RST pin is monitored as a pushbutton input for generating a µP reset.
DS3232: Typical Operating Circuit DS3232: Typical Operating Circuit Enlarge+

Key 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²C Interface
  • 3.3V Operation
  • Digital Temp Sensor Output: ±3°C Accuracy
  • Register for Aging Trim
  • Active-Low RST Input/Output
  • 300-Mil, 20-Pin SO Package


  • GPS
  • Servers
  • Telematics
  • Utility Power Meters
Part Number Freq. Osc. Type Tuning Adjustment Type Freq. Output Type Frequency Stability
Frequency Stability
Frequency Stability
Frequency Stability
Package/Pins Budgetary
0 to +40°C -40 to 0°C/ +40 to +85°C vs. VCC vs. Aging See Notes
DS3232  32.768kHz TCXO Digital CMOS Push-Pull 2 3.5 1 (typ) 5 (0-10 Years) 2.3 to 5.5
$3.96 @1k
See All Oscillator Modules (24)

Part Number Interface VSUPPLY
Time Keeping Current
Memory Type Memory Size
Time of Day Alarms Integrated Resonator Functions Package/Pins Budgetary
typ See Notes
DS3232  I2C 2.3 to 5.5 1500 NV SRAM 236 2 XTAL RTC
$3.96 @1k
See All Timekeeping & Real-Time Clocks (76)
Pricing Notes:
This pricing is BUDGETARY, for comparing similar parts. Prices are in U.S. dollars and subject to change. Quantity pricing may vary substantially and international prices may differ due to local duties, taxes, fees, and exchange rates. For volume-specific and version-specific prices and delivery, please see the price and availability page or contact an authorized distributor.

Related Resources