1 of 16
GENERAL DESCRIPTION
The DS1338 serial real-time clock (RTC) is a low-
power, full binary-coded decimal (BCD)
clock/calendar plus 56 bytes of NV SRAM. Address
and data are transferred serially through an I2C
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. The DS1338 has a built-in power-
sense circuit that detects power failures and
automatically switches to the backup supply,
maintaining time and date operation
APPLICATIONS
Handhelds (GPS, POS Terminal)
Consumer Electronics (Set-Top Box, Digital
Recording, Network Appliance)
Office Equipment (Fax/Printer, Copier)
Medical (Glucometer, Medicine Dispenser)
Telecommunications (Router, Switcher, Server)
Other (Utility Meter, Vending Machine, Thermostat,
Modem)
UL is a registered trademark of Underwriters Laborat ori es I nc.
TYPICAL OPERATING CIRCUIT
BENEFITS AND FEATURES
• Completely Manages All Timekeeping
Functions
o RTC Counts Seco nd s, Minutes, Hours,
Date of the Month, Month, Day of the
Week, and Year with Leap-Year
Compensation Valid Up to 2100
o 56-Byte, Batt er y-Backed, Gen eral-
Purpose RAM with Unlimited Writes
o Programmable Square-Wave Output
Signal
• Surface-Mount Package with an Integrated
Crystal (DS1338C) Saves Additional Space
and Simplifies Design
• Interfa ces with Most Microc ontrol le rs
o I2C Serial Interface
• Low-Power Operation Extends Battery
Backup Ru n Time
o Automatic Power-Fail Detec t and Switch
Circuitry
• -40
C to +85
C Industrial Temperature Range
Supports Operation in a Wide Range of
Applications
• Underwriters Laboratories (UL®) Recognized
ORDERING INFORMATION
PART TEMP RANGE PIN-PACKAGE TOP MARK†
″
DS1338U-18+ -40°C to +85°C 8 µSOP
DS1338U-3+ -40°C to +85°C 8 µSOP
DS1338U-33+ -40°C to +85°C 8 µSOP
″
rr = second line, revision level
+ Denotes a lead(Pb)-free/RoHS-compliant dev ic e.
# Denotes a RoHS-compliant device that may include lead that is
exempt under the RoHS requirements. The lead finish is JESD97
category e3, and is compatible with both lead-bas ed 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.
I2C RTC with 56-Byte NV RAM