DS1338 2 I C RTC with 56-Byte NV RAM GENERAL DESCRIPTION BENEFITS AND FEATURES The DS1338 serial real-time clock (RTC) is a low- Completely Manages All Timekeeping power, full binary-coded decimal (BCD) Functions clock/calendar plus 56 bytes of NV SRAM. Address o RTC Counts Seconds, Minutes, Hours, 2 and data are transferred serially through an I C Date of the Month, Month, Day of the interface. The clock/calendar provides seconds, Week, and Year with Leap-Year minutes, hours, day, date, month, and year Compensation Valid Up to 2100 information. The end of the month date is o 56-Byte, Battery-Backed, General- automatically adjusted for months with fewer than 31 Purpose RAM with Unlimited Writes days, including corrections for leap year. The clock o Programmable Square-Wave Output operates in either the 24-hour or 12-hour format with Signal AM/PM indicator. The DS1338 has a built-in power- Surface-Mount Package with an Integrated sense circuit that detects power failures and Crystal (DS1338C) Saves Additional Space automatically switches to the backup supply, and Simplifies Design maintaining time and date operation Interfaces with Most Microcontrollers 2 APPLICATIONS o I C Serial Interface Handhelds (GPS, POS Terminal) Low-Power Operation Extends Battery Consumer Electronics (Set-Top Box, Digital Backup Run Time Recording, Network Appliance) o Automatic Power-Fail Detect and Switch Office Equipment (Fax/Printer, Copier) Circuitry Medical (Glucometer, Medicine Dispenser) -40C to +85C Industrial Temperature Range Telecommunications (Router, Switcher, Server) Supports Operation in a Wide Range of Other (Utility Meter, Vending Machine, Thermostat, Applications Modem) Underwriters Laboratories (UL) Recognized UL is a registered trademark of Underwriters Laboratories Inc. ORDERING INFORMATION PART TEMP RANGE PIN-PACKAGE TOP MARK DS1338Z-18+ -40C to +85C DS1338-18 8 SO (0.150) DS1338Z-3+ -40C to +85C 8 SO (0.150) DS1338-3 DS1338Z-33+ -40C to +85C DS133833 8 SO (0.150) TYPICAL OPERATING CIRCUIT 1338 DS1338U-18+ -40C to +85C 8 SOP rr-18 V CC V R = t /C CC PU r b 1338 DS1338U-3+ -40C to +85C 8 SOP rr-3 CRYSTAL R R 1338 V PU PU CC DS1338U-33+ -40C to +85C 8 SOP rr-33 DS1338C-18 -40C to +85C DS1338C-18 16 SO (0.300) X1 X2 V DS1338C-3 -40C to +85C DS1338C-3 CC 16 SO (0.300) SQW/OUT DS1338C-33 -40C to +85C 16 SO (0.300) DS1338C-33 SCL i rr = second line, revision level DS1338 CPU + Denotes a lead(Pb)-free/RoHS-compliant device. SDA V BAT Denotes a RoHS-compliant device that may include lead that is GND exempt under the RoHS requirements. The lead finish is JESD97 category e3, and is compatible with both lead-based and lead-free soldering processes. A + anywhere on the top mark denotes a lead-free device. A denotes a RoHS-compliant device. Pin Configurations appear at end of data sheet. 19-6019 Rev 4/15 1 of 16 ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Pin Relative to Ground....-0.3V to +6.0V Operating Temperature Range..-40C to +85C Storage Temperature Range...-55C to +125C Lead Temperature (soldering, 10s) .. +260C Soldering Temperature (reflow) . +260C 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 (V = V to V , T = -40C to +85C, unless otherwise noted. Typical values are at T = +25C, unless CC CC(MIN) CC(MAX) A A otherwise noted.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS DS1338-18 1.71 1.8 5.5 Supply Voltage VCC DS1338-3 2.7 3.0 5.5 V DS1338-33 3.0 3.3 5.5 0.7 x VCC + Logic 1 V (Note 2) V IH V 0.3 CC +0.3 x Logic 0 VIL (Note 2) -0.3 V VCC DS1338-18 1.51 1.62 1.71 Power-Fail Voltage VPF DS1338-3 2.45 2.59 2.70 V DS1338-33 2.70 2.82 2.97 V Input Voltage V (Note 2) 1.3 3.0 3.7 V BAT BAT DC ELECTRICAL CHARACTERISTICS (VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at VCC = TYP, T = +25C, unless otherwise noted.) (Note 1) A PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Input Leakage ILI (Note 3) 1 A I/O Leakage ILO (Note 4) 1 A VCC > 2V VOL = 0.4V 3.0 SDA Logic 0 Output I mA OLSDA V < 2V V = 0.2 x V 3.0 CC OL CC VCC > 2V VOL = 0.4V 3.0 mA 1.71V < V < 2V CC 3.0 SQW/OUT Logic 0 Output I OLSQW VOL = 0.2 x VCC 1.3V < VCC < 1.71V 250 A V = 0.2 x V OL CC DS1338-18: V = 1.89V 75 150 CC Active Supply Current DS1338-3: V = 3.30V 110 200 CC I CCA A (Note 5) V = 3.63V 120 200 CC DS1338-33 V = 5.5V 325 CC DS1338-18: V = 1.89V 60 100 CC DS1338-3: V = 3.30V 80 125 CC Standby Current (Note 6) I CCS A V = 3.63V 85 125 CC DS1338-33 V = 5.5V 200 CC V Leakage Current BAT I 25 100 nA BATLKG (VCC Active) 2 of 16