DS1306 Serial Alarm Real-Time Clock BENEFITS AND FEATURES PIN CONFIGURATIONS Completely Manages All Timekeeping Functions V 1 20 V CC2 CC1 o Real-Time Clock (RTC) Counts Seconds, 19 N.C. V 2 BAT 32kHz X1 3 18 Minutes, Hours, Date of the Month, 4 17 V N.C. CCIF Month, Day of the Week, and Year with 5 16 SDO X2 SDI Leap-Year Compensation Valid Up to N.C. 6 15 14 SCLK INT0 7 2100 8 13 N.C. INT1 o 96-Byte, Battery-Backed NV RAM for 9 12 CE 1Hz 10 11 SERMODE GND Data Storage o Two Time-Of-Day Alarms, TSSOP (4.4mm) Programmable on Combination of Seconds, Minutes, Hours, and Day of the 1 16 V V CC1 CC2 Week 15 2 V 32kHz BAT o 1Hz and 32.768kHz Clock Outputs 3 14 X1 V CCIF 4 13 Standard Serial Port Interfaces with Most SDO X2 Microcontrollers 5 12 SDI INT0 6 11 o Supports Motorola SPI (Serial Peripheral INT1 SCLK Interface) Modes 1 and 3 or Standard 7 10 CE 1Hz 3-Wire Interface 8 9 GND SERMODE o Burst Mode for Reading/Writing DIP (300 mils) Successive Addresses in Clock/RAM Multiple Power Supply Pins Ease Adding Battery for Backup o Dual-Power Supply Pins for Primary and Backup Power Supplies o Optional Trickle Charge Output to Backup Supply o 2.0V to 5.5V Operation Optional Industrial Temperature Range: -40C to +85C Supports Operation in a Wide Range of Applications 20-Pin TSSOP Minimizes Required Space Underwriters Laboratory (UL) Recognized UL is a registered trademark of Underwriters Laboratories Inc. 19-5056 Rev 4/15 1 of 22 DS1306 ORDERING INFORMATION PART TEMP RANGE PIN-PACKAGE TOP MARK* DS1306 0C to +70C 16 DIP (300 mils) DS1306 DS1306+ 0C to +70C 16 DIP (300 mils) DS1306 + DS1306N -40C to +85C 16 DIP (300 mils) DS1306N DS1306N+ 0C to +70C 16 DIP (300 mils) DS1306N + DS1306E 0C to +70C 20 TSSOP (173 mils) DS1306 DS1306E+ 0C to +70C 20 TSSOP (173 mils) DS1306 + DS1306EN -40C to +85C 20 TSSOP (173 mils) DS1306N DS1306EN+ -40C to +85C 20 TSSOP (173 mils) DS1306N + DS1306EN/T&R -40C to +85C 20 TSSOP (173 mils) DS1306N DS1306EN+T&R -40C to +85C 20 TSSOP (173 mils) DS1306N + DS1306E/T&R 0C to +70C 20 TSSOP (173 mils) DS1306 DS1306E+T&R 0C to +70C 20 TSSOP (173 mils) DS1306 + +Denotes a lead(Pb)-free/RoHS-compliant package T&R = Tape and reel. *An N on the top mark indicates an industrial device. PIN DESCRIPTION PIN NAME FUNCTION TSSOP DIP Backup Power Supply. This is the secondary power supply pin. In systems 1 1 V using the trickle charger, the rechargeable energy source is connected to this CC2 pin. Battery Input for Any Standard +3V Lithium Cell or Other Energy Source. If not used, V must be connected to ground. Diodes must not be BAT placed in series between V and the battery, or improper operation will BAT 2 2 V BAT 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. Connections for Standard 32.768kHz Quartz Crystal. The internal oscillator is designed for operation with a crystal having a specified load 3 3 X1 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 DS1306 can also be driven by an 5 4 X2 external 32.768kHz oscillator. In this configuration, the X1 pin is connected to the external oscillator signal and the X2 pin is floated. Active-Low Interrupt 0 Output. The INT0 pin is an active-low output of the DS1306 that can be used as an interrupt input to a processor. The INT0 pin can be programmed to be asserted by Alarm 0. The INT0 pin remains INT0 7 5 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 DS1306 is powered by V , V , or V . The INT0 pin is an open-drain CC1 CC2 BAT output and requires an external pullup resistor. Interrupt 1 Output. The INT1 pin is an active-high output of the DS1306 that can be used as an interrupt input to a processor. The INT1 pin can be programmed to be asserted by Alarm 1. When an alarm condition is present, 8 6 INT1 the INT1 pin generates a 62.5ms active-high pulse. The INT1 pin operates only when the DS1306 is powered by V or V . When active, the INT1 CC2 BAT pin is internally pulled up to V or V . When inactive, the INT1 pin is CC2 BAT 2 of 22