Features and Benefits
- Highly Accurate RTC Completely Manages All Timekeeping Functions
- Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year, with Leap-Year Compensation Valid Up to 2100
- Accuracy ±2ppm from 0°C to +40°C
- Accuracy ±3.5ppm from -40°C to +85°C
- Digital Temp Sensor Output: ±3°C Accuracy
- Register for Aging Trim
- Active-Low RST Output/Pushbutton Reset Debounce Input
- Two Time-of-Day Alarms
- Programmable Square-Wave Output Signal
- Simple Serial Interface Connects to Most Microcontrollers
- Fast (400kHz) I2C Interface
- Battery-Backup Input for Continuous Timekeeping
- Low Power Operation Extends Battery-Backup Run Time
- 3.3V Operation
- Operating Temperature Ranges: Commercial (0°C to +70°C) and Industrial (-40°C to +85°C)
- Underwriters Laboratories® (UL) Recognized
The DS3231 is a low-cost, extremely accurate I²C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. The device 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 DS3231 is available in commercial and industrial temperature ranges, and is offered in a 16-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.
- Global Positioning Systems (GPS)
- Utility Power Meters
Product Lifecycle Production
At least one model within this product family is in production and available for purchase. The product is appropriate for new designs but newer alternatives may exist.
Evaluation Kits (1)
Maxim Analog Essentials is a collection of peripheral modules which can plug directly into any FPGA/CPU expansion port which follows the Pmod™ standard established by Digilent, Inc. The collection includes modules containing a wide variety of commonly used analog and mixed signal functions. The modules are supported by software which includes FPGA configuration files for three popular FPGA platforms: Avnet LX-9, Digilent Nexys 3 and Avnet ZEDBoard, as well as example programs to exercise and demonstrate each module. While the example programs demonstrate the module’s functionality, they are well partitioned and documented allowing the core routines to be easily cut and pasted into your own programs. The combination of plug-in simplicity and easy software integration allows for quick migration from idea to working prototype.
Documentation & Resources
DS3231 Reliability Data1/12/2023
Implementing Flawless Designs with Accurate I²C Real-Time Clocks4/20/2012
Feature Comparison of the DS323x Real-Time Clocks9/23/2011
Selecting a Backup Source for Real-Time Clocks5/26/2006
Power Considerations for Accurate Real-Time Clocks11/4/2005
FAQ About the Integrated-Crystal Package Option8/10/2005
Interfacing a DS3231 with an 8051-Type Microcontroller5/23/2005
Design Considerations for Maxim Real-Time Clocks2/15/2002
Crystal Considerations with Maxim Real-Time Clocks (RTCs)3/29/2001
The What, Why, When, Where and How of Real-Time Clocks (RTCs)1/22/2019
Industry Turns to MEMS for Accurate Real-Time Clocks3/10/2015
Tips for Writing Bulletproof Real-Time Clock Control Code3/28/2014
Stuxnet and Other Things that Go Bump in the Night10/23/2012
State Machine Logic in Binary-Coded Decimal (BCD)-Formatted Real-Time Clocks9/17/2012
Tools & Simulations
ADI has always placed the highest emphasis on delivering products that meet the maximum levels of quality and reliability. We achieve this by incorporating quality and reliability checks in every scope of product and process design, and in the manufacturing process as well. "Zero defects" for shipped products is always our goal.
Sample & Buy
See our Ordering FAQs for answers to questions about online orders, payment options and more.
Buy Now Pricing
(**) Displayed Buy Now Price and Price Range is based on small quantity orders.
(*)The 1Ku list pricing shown is for BUDGETARY USE ONLY, shown in United States dollars (FOB USA per unit for the stated volume), and is subject to change. International prices may differ due to local duties, taxes, fees and exchange rates. For volume-specific price or delivery quotes, please contact your local Analog Devices, Inc. authorized distributor. Pricing displayed for Evaluation Boards and Kits is based on 1-piece pricing.
Selecting the Sample button above will redirect to the third-party ADI Sample Site. The part selected will carry over to your cart on this site once logged in. Please create a new account there if you have never used the site before. Contact SampleSupport@analog.com with any questions regarding this Sample Site.