DS1302:Trickle-Charge Timekeeping Chip

The DS1302 trickle-charge timekeeping chip contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real-time clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date 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 AM/PM indicator. Interfacing the DS1302 with a microprocessor is simplified by using synchronous serial communication. Only three wires are required to communicate with the clock/RAM: CE, I/O (data line), and SCLK (serial clock). Data can be transferred to and from the clock/RAM 1 byte at a time or in a burst of up to 31 bytes. The DS1302 is designed to operate on very low power and retain data and clock information on less than 1µW. The DS1302 is the successor to the DS1202. In addition to the basic timekeeping functions of the DS1202, the DS1302 has the additional features of dual power pins for primary and backup power supplies, programmable trickle charger for VCC1, and seven additional bytes of scratchpad memory.

Key Features
  • 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
    • 31 x 8 Battery-Backed General-Purpose RAM
  • Simple Serial Port Interfaces to Most Microcontrollers
    • Simple 3-Wire Interface
    • TTL-Compatible (VCC = 5V)
    • Single-Byte or Multiple-Byte (Burst Mode) Data Transfer for Read or Write of Clock or RAM Data
  • Low Power Operation Extends Battery Backup Run Time
    • 2.0V to 5.5V Full Operation
    • Uses Less Than 300nA at 2.0V
  • 8-Pin DIP and 8-Pin SO Minimizes Required Space
  • Optional Industrial Temperature Range: -40°C to +85°C Supports Operation in a Wide Range of Applications
  • Underwriters Laboratories® (UL) Recognized
DS1302: Typical Operating Circuit
DS1302: Typical Operating Circuit
DataSheet
titleDownload file
DS1302 Data SheetDS1302.pdf
Parametrics
Part NumberInterfaceVSUPPLY
(V)
Time Keeping Current
(nA)
CL
(pF)
Memory TypeMemory Size
(Bytes)
Time of Day AlarmsFunctionsPackage/PinsBudgetary
Price
typSee Notes
DS13023-Wire2
3
3.3
5
2006NV SRAM310RTCPDIP(N)/8
SOIC/8
SOIC(N)/8
SOIC(W)/16
$1.46 @1k
Quality and Environmental Data
Related Products
  • DS1393:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • DS1392:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • DS1305:Serial Alarm Real-Time Clock
  • MAX6901:3-Wire Serial RTC in a TDFN
  • DS1306:Serial Alarm Real-Time Clock
Ordering Information
Part NumberStatusRecommended ReplacementPackageTempRoHS
DS1302No Longer AvailableDS1302+PDIP(N),;8 pin;79.7 mm²0°C to +70°CNo
DS1302+ActivePDIP(N),;8 pin;79.7 mm²0°C to +70°CLead Free
DS1302NNo Longer AvailableDS1302N+PDIP(N),;8 pin;79.7 mm²-40°C to +85°CNo
DS1302N+ActivePDIP(N),;8 pin;79.7 mm²-40°C to +85°CLead Free
DS1302SNo Longer AvailableDS1302S+SOIC,;8 pin;44.1 mm²0°C to +70°CNo
DS1302S+ActiveSOIC,;8 pin;44.1 mm²0°C to +70°CLead Free
DS1302S+T&RActiveSOIC,;8 pin;44.1 mm²0°C to +70°CLead Free
DS1302S-16No Longer AvailableSOIC(W),;16 pin;111.8 mm²0°C to +70°CNo
DS1302S-16/T&RNo Longer AvailableSOIC(W),;16 pin;111.8 mm²0°C to +70°CNo
DS1302S/T&RNo Longer AvailableDS1302S+T&RSOIC,;8 pin;44.1 mm²0°C to +70°CNo
Part NumberStatusRecommended ReplacementPackageTempRoHS
DS1302SNNo Longer AvailableDS1302SN+SOIC,;8 pin;44.1 mm²-40°C to +85°CNo
DS1302SN+ActiveSOIC,;8 pin;44.1 mm²-40°C to +85°CLead Free
DS1302SN+T&RActiveSOIC,;8 pin;44.1 mm²-40°C to +85°CLead Free
DS1302SN-16No Longer AvailableSOIC(W),;16 pin;111.8 mm²-40°C to +85°CNo
DS1302SN-16/T&RNo Longer AvailableSOIC(W),;16 pin;111.8 mm²-40°C to +85°CNo
DS1302SN/T&RNo Longer AvailableDS1302SN+T&RSOIC,;8 pin;44.1 mm²-40°C to +85°CNo
DS1302ZNo Longer AvailableDS1302Z+SOIC(N),;8 pin;30.9 mm²0°C to +70°CNo
DS1302Z+ActiveSOIC(N),;8 pin;30.9 mm²0°C to +70°CLead Free
DS1302Z+T&RActiveSOIC(N),;8 pin;30.9 mm²0°C to +70°CLead Free
DS1302Z/T&RNo Longer AvailableDS1302Z+T&RSOIC(N),;8 pin;30.9 mm²0°C to +70°CNo
Part NumberStatusRecommended ReplacementPackageTempRoHS
DS1302Z/T&R/C06No Longer AvailableDS1302Z+SOIC(N),;8 pin;30.9 mm²0°C to +70°CNo
DS1302ZNNo Longer AvailableDS1302ZN+SOIC(N),;8 pin;30.9 mm²-40°C to +85°CNo
DS1302ZN+ActiveSOIC(N),;8 pin;30.9 mm²-40°C to +85°CLead Free
DS1302ZN+T&RActiveSOIC(N),;8 pin;30.9 mm²-40°C to +85°CLead Free
DS1302ZN/T&RNo Longer AvailableDS1302ZN+T&RSOIC(N),;8 pin;30.9 mm²-40°C to +85°CNo
DS1302.pdf DS1302
DS1302.pdf DS1302
DS1302.pdf DS1302
Tips for Writing Bulletproof Real-Time Clock Control Code DS3234
State Machine Logic in Binary-Coded Decimal (BCD)-Formatted Real-Time Clocks DS3234
Oscillator Design Considerations for Low-Current Applications DS17885
Selecting a Backup Source for Real-Time Clocks DS3234
Using the DS32kHz with Maxim Real-Time Clocks DS17885
Lithium Coin-Cell Batteries: Predicting an Application Lifetime DS9034PCX
Design Considerations for Maxim Real-Time Clocks DS3234
Using the Dallas Tricklecharge Timekeeper DS1672
Crystal Considerations with Maxim Real-Time Clocks (RTCs) DS3234
DS1302.pdf DS1302
DS1302.pdf DS1302