DS1305:Serial Alarm Real-Time Clock

3-Wire/SPI Serial Interface Trickle Charge Real-Time Clock with Alarms

The DS1305 serial alarm real-time clock provides a full binary coded decimal (BCD) clock calendar that is accessed by a simple serial interface. The 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 AM/PM indicator. In addition, 96 bytes of NV RAM are provided for data storage. The DS1305 will maintain the time and date, provided the oscillator is enabled, as long as at least one supply is at a valid level. An interface logic power-supply input pin (VCCIF) allows the DS1305 to drive SDO and active-low PF pins to a level that is compatible with the interface logic. This allows an easy interface to 3V logic in mixed supply systems. The DS1305 offers dual-power supplies as well as a battery input pin. The dual power supplies support a programmable trickle charge circuit that allows a rechargeable energy source (such as a super cap or rechargeable battery) to be used for a backup supply. The VBAT pin allows the device to be backed up by a non-rechargeable battery. The DS1305 is fully operational from 2.0V to 5.5V. Two programmable time-of-day alarms are provided by the DS1305. Each alarm can generate an interrupt on a programmable combination of seconds, minutes, hours, and day. "Don't care" states can be inserted into one or more fields if it is desired for them to be ignored for the alarm condition. The time-of-day alarms can be programmed to assert two different interrupt outputs or to assert one common interrupt output. Both interrupt outputs operate when the device is powered by VCC1, VCC2, or VBAT. The DS1305 supports direct serial peripheral interface SPI™ to serial data ports or standard 3-wire interface. A straightforward address and data format is implemented in which data transfers can occur 1 byte at a time or in multiple-byte-Burst Mode®.

Key Features
  • Completely Manages All Timekeeping Functions
    • Real-Time Clock (RTC) Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100
    • 96-Byte, Battery-Backed NV RAM for Data Storage
    • Two Time-Of-Day Alarms, Programmable on Combination of Seconds, Minutes, Hours, and Day of the Week
  • Standard Serial Port Interfaces with Most Microcontrollers
    • Supports SPI (Serial Peripheral Interface) Modes 1 and 3 or Standard 3-Wire Interface
    • Burst Mode for Reading/Writing Successive Addresses in Clock/RAM
  • Multiple Power Supply Pins Ease Adding Battery For Backup
    • Dual-Power Supply Pins for Primary and Backup Power Supplies
    • Optional Trickle Charge Output to Backup Supply
    • 2.0V to 5.5V Operation
  • 20-Pin TSSOP Minimizes Required Space
  • Optional Industrial Temperature Range: -40°C to +85°C Supports Operation in a Wide Range of Applications
  • Underwriters Laboratory (UL®) Recognized
DS1305: Typical Operating Circuit
DS1305: Typical Operating Circuit
DataSheet
titleDownload file
DS1305 Data SheetDS1305.pdf
Parametrics
Part NumberInterfaceVSUPPLY
(V)
Time Keeping Current
(nA)
CL
(pF)
Memory TypeMemory Size
(Bytes)
Time of Day AlarmsFunctionsPackage/PinsBudgetary
Price
typSee Notes
DS13053-Wire
SPI
2
3
3.3
5
4506NV SRAM962RTCPDIP(N)/16
TSSOP/20
$2.26 @1k
Quality and Environmental Data
Related Products
  • DS1393:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • DS1390:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • DS1391:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • DS1392:Low-Voltage SPI/3-Wire RTCs with Trickle Charger
  • MAX6901:3-Wire Serial RTC in a TDFN
  • MAX6902:SPI-Compatible RTC in a TDFN
  • DS1306:Serial Alarm Real-Time Clock
  • DS1302:Trickle-Charge Timekeeping Chip
Ordering Information
Part NumberStatusRecommended ReplacementPackageTempRoHS
DS1305No Longer AvailableDS1305+PDIP(N),;16 pin;158.4 mm²0°C to +70°CNo
DS1305+ActivePDIP(N),;16 pin;158.4 mm²0°C to +70°CLead Free
DS1305ENo Longer AvailableDS1305E+TSSOP,;20 pin;45.2 mm²0°C to +70°CNo
DS1305E+ActiveTSSOP,;20 pin;45.2 mm²0°C to +70°CLead Free
DS1305E+T&RActiveTSSOP,;20 pin;45.2 mm²0°C to +70°CLead Free
DS1305E/T&RNo Longer AvailableDS1305E+T&RTSSOP,;20 pin;45.2 mm²0°C to +70°CNo
DS1305ENNo Longer AvailableDS1305EN+TSSOP,;20 pin;45.2 mm²-40°C to +85°CNo
DS1305EN+ActiveTSSOP,;20 pin;45.2 mm²-40°C to +85°CLead Free
DS1305EN+T&RActiveTSSOP,;20 pin;45.2 mm²-40°C to +85°CLead Free
DS1305EN+T&R/C01ActiveTSSOP,;20 pin;45.2 mm²-40°C to +85°CLead Free
Part NumberStatusRecommended ReplacementPackageTempRoHS
DS1305EN/T&RNo Longer AvailableDS1305EN+T&RTSSOP,;20 pin;45.2 mm²-40°C to +85°CNo
DS1305NNo Longer AvailableDS1305N+PDIP(N),;16 pin;158.4 mm²-40°C to +85°CNo
DS1305N+ActivePDIP(N),;16 pin;158.4 mm²-40°C to +85°CLead Free
DS1305.pdf DS1305
DS1305.pdf DS1305
DS1305.pdf DS1305
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
Interfacing an SPI RTC with a Motorola DSP DS3234
Interfacing an SPI-Interface RTC with a PIC Microcontroller 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
Interfacing SPI Real-Time Clocks (RTCs) with a Microcontroller DS3234
Using the Dallas Tricklecharge Timekeeper DS1672
Crystal Considerations with Maxim Real-Time Clocks (RTCs) DS3234
DS1305.pdf DS1305
DS1305.pdf DS1305