Opens in a new tab

DS1302S+

RTC chip, 3-wire serial, 31B RAM, trickle charger, 300nA backup, SOIC-8

3243

Effective Inventory

Image for reference only

Manufacturer Part:

DS1302S+

Package:

8-SOIC (5.30 x 5.23 x 1.75 mm, S package, 0.209in width)

Brand:

Product Categories:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

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
Battery Backup Voltage (VCC1) 2.0V to 3.5V
Timekeeping Current (Backup) <300nA @ 2.0V
Max Clock Frequency 2 MHz
Time Format 12-hour (AM/PM) or 24-hour
Calendar Range 2000 to 2099 (leap year auto-correct)
RAM 31 x 8 bits (battery-backed)
Trickle Charger Programmable (1 or 2 diodes + 2k/4k/8k resistor)
Write Protect Yes (WP bit)
Package 8-SOIC (0.209in, 5.3mm width)
Operating Temperature 0 to +70 C

Features

  • Complete RTC with seconds through year counting
  • 31 bytes of battery-backed general-purpose RAM
  • 3-wire serial interface (minimal MCU pin usage)
  • Single-byte or burst-mode data transfer
  • Programmable trickle charger for backup battery/supercap
  • Dual power pins (VCC1 backup, VCC2 main)
  • Ultra-low 300nA backup current extends battery life
  • UL recognized for safety compliance

Applications

  • Embedded system timekeeping
  • Data logging timestamp
  • Industrial controller scheduling
  • Consumer appliance clocks
Product Introduction: DS1302S+ 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: DS1302S+ 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: DS1302S+ Pin Definition and Functions
Pin Name Function
1 VCC2 Main power supply (2.0V to 5.5V)
2 X1 32.768kHz crystal connection 1
3 X2 32.768kHz crystal connection 2
4 GND Ground
5 VCC1 Backup power supply (2.0V to 3.5V, battery or supercap)
6 I/O Bidirectional data input/output
7 SCLK Serial clock input
8 CE Chip enable (active high)
Application Scenarios: In which products and applications is DS1302S+ used
  • Embedded timestamp: 5V MCU system with CR2032 backup for data logging timestamps over 5+ years
  • Industrial scheduling: weekly timer with 31B RAM for relay schedule parameters, supercap backup via trickle charger
  • Consumer appliance: microwave/oven clock with 12/24-hour display, battery-backed through power outages
  • Portable instrument: 3.3V system with rechargeable Li-Ion backup using trickle charger for continuous timekeeping
Alternative Models: What chips are recommended as replacements for DS1302S+
Manufacturer Part Number Package Notes
ADI/Maxim DS1302SN+ SOIC-8 Industrial temp -40 to +85C
ADI/Maxim DS1302Z+ uSOIC-8 Narrow 0.15in body
ADI/Maxim DS3231SN# SOIC-16 TCXO RTC, I2C, +/-2ppm accuracy
ST M41T62Q6F QFN-16 I2C RTC with 32kHz output

Recommend Parts

RK73H1ETTP20R0F

20Ohm +/-1% 0.063W thick film resistor, 0402, +/-100 ppm/C, AEC-Q200

Brand: KOA Speer

Package: 0402 (1005 Metric) 1.0 x 0.5 x 0.35 mm

IN STOCK: 33180pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TPS77001DBVR

50mA LDO, adjustable 1.2-5.5V out, 35mV dropout, 17µA IQ, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.45 mm)

IN STOCK: 5000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TPS61021ADSGR

3A synchronous boost converter, 1.8-5.5V, VSSOP-8

Brand: TI

Package: VSSOP-8 (3.0 x 3.0 mm, DSG package)

IN STOCK: 12398pcs

Cargo cycle: 3-7 Days

The minimum order is 1

S1MB-13-F

1A 1000V GPP rectifier, 1.1V VF, 3μs trr, SMB/DO-214AA, -65~150°C

Brand: Diodes Inc

Package: SMB / DO-214AA (4.57 x 3.94 x 2.50mm)

IN STOCK: 3679pcs

Cargo cycle: 3-7 Days

The minimum order is 1

ADUM5000ARWZ-RL

500mW isolated DC-DC converter, 3.3/5V, SOIC-16W

Brand: ADI

Package: SOIC-16W (10.3 x 7.5 mm, RW package)

IN STOCK: 6373pcs

Cargo cycle: 3-7 Days

The minimum order is 1

ADS830E/2K5

8-bit 60MSPS high-speed ADC, TSSOP-24

Brand: TI

Package: TSSOP-24 (7.8 x 4.4 mm)

IN STOCK: 9357pcs

Cargo cycle: 3-7 Days

The minimum order is 1