1 of 22
FEATURES
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
Supports Motorola SPI
(Serial Peripheral
Interface) Modes 1 and 3 or Standard 3-Wire
Interface
Burst Mode for Reading/Writing Successive
Addresses in Clock/RAM
Dual-Power Supply Pins for Primary and
Backup Power Supplies
Optional Trickle Charge Output to Backup
Supply
2.0V to 5.5V Operation
Optional Industrial Temperature Range:
-C to +85C
Available in Space-Efficient, 20-Pin TSSOP
Package
Underwriters Laboratory (UL) Recognized
PIN CONFIGURATIONS
TYPICAL OPERATING CIRCUIT
www.maxim-ic.com
DS1305
Serial Alarm Real-Time Clock
SPI is a trademark of Motorola, Inc.
V
CC2
1 16 V
CC1
V
BAT
2 15 PF
X1 3 14 V
CCIF
X2 4 13 SDO
N.C. 5 12 SDI
INT0 6 11 SCLK
INT1 7 10 CE
GND 8 9 SERMODE
DIP
(
300 mils
)
DS1305
V
CC2
1 20 V
CC1
V
BAT
2 19 N.C.
X1 3 18 PF
N.C. 4 17 V
CCIF
X2 5 16 SD0
N.C. 6 15 SDI
INT0 7 14 SCLK
N.C. 8 13 N.C.
INT1 9 12 CE
GND 10 11 SERMODE
DS1305
TSSOP (4.4mm)
TOP VIEW
19-5055; Rev 12/09
DS1305
2 of 22
ORDERING INFORMATION
PART TEMP RANGE PIN-PACKAGE TOP MARK*
DS1305 0°C to +70°C 16 DIP (300 mils) DS1305
DS1305N -40°C to +85°C 16 DIP (300 mils) DS1305N
DS1305E 0°C to +70°C 20 TSSOP (173 mils) DS1305
DS1305E+ 0°C to +70°C 20 TSSOP (173 mils) DS1305
DS1305E/T&R 0°C to +70°C 20 TSSOP (173 mils) DS1305
DS1305E+T&R 0°C to +70°C 20 TSSOP (173 mils) DS1305
DS1305EN -40°C to +85°C 20 TSSOP (173 mils) DS1305
DS1305EN+ -40°C to +85°C 20 TSSOP (173 mils) DS1305N
DS1305EN/T&R -40°C to +85°C 20 TSSOP (173 mils) DS1305
DS1305EN+T&R -40°C to +85°C 20 TSSOP (173 mils) DS1305
+Denotes a lead(Pb)-free/RoHS-compliant package.
T&R = Tape and reel.
*An “N” on the top mark denotes an industrial device.
DESCRIPTION
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 (V
CCIF
) allows the DS1305 to drive SDO and 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 V
BAT
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 V
CC1
, V
CC2
, or V
BAT
.
The DS1305 supports a direct interface to SPI 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.
DS1305
3 of 22
PIN DESCRIPTION
PIN
DIP TSSOP
NAME
FUNCTION
1 1 V
CC2
Backup Power Supply. This is the secondary power supply pin. In systems
using the trickle charger, the rechargeable energy source is connected to this
pin.
2 2 V
BAT
Battery Input for Standard +3V Lithium Cell or Other Energy Source. If not
used, V
BAT
must be connect to ground. Diodes must not be placed in series
between V
BAT
and the battery, or improper operation will result. UL
recognized to ensure against reverse charging current when used in
conjunction with a lithium battery. See “Conditions of Acceptability” at
www.maxim-ic.com/TechSupport/QA/ntrl.htm
.
3 3 X1
4 5 X2
Connections for Standard 32.768kHz Quartz Crystal. The internal oscillator is
designed for operation with a crystal having a specified load capacitance of
6pF. For more information on crystal selection and crystal layout
considerations, refer to Application Note 58: Crystal Considerations with
Dallas Real-Time Clocks. The DS1305 can also be driven by an external
32.768kHz oscillator. In this configuration, the X1 pin is connected to the
external oscillator signal and the X2 pin is floated.
5
4, 6, 8,
13, 19
N.C. No Connection
6 7
INT0
Active-Low Interrupt 0 Output. The INT0 pin is an active-low output of the
DS1305 that can be used as an interrupt input to a processor. The INT0 pin
can be programmed to be asserted by only Alarm 0 or can be programmed to
be asserted by either Alarm 0 or Alarm 1. The INT0 pin remains low as long
as the status bit causing the interrupt is present and the corresponding interrupt
enable bit is set. The INT0 pin operates when the DS1305 is powered by V
CC1
,
V
CC2
, or V
BAT
. The INT0 pin is an open-drain output and requires an external
pullup resistor.
7 9
INT1
Active-Low Interrupt 1 Output. The INT1 pin is an active-low output of the
DS1305 that can be used as an interrupt input to a processor. The INT1 pin
can be programmed to be asserted by Alarm 1 only. The INT1 pin remains
low as long as the status bit causing the interrupt is present and the
corresponding interrupt enable bit is set. The INT1 pin operates when the
DS1305 is powered by V
CC1
, V
CC2
, or V
BAT
. The INT1 pin is an open-drain
output and requires an external pullup resistor. Both INT0 and INT1 are open-
drain outputs. The two interrupts and the internal clock continue to run
regardless of the level of V
CC
(as long as a power source is present).
8 10 GND Ground
9 11 SERMODE
Serial Interface Mode. The SERMODE pin offers the flexibility to choose
between two serial interface modes. When connected to GND, standard 3-wire
communication is selected. When connected to V
CC
, SPI communication is
selected.
10 12 CE
Chip Enable. The chip-enable signal must be asserted high during a read or a
write for both 3-wire and SPI communication. This pin has an internal 55k
pulldown resistor (typical).
11 14 SCLK
Serial Clock Input. SCLK is used to synchronize data movement on the serial
interface for either the SPI or 3-wire interface.

DS1305EN

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock Serial Alarm RTC 3-Wire
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet