DS1307 2 64 x 8, Serial, I C Real-Time Clock GENERAL DESCRIPTION BENEFITS AND FEATURES The DS1307 serial real-time clock (RTC) is a low- Completely Manages All Timekeeping Functions power, full binary-coded decimal (BCD) clock/calendar o Real-Time Clock Counts Seconds, Minutes, plus 56 bytes of NV SRAM. Address and data are Hours, Date of the Month, Month, Day of the 2 transferred serially through an I C, bidirectional bus. Week, and Year with Leap-Year The clock/calendar provides seconds, minutes, hours, Compensation Valid Up to 2100 day, date, month, and year information. The end of o 56-Byte, Battery-Backed, General-Purpose the month date is automatically adjusted for months RAM with Unlimited Writes with fewer than 31 days, including corrections for leap o Programmable Square-Wave Output Signal year. The clock operates in either the 24-hour or 12- Simple Serial Port Interfaces to Most hour format with AM/PM indicator. The DS1307 has a Microcontrollers built-in power-sense circuit that detects power failures 2 o I C Serial Interface and automatically switches to the backup supply. Timekeeping operation continues while the part Low Power Operation Extends Battery Backup operates from the backup supply. Run Time o Consumes Less than 500nA in Battery- Backup Mode with Oscillator Running TYPICAL OPERATING CIRCUIT o Automatic Power-Fail Detect and Switch V CC V Circuitry CC CRYSTAL 8-Pin DIP and 8-Pin SO Minimizes Required V R R CC PU PU Space Optional Industrial Temperature Range: -40C to X1 X2 V CC +85C Supports Operation in a Wide Range of SQW/OUT SCL Applications CPU DS1307 Underwriters Laboratories (UL) Recognized SDA V BAT GND PIN CONFIGURATIONS = t/C R PU r b TOP VLEW X1 V X1 V CC CC SQW/OUT X2 SQW/OUT X2 V V SCL SCL BAT BAT GND SDA GND SDA SO (150 mils) PDIP (300 mils) ORDERING INFORMATION PART TEMP RANGE VOLTAGE (V) PIN-PACKAGE TOP MARK* DS1307+ 0C to +70C 5.0 8 PDIP (300 mils) DS1307 DS1307N+ -40C to +85C 5.0 8 PDIP (300 mils) DS1307N DS1307Z+ 0C to +70C 5.0 8 SO (150 mils) DS1307 DS1307ZN+ -40C to +85C 5.0 8 SO (150 mils) DS1307N DS1307Z+T&R 0C to +70C 5.0 8 SO (150 mils) Tape and Reel DS1307 DS1307ZN+T&R -40C to +85C 5.0 8 SO (150 mils) Tape and Reel DS1307N +Denotes a lead-free/RoHS-compliant package. *A + anywhere on the top mark indicates a lead-free package. An N anywhere on the top mark indicates an industrial temperature range device. Underwriters Laboratories, Inc. is a registered certification mark of Underwriters Laboratories, Inc. 1 of 14 REV: 3/15 2 DS1307 64 x 8, Serial, I C Real-Time Clock ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Pin Relative to Ground .................................................................................... -0.5V to +7.0V Operating Temperature Range (Noncondensing) Commercial ................................................................................................................................ 0C to +70C Industrial .................................................................................................................................. -40C to +85C Storage Temperature Range ............................................................................................................. -55C to +125C Soldering Temperature (DIP, leads) ........................................................................................ +260C for 10 seconds Soldering Temperature (surface mount)...Refer to the JPC/JEDEC J-STD-020 Specification. Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to the absolute maximum rating conditions for extended periods may affect device reliability. RECOMMENDED DC OPERATING CONDITIONS (T = 0C to +70C, T = -40C to +85C.) (Notes 1, 2) A A PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Supply Voltage V 4.5 5.0 5.5 V CC Logic 1 Input V 2.2 V + 0.3 V IH CC Logic 0 Input V -0.3 +0.8 V IL V Battery Voltage V 2.0 3 3.5 V BAT BAT DC ELECTRICAL CHARACTERISTICS (V = 4.5V to 5.5V T = 0C to +70C, T = -40C to +85C.) (Notes 1, 2) CC A A PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Input Leakage (SCL) I -1 1 A LI I/O Leakage (SDA, SQW/OUT) I -1 1 A LO Logic 0 Output (I = 5mA) V 0.4 V OL OL Active Supply Current I 1.5 mA CCA (f = 100kHz) SCL Standby Current I (Note 3) 200 A CCS V Leakage Current I 5 50 nA BAT BATLKG 1.216 x 1.25 x 1.284 x Power-Fail Voltage (V = 3.0V) V V BAT PF V V V BAT BAT BAT DC ELECTRICAL CHARACTERISTICS (V = 0V, V = 3.0V T = 0C to +70C, T = -40C to +85C.) (Notes 1, 2) CC BAT A A PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS V Current (OSC ON) BAT I 300 500 nA BAT1 SQW/OUT OFF V Current (OSC ON) BAT I 480 800 nA BAT2 SQW/OUT ON (32kHz) V Data-Retention Current BAT I 10 100 nA BATDR (Oscillator Off) WARNING: Negative undershoots below -0.3V while the part is in battery-backed mode may cause loss of data. 2 of 14