{"id":3789,"date":"2026-06-08T03:45:03","date_gmt":"2026-06-08T03:45:03","guid":{"rendered":"https:\/\/materialparts.com\/ds1302s\/"},"modified":"2026-06-08T03:45:03","modified_gmt":"2026-06-08T03:45:03","slug":"ds1302s","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/ds1302s\/","title":{"rendered":"DS1302S+"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The DS1302S+ from Analog Devices (Maxim) is a trickle-charge real-time clock (RTC) chip with 31 bytes of battery-backed RAM, 3-wire serial interface, and 300nA backup current in an 8-pin SOIC package.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>\u529f\u80fd<\/td>\n<td>Real-Time Clock \/ Calendar + 31B RAM<\/td>\n<\/tr>\n<tr>\n<td>Interface<\/td>\n<td>3-Wire Serial (CE, I\/O, SCLK)<\/td>\n<\/tr>\n<tr>\n<td>Supply Voltage (VCC2)<\/td>\n<td>2.0V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>Battery Backup Voltage (VCC1)<\/td>\n<td>2.0V to 3.5V<\/td>\n<\/tr>\n<tr>\n<td>Timekeeping Current (Backup)<\/td>\n<td>&lt;300nA @ 2.0V<\/td>\n<\/tr>\n<tr>\n<td>Max Clock Frequency<\/td>\n<td>2 MHz<\/td>\n<\/tr>\n<tr>\n<td>Time Format<\/td>\n<td>12-hour (AM\/PM) or 24-hour<\/td>\n<\/tr>\n<tr>\n<td>Calendar Range<\/td>\n<td>2000 to 2099 (leap year auto-correct)<\/td>\n<\/tr>\n<tr>\n<td>RAM<\/td>\n<td>31 x 8 bits (battery-backed)<\/td>\n<\/tr>\n<tr>\n<td>Trickle Charger<\/td>\n<td>Programmable (1 or 2 diodes + 2k\/4k\/8k resistor)<\/td>\n<\/tr>\n<tr>\n<td>Write Protect<\/td>\n<td>Yes (WP bit)<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>8-SOIC (0.209in, 5.3mm width)<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>0 to +70 C<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>Complete RTC with seconds through year counting<\/li>\n<li>31 bytes of battery-backed general-purpose RAM<\/li>\n<li>3-wire serial interface (minimal MCU pin usage)<\/li>\n<li>Single-byte or burst-mode data transfer<\/li>\n<li>Programmable trickle charger for backup battery\/supercap<\/li>\n<li>Dual power pins (VCC1 backup, VCC2 main)<\/li>\n<li>Ultra-low 300nA backup current extends battery life<\/li>\n<li>UL recognized for safety compliance<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Embedded system timekeeping<\/li>\n<li>Data logging timestamp<\/li>\n<li>Industrial controller scheduling<\/li>\n<li>Consumer appliance clocks<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The DS1302S+ from Analog Devices (Maxim) is a trickle-charge real-time clock (RTC) chip with 31 bytes of battery-backed RAM, 3-wire serial interface, and 300nA backup current in an 8-pin SOIC package. Key Specifications Function Real-Time Clock \/ Calendar + 31B RAM Interface 3-Wire Serial (CE, I\/O, SCLK) Supply Voltage (VCC2) 2.0V to 5.5V [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,55],"tags":[],"chip_brand":[165],"class_list":["post-3789","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-transistors","chip_brand-adi"],"acf":{"brief_explanation":"RTC chip, 3-wire serial, 31B RAM, trickle charger, 300nA backup, SOIC-8","date_code":"","package_case":"8-SOIC (5.30 x 5.23 x 1.75 mm, S package, 0.209in width)","in_stock":3243,"datasheet":"https:\/\/www.analog.com\/media\/en\/technical-documentation\/data-sheets\/ds1302.pdf","price":"$2.34 @ 1ku","product_introduction":"The DS1302S+ from Analog Devices (formerly Maxim Integrated) is a trickle-charge timekeeping chip that contains a real-time clock\/calendar and 31 bytes of static RAM. The device communicates with a microprocessor via a simple 3-wire serial interface (CE, I\/O, SCLK), requiring only three MCU pins for full RTC functionality. The real-time clock\/calendar provides seconds, minutes, hours, day, date, month, and year information, with automatic end-of-month date adjustment including leap year correction valid through 2100. The clock operates in either 24-hour or 12-hour format with an AM\/PM indicator. The 31 bytes of general-purpose RAM are battery-backed, providing non-volatile storage for critical system parameters. The DS1302S+ features dual power supply pins (VCC1 for backup, VCC2 for main power), with automatic switchover when the main supply fails. The programmable trickle charger allows the main supply to charge the backup battery or supercapacitor through internal diodes and resistors, with configurable charge current (1 or 2 diodes, 2kOhm\/4kOhm\/8kOhm resistor). The ultra-low 300nA timekeeping current at 2.0V backup voltage means a CR2032 coin cell can maintain timekeeping for over 5 years. The write-protect bit prevents accidental modification of clock and RAM data. Burst mode allows reading or writing all 8 clock registers or all 31 RAM bytes in a single continuous transfer, minimizing MCU overhead. The DS1302S+ is the successor to the DS1202, adding dual power pins, trickle charger, and 7 additional RAM bytes.","working_principle":"The DS1302S+ operates as a serial-interfaced real-time clock with trickle-charge capability. Key subsystems include: (1) 32.768kHz Oscillator - an external 32.768kHz crystal connected between X1 and X2 pins provides the timebase; the internal oscillator circuit drives the crystal and divides the frequency down to 1Hz for the seconds counter; the crystal load capacitance should be 6pF for optimal accuracy; (2) Clock\/Calendar Counters - a chain of BCD counters increments seconds, minutes, hours, day, date, month, and year; the month-end correction logic automatically handles months with 28, 29, 30, or 31 days, including leap years; the 12\/24-hour format bit controls the hours counter mode; (3) 3-Wire Serial Interface - CE (chip enable) must be high for any data transfer; SCLK provides the clock for synchronous data transfer; I\/O is a bidirectional data pin; each transfer begins with a command byte (8 bits: 7 address bits + 1 R\/W bit) followed by 8 data bits; data is clocked on the rising edge of SCLK; (4) Dual Power Supply - VCC2 is the main supply (2.0-5.5V) and VCC1 is the backup supply (2.0-3.5V); an internal switch selects the higher of the two voltages; when VCC2 drops below VCC1, the device automatically switches to VCC1 for continuous operation; (5) Trickle Charger - controlled by a special register (not accessible in burst mode); TCS bits (1010) enable the charger; DS bits select 1 or 2 series diodes; RS bits select 2k\/4k\/8k series resistor; the maximum charge current is (VCC2 - diode drop - VCC1) \/ R; for example, 5V VCC2 with 1 diode and 2k resistor gives approximately (5.0-0.7)\/2000 = 2.15mA maximum charge current into a supercapacitor.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>VCC2<\/td><td>Main power supply (2.0V to 5.5V)<\/td><\/tr><tr><td>2<\/td><td>X1<\/td><td>32.768kHz crystal connection 1<\/td><\/tr><tr><td>3<\/td><td>X2<\/td><td>32.768kHz crystal connection 2<\/td><\/tr><tr><td>4<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>5<\/td><td>VCC1<\/td><td>Backup power supply (2.0V to 3.5V, battery or supercap)<\/td><\/tr><tr><td>6<\/td><td>I\/O<\/td><td>Bidirectional data input\/output<\/td><\/tr><tr><td>7<\/td><td>SCLK<\/td><td>Serial clock input<\/td><\/tr><tr><td>8<\/td><td>CE<\/td><td>Chip enable (active high)<\/td><\/tr><\/table>","application_scenarios":"<ul><li>Embedded timestamp: 5V MCU system with CR2032 backup for data logging timestamps over 5+ years<\/li><li>Industrial scheduling: weekly timer with 31B RAM for relay schedule parameters, supercap backup via trickle charger<\/li><li>Consumer appliance: microwave\/oven clock with 12\/24-hour display, battery-backed through power outages<\/li><li>Portable instrument: 3.3V system with rechargeable Li-Ion backup using trickle charger for continuous timekeeping<\/li><\/ul>","alternative_models":"<table><tr><th>Manufacturer<\/th><th>Part Number<\/th><th>Package<\/th><th>Notes<\/th><\/tr><tr><td>ADI\/Maxim<\/td><td>DS1302SN+<\/td><td>SOIC-8<\/td><td>Industrial temp -40 to +85C<\/td><\/tr><tr><td>ADI\/Maxim<\/td><td>DS1302Z+<\/td><td>uSOIC-8<\/td><td>Narrow 0.15in body<\/td><\/tr><tr><td>ADI\/Maxim<\/td><td>DS3231SN#<\/td><td>SOIC-16<\/td><td>TCXO RTC, I2C, +\/-2ppm accuracy<\/td><\/tr><tr><td>ST<\/td><td>M41T62Q6F<\/td><td>QFN-16<\/td><td>I2C RTC with 32kHz output<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/3789","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=3789"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/3789\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=3789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=3789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=3789"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=3789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}