{"id":6571,"date":"2026-06-18T14:53:05","date_gmt":"2026-06-18T14:53:05","guid":{"rendered":"https:\/\/materialparts.com\/ds3231sn\/"},"modified":"2026-06-18T14:53:05","modified_gmt":"2026-06-18T14:53:05","slug":"ds3231sn","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/ds3231sn\/","title":{"rendered":"DS3231SN"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The DS3231SN from onsemi (formerly Maxim Integrated) is a highly accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO). With +\/-2ppm accuracy (equivalent to +\/-1 minute per year), it eliminates the need for external crystal and maintains timekeeping during power loss via battery backup. Packaged in SOIC-16 (300mil).<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>Accuracy<\/td>\n<td>+\/-2ppm (0 to +40C)<\/td>\n<\/tr>\n<tr>\n<td>Interface<\/td>\n<td>I2C (400kHz)<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>2.3V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>Battery Backup Voltage<\/td>\n<td>2.3V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>Timekeeping Current<\/td>\n<td>3uA (typ, battery mode)<\/td>\n<\/tr>\n<tr>\n<td>Temperature Sensor<\/td>\n<td>+\/-3C accuracy<\/td>\n<\/tr>\n<tr>\n<td>Alarms<\/td>\n<td>2 programmable<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>SOIC-16 (300mil)<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>-40 to +85 C<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>Integrated TCXO for +\/-2ppm accuracy<\/li>\n<li>No external crystal required<\/li>\n<li>Battery backup input for power-fail continuity<\/li>\n<li>Two programmable time-of-day alarms<\/li>\n<li>Internal temperature sensor with +\/-3C accuracy<\/li>\n<li>32.768kHz square-wave output (programmable)<\/li>\n<li>Aging offset register for fine-tuning<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Precision timekeeping in servers and instrumentation<\/li>\n<li>Industrial data logging with timestamps<\/li>\n<li>Consumer electronics requiring accurate RTC<\/li>\n<li>Automotive telematics and infotainment<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The DS3231SN from onsemi (formerly Maxim Integrated) is a highly accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO). With +\/-2ppm accuracy (equivalent to +\/-1 minute per year), it eliminates the need for external crystal and maintains timekeeping during power loss via battery backup. Packaged in SOIC-16 (300mil). Key Specifications [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,55],"tags":[],"chip_brand":[144],"class_list":["post-6571","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-transistors","chip_brand-on"],"acf":{"brief_explanation":"I2C RTC with TCXO, +\/-2ppm accuracy, battery backup, temp sensor, SOIC-16","date_code":"","package_case":"SOIC-16 (300mil, 10.3x7.5mm)","in_stock":14556,"datasheet":"https:\/\/www.onsemi.com\/pub\/Collateral\/DS3231-D.PDF","price":"$5.80 @ 1ku","product_introduction":"The DS3231SN from onsemi is a low-cost, extremely accurate I2C real-time clock 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 and reduces the part-count in a manufacturing line. 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. Clock operates in either 24-hour or 12-hour format with AM\/PM indication.","working_principle":"The DS3231 uses a 32.768kHz crystal oscillator with digital temperature compensation. An on-chip temperature sensor periodically measures the die temperature and a compensation algorithm adjusts the oscillator capacitance array to maintain the target frequency. The temperature sensor accuracy is +\/-3C and the oscillator achieves +\/-2ppm accuracy over 0C to +40C. Time is maintained in binary-coded decimal (BCD) format in a set of registers accessible via I2C. When VCC falls below VBAT, the device automatically switches to battery power, consuming only 3uA. Two alarm registers allow generating interrupts at specific times. The 32.768kHz output can be enabled on the SQW\/INTB pin with programmable square-wave frequencies.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>32KHZ<\/td><td>32.768kHz output (open drain)<\/td><\/tr><tr><td>2<\/td><td>VCC<\/td><td>Primary supply voltage (2.3-5.5V)<\/td><\/tr><tr><td>3<\/td><td>INT\/SQW<\/td><td>Interrupt \/ Square-wave output<\/td><\/tr><tr><td>4<\/td><td>RESET<\/td><td>Reset input (active low)<\/td><\/tr><tr><td>5-8<\/td><td>NC<\/td><td>Not connected<\/td><\/tr><tr><td>9<\/td><td>VBAT<\/td><td>Battery backup supply input<\/td><\/tr><tr><td>10-12<\/td><td>NC<\/td><td>Not connected<\/td><\/tr><tr><td>13<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>14<\/td><td>VBAT<\/td><td>Battery backup (duplicate pin)<\/td><\/tr><tr><td>15<\/td><td>SDA<\/td><td>I2C serial data<\/td><\/tr><tr><td>16<\/td><td>SCL<\/td><td>I2C serial clock<\/td><\/tr><\/table>","application_scenarios":"<ul><li>Server and network equipment precision timekeeping with +\/-2ppm accuracy<\/li><li>Industrial data loggers requiring reliable timestamps during power interruptions<\/li><li>Consumer electronics needing accurate RTC without external crystal<\/li><li>Automotive systems using integrated temperature sensor for environment monitoring<\/li><\/ul>","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>DS3231M<\/td><td>onsemi<\/td><td>MEMS oscillator version, +\/-5ppm<\/td><\/tr><tr><td>DS1307<\/td><td>onsemi<\/td><td>Lower cost, requires external crystal, +\/-2min\/month<\/td><\/tr><tr><td>PCF8563<\/td><td>NXP<\/td><td>Low-cost I2C RTC, requires crystal<\/td><\/tr><tr><td>RV-3028-C7<\/td><td>Micro Crystal<\/td><td>Ultra-low power, 40nA backup<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=6571"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6571\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=6571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=6571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=6571"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=6571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}