REAL-TIME CLOCKS MIXED-SIGNAL DESIGN GUIDE Data Sheets Application Notes Free Samples If It s Electronic, It Needs a Clock 8th EDITION No matter what you design, you need your system to accurately keep time. Dallas Semiconductor has been the leader in real-time clock (RTC) design for over ten years. Our devices offer the most integration and the richest feature sets on the market. Multiple interface options, packaging variety, and integrated memory give designers ideal solutions for their applications. And did we mention that we provide the most accurate solutions in the industry? In fact, let us prove it to you. Visit www.maxim-ic.com/rtc-demo and see for yourself. Our Real-Time Clocks... Store System-Configuration Data Time-Stamp Events Monitor Systems Control System Power Store Warranty Data Buffer Data Provide Time-of-Day Alarms Page 2 Page 3 Page 4 Page 5 Page 6 Accurate Timing Consumer Electronics Medical Devices Industrial Controls Global Positioning Systems Page 7 Page 8 Page 9 Page 10 Page 11 Telecommunications Utility Metering Office Automation Automotive Test and Measurement The Maxim logo is a registered trademark of Maxim Integrated Products, Inc. The Dallas Semiconductor logo is a registered trademark of Dallas Semiconductor Corp. 2006 Maxim Integrated Products, Inc. All rights reserved.
Extremely Accurate Timing Dallas Semiconductor offers a unique line of RTCs with built-in temperature compensation. By automatically adjusting the crystal frequency based on temperature, these parts allow the system to keep time to within one minute per year, thereby eliminating the need to periodically reset the system time. RTC Integrates Memory, Temp Sensor, and Crystal ±1Min/Year Accuracy Plus 236 Bytes of User SRAM TIMING ACCURACY REAL-TIME CLOCK ±2MIN/YR DEVICE LOGIC I 2 C PORT CRYSTAL OSCILLATOR TEMPERATURE SENSOR ±3 C 236 BYTES OF USER SRAM BATTERY- BACKED SRAM TEMPERATURE ACCURACY 10 m m 20-SO x 13 m m CRYSTAL DS3232 CALIBRATION MEMORY MANAGEMENT V BAT GND AUTOMATIC SWITCHING ±1.8Min/Year Accuracy (-40 C to +85 C) ±1Min/Year Accuracy (0 C to +40 C) +2.0V to +5.5V Power Supply I 2 C Serial-Control Interface Low (< 4µA) Battery- Backed Current Automatic Power-Fail Detect and Switch Circuitry Digital-Temperature- Sensor Output Operating Temp Range ( C) Package Price ($) DS3231 I 2 C/400k 16-SO with 2.25 DS3232 I 2 C/400k SRAM, 236 crystal 2.35 DS3234 SPI 3.3 BCD/1 SRAM, 256 Battery input, TOD alarm, square-wave output, reset input/output 2.40 DS32B35* I 2 C/400k FRAM, 2k 20-SO with crystal 3.42 DS32C35* I 2 C/400k FRAM, 8k 3.75 SPI is a trademark of Motorola, Inc. *Future product contact factory for availability. 1000-up recommended resale. Prices provided are for design guidance and are FOB USA. International prices will differ due to local duties, taxes, and exchange rates. Not all packages are offered in 1k increments, and some may require minimum order quantities. 2
Consumer Electronics Dallas Semiconductor offers RTCs with different features and prices to meet the needs and budget constraints of the consumer market. Available solutions include the digital-input DS1375 with integrated crystal, the single-supply DS1337 with simple RTC functions, the dual-supply DS1338 with additional features, and the parallel-bus DS1558 with a watchdog timer and NV SRAM control. I 2 C Serial RTC with Two Alarms 32.768kHz RTC HH:MM:SS MM/DD/YY DAY OF WEEK ALARM REGISTERS SQW/INTB µp REGISTERS INTA DS1337 8-µSOP 4.6 m m x 3.0 m m Available in Surface-Mount Package with Integrated Crystal (DS1337C) I 2 C Serial-Control Interface Two Time-of-Day Alarms Oscillator Stop Flag Programmable Square-Wave Output Defaults to 32kHz on Power-Up 8-Pin DIP, SO, or µsop V OSC (min)/ I CCT DS1337 1.8 to 4.0 BCD/1 1.3/600nA TOD alarm, interrupt output, square-wave output, oscillator stop flag DS1338 I 2 3.3 BCD/1 SRAM, 56 1.3/500nA Battery input, square-wave output C/ 400k Watchdog timer, watchdog-strobe input, TOD alarm, DS1371 1.8 to 4.0 Binary/1 1.3/700nA interrupt output, square-wave output DS1375 1.7 to 5.5 BCD/1 SRAM, 16 1.7/500nA TOD alarm, interrupt output, square-wave output DS1558 Parallel 3.3/5.0 STD/1 BCD/1 Battery input, TOD alarm, interrupt output, reset output, external RAM control 3
Medical Devices Portable battery-backed medical devices require small packages to reduce overall system size and low battery-backed currents to maximize battery life. Dallas Semiconductor offers devices in small packages, such as the 8-/10-pin µsop and 28-pin TSSOP. Many of our clock oscillators keep time down to +1.3V with a typical current drain of less than 1µA. RTC Integrates Crystal and Programmable Trickle Charger Keeps Time Down to +1.3V BATTERY OR SUPER CAP RTC HH:MM:SS MM/DD/YY DAY OF WEEK REGISTERS FT/OUT µp TRICKLE CHARGER CRYSTAL R1 250Ω R2 2kΩ V BAC DS1340C R3 4kΩ Fast (400kHz) I 2 C Interface Software Clock Calibration Automatic Power-Fail Detect and Switch Circuitry Oscillator Stop Flag Timekeeping-Voltage Ranges Down to +1.3V Three Operating-Voltage Ranges (+1.8V, +3V, and +3.3V) Available in Surface-Mount Package with Integrated Crystal (DS1340C) V OSC (min)/ I CCT XTAL (pf) DS1337 1.3/600nA 6 Operating Temp Range ( C) DS1338 1.3/500nA 6 Battery input, square-wave output TOD alarm, interrupt output, square-wave output, oscillator stop flag DS1339 1.3/700nA 6 Battery input, trickle charger, TOD alarm, interrupt output, square-wave output, oscillator stop flag DS1340 1.3/800nA 12.5 Battery input, clock calibration, frequency-test output, square-wave output, trickle charger DS1374 1.3/600nA 6 Battery input, trickle charger, watchdog timer, TOD alarm, interrupt output, square-wave output, reset input/output, oscillator stop flag DS1388 Battery input, trickle charger, watchdog timer, reset input/output DS1501 Battery input, watchdog timer, TOD alarm, periodic alarm, interrupt output, square-wave output, reset input/output, kick-start input DS3231 Battery input, TOD alarm, square-wave output, reset input/output 4
Industrial Controls Industrial controls often function in hostile environments, making module products that isolate the battery and crystal from the outside particularly desirable. Dallas Semiconductor offers modules with the crystal and/or battery included. Devices are available in I 2 C, SPI, muxbus, or bytewide interfaces. Surface-Mountable RTC Module Contains Integrated Crystal and Battery 24-EDIP 17.78mm x 33.9mm BGA MODULE 11.8mm x 15.3mm Functionally Compatible with DS12887 Capable of IR Reflow +5.0V or +3.3V Operation Automatic Power Switching -40 C to +85 C Temp Range DS12CR887 DS12R887 Motorola / Intel mux Motorola/ Intel mux 3.3/5 STD/1 SRAM, 114 3.3/5 STD/1 SRAM, 114 DS1339 I 2 C/400k 2.0/3.0/3.3 BCD/1 DS1553 Parallel 3.3/5.0 Y2K/1 SRAM, 8k DS1557 Parallel 3.3/5.0 Y2K/1 SRAM, 512k TOD alarm, periodic alarm, interrupt output, square-wave output, reset input TOD alarm, periodic alarm, interrupt output, square-wave output, reset input, RAM-clear input Battery input, trickle charger, TOD alarm, interrupt output, square-wave output, oscillator stop flag Watchdog timer, TOD alarm, interrupt output, reset output DS3232 I 2 C/400k SRAM, 236 DS3234 SPI SRAM, 256 DS32B35* I 2 C/400k 3.3 BCD/1 FRAM, 2k Battery input, TOD alarm, square-wave output, reset input/output DS32C35* I 2 C/400k FRAM, 8k Motorola is a registered trademark of Motorola, Inc. Intel is a registered trademark of Intel Corp. *Future product contact factory for availability. 5
Global Positioning Systems In order to reduce the time required for initial satellite acquisition, a global positioning system (GPS) requires a backup real-time clock. Because this clock is only read during system boot, low cost and a low battery-backup current are the main considerations for this RTC. Dallas Semiconductor offers a variety of parts that operate down to +1.3V with current draws less than 1µA. I 2 C Real-Time Clock in Binary- Coded-Decimal Format Keeps Time Down to +1.3V µp 32.768kHz RTC OSCILLATOR 32-BIT ETC DS1374 TRICKLE CHARGER AND SWITCHING SUPER CAP OR RECHARGEABLE BATTERY RST ALARM OR WATCHDOG COUNTER INT 32-Bit Elapsed-Time Counter 24-Bit Alarm or Watchdog Counter Programmable Square-Wave Output Power-on-Reset Output Programmable Trickle Charger Oscillator Operates Down to +1.3V I 2 C Serial-Control Interface Oscillator Stop Flag DS1318 Parallel 3.3 Battery input, periodic alarm, interrupt output, square-wave output, elapsed-time counter Package Price ($) 24-TSSOP 1.32 DS1337 1.8 to 4.0 TOD alarm, interrupt output, square-wave output, oscillator stop flag 0.88 8-SO/µSOP, DS1338 3.3 Battery input, square-wave output 1.12 16-SO with crystal DS1339 I 2 C/400k 2.0/3.0/3.3 DS1371 1.8 to 4.0 DS1374 1.8/3.0/3.3 DS1670 3-wire/ 500k to 2M 3.3 Battery input, trickle charger, TOD alarm, interrupt output, square-wave output, oscillator stop flag Watchdog timer, watchdog-strobe input, TOD alarm, interrupt output, square-wave output Battery input, watchdog timer, TOD alarm, interrupt output, square-wave output, reset input/output, oscillator stop flag Battery input, watchdog timer, watchdog-strobe input, TOD alarm, interrupt output, reset output, ADC 1.12 8-µSOP 0.88 10-µSOP 1.25 20-TSSOP 3.44 DS1672 I 2 C/400k 2.0/3.0/3.3 Battery input, trickle charger, reset output 8-SO/µSOP 1.12 1000-up recommended resale. Prices provided are for design guidance and are FOB USA. International prices will differ due to local duties, taxes, and exchange rates. Not all packages are offered in 1k increments, and some may require minimum order quantities. 6
Telecommunications There is a widespread need for the local time stamping of events in telecommunication systems. This need can be supported by either a standalone RTC that includes control of external SRAM or by an RTC module that includes nonvolatile (NV) memory. Dallas Semiconductor offers stand-alone RTCs with NV SRAM control in phantom (DS1315), 3-wire (DS1670, DS1673, DS1680), or parallel (DS1500, DS1558) interfaces. Module devices such as the DS1251 integrate SRAM, battery, and crystal in a single package. Watchdog RTC Offers Nonvolatile SRAM Control Choose Between a Stand-Alone RTC or Integrated-Module Solution STAND-ALONE RTC + DISCRETE COMPONENTS CHOOSE YOURCO PACKAGE INTEGRATED MODULES DS155x DS1558 LER DIP MODULE 32.768kHz 3V CRYSTAL BATTERY SRAM CAP AVAILABLE SRAM DENSITIES 8k x 8 32k x 8 128k x 8 512k x 8 Integrated RTC, Power- Fail Control Circuit, and NV SRAM Controller Clock Registers Are Accessed Identically to the SRAM Century Register Precision Power-On Reset Programmable Watchdog Timer and RTC Alarm Battery-Voltage-Level Indicator Flag Power-Fail Write Protection Allows ±10% Power-Supply Tolerance UL Recognized Component Operating Temp Range ( C) DS1251 Parallel 5.0 STD/(1/100) SRAM, 512k 0 to +70 Reset input DS1315 Phantom 3.3/5.0 Y2K/(1/100) Battery input, external RAM control DS1500 5.0 Y2K/1 SRAM, 256 Battery input, watchdog timer, TOD alarm, periodic alarm, interrupt output, square-wave output, reset output, external RAM control, wake-up, kick-start input DS1501 Battery input, watchdog timer, TOD alarm, periodic alarm, interrupt output, 3.3/5.0 Y2K/1 SRAM, 256 Parallel square-wave output, reset output, wake-up, kick-start input DS1557 3.3/5.0 Y2K/1 SRAM, 512k 0 to +70 Watchdog timer, TOD alarm, interrupt output, reset output DS1558 3.3/5.0 BCD/1 Battery input, watchdog timer, TOD alarm, interrupt output, reset output, external RAM control DS1670 3-wire/ 500k to 2M 3.3 BCD/1 0 to +70 Battery input, watchdog timer, watchdog-strobe input, TOD alarm, interrupt output, reset output, external RAM control, ADC 7
Utility Metering Dallas Semiconductor offers a unique line of RTCs with built-in temperature compensation. By automatically adjusting the crystal frequency based on temperature, these parts allow the system to keep time to within one minute per year, thereby eliminating the need to periodically reset the system time. Industry s Most Accurate RTC The DS3231 provides better than ±2min/year accuracy (< ±3.5ppm) over the entire industrial temperature range (-40 C to +85 C) and better than ±1min/year (< ±2.0ppm) in the 0 C to +40 C temperature range. Designed for low-power applications, it supports supply voltages from +2.3V to +5.5V. An I 2 C serial-control interface provides access to time and temperature. DS3231 INT/SQW +3.3V ±10% V BAT BATTERY +2.0V TO +5.5V GND µp Low (< 3µA) Battery-Backed Current Fast (400kHz) I 2 C Interface Programmable Square-Wave Output Automatic Power-Fail Detect and Switch Circuitry ±2 C Accurate Digital Temperature-Sensor Output 16-Pin SO with Integrated Crystal Operating Temp Range ( C) DS1318 Battery input, periodic alarm, interrupt output, square-wave output, elapsed-time counter DS1338 SRAM, 56 Battery input, square-wave output DS1339 Battery input, trickle charger, TOD alarm, interrupt output, square-wave output, oscillator stop flag DS1340 Battery input, clock calibration, frequency-test output DS1374 Battery input, trickle charger, watchdog timer, TOD alarm, interrupt output, square-wave output, reset input/output, oscillator stop flag DS1390 Battery input, trickle charger, TOD alarm, square-wave output DS1391 Battery input, trickle charger, TOD alarm, reset input/output DS3231 DS3232 SRAM, 236 Battery input, TOD alarm, square-wave output, reset input/output DS32C35* FRAM, 8k *Future product contact factory for availability. For a Live Demo of the Industry s Most Accurate RTC, Visit: www.maxim-ic.com/rtc-demo 8
Office Automation A variety of processors and chipsets are used in office equipment designs, and designers typically want to reduce the number of peripheral ICs. Our integrated solutions offer features that help reduce system chip count, including a trickle charger to maintain a backup capacitor, scratch-pad memory for system configuration, and a watchdog timer. A variety of interfaces are available to meet system needs. I 2 C Serial RTC Provides System Flexibility with Multiple Programmable Available in 8-Pin µsop or 16-Pin SO with Crystal X1 X2 OSCILLATOR AND DIVIDER DS1339 RTC ALARM 1 V BACKUP LOGIC ALARM 2 SQW/INT GND, STATUS, TRICKLE CHARGER SERIAL INTERFACE ADDRESS REGISTER I 2 C Serial-Control Interface Two Time-of-Day Alarms Programmable Square-Wave Output Oscillator Stop Flag Automatic Power-Fail Detect and Switch Circuitry Trickle-Charge Capability UL Recognized Component DS1339 2.0/3.0/3.3 Trickle charger, TOD alarm, interrupt output, square-wave output, oscillator stop flag DS1340 1.8/3.0/3.3 Battery input DS1374 I 2 C/400k 1.8/3.0/3.3 Trickle charger, watchdog timer, TOD alarm, interrupt output, square-wave output, reset input/output, oscillator stop flag DS1388 3.0/3.3/5.0 Trickle charger, watchdog timer, reset input/output DS1390 SPI/1M to 4M Trickle charger, TOD alarm, square-wave output DS1391 SPI/1M to 4M Trickle charger, TOD alarm, reset input/output 1.8/3.0/3.3/5.0 DS1392 3-wire Trickle charger, TOD alarm, interrupt output, square-wave output DS1393 3-wire Trickle charger, TOD alarm, square-wave output, reset input/output DS1501 Parallel 3.3/5.0 Watchdog timer, TOD alarm, periodic alarm, interrupt output, square-wave output, reset output, wake-up, kick-start input DS1553 Parallel 3.3/5.0 Watchdog timer, TOD alarm, interrupt output, reset output 9
Automotive As the electronics in automobiles become more complex and varied, the need for time-stamping events and local data storage is growing rapidly. Dallas Semiconductor offers a variety of data-storage mediums for various local data-storage functions. Our accurate RTCs can be used as a central time-base reference by automotive processors. Extremely Accurate RTC Supports µps Using SPI-Compatible Interface ±1Min/Year Accuracy at 0 C to +40 C The DS3234 provides accuracies of better than ±1.8min/year (< ±3.5ppm) over the -40 C to +85 C industrial temperature range and ±1min/year (< ±2.0ppm) over the 0 C to +40 C temperature range. The DS3234 supports embedded system applications that control and communicate with peripheral devices through an SPI-compatible interface, which also provides access to time, temperature, and memory. TIMING ACCURACY REAL-TIME CLOCK DEVICE LOGIC SPI PORT DOUT DIN K CS INT/SQW RST 32kHz TEMPERATURE ACCURACY CRYSTAL OSCILLATOR CRYSTAL TEMPERATURE SENSOR CALIBRATION MEMORY 236 BYTES OF USER SRAM MANAGEMENT V BAT GND BATTERY- BACKED SRAM DS3234 AUTOMATIC SWITCHING SPI Interface Enables Compatibility with Motorola Processors Integrated Crystal Eliminates User Calibration Automatic Power-Fail Detect and Switch Circuitry 300-mil, 20-Pin SO Package DS1337 DS1338 1.8 to 4.0 V OSC (min)/ I CCT DS3231 DS3232 BCD/1 SRAM, 236 3.3 DS3234 SRAM, 256 Operating Temp Range ( C) Package *Future product contact factory for availability. 1000-up recommended resale. Prices provided are for design guidance and are FOB USA. International prices will differ due to local duties, taxes, and exchange rates. Not all packages are offered in 1k increments, and some may require minimum order quantities. Price ($) 1.3/600nA TOD alarm, square-wave output 8-SO/µSOP, 0.88 16-SO with crystal SRAM, 56 1.3/500nA Battery input, square-wave output 1.12 Battery input, square-wave output, reset input/output 16-SO with crystal 20-SO with crystal DS32B35* FRAM, 2k 3.42 DS32C35* FRAM, 8k 3.75 2.25 2.35 2.40 10
Test and Measurement System-configuration data for test and measurement equipment needs to be stored in nonvolatile memory. This need is heightened by the push to smaller system sizes, which limit the space available for backup batteries. Our RTCs are available: with onboard SRAM, EEPROM, or FRAM; with control of external SRAM; or in module packages with battery and SRAM. Reduce PCB Requirements by 80% Compared to Battery-Backed SRAM Memory with SRAM Speed and No Write-Cycle Limits DS32C35* 32.768kHz X1 X2 RTC V BAT RST µc Li+ EEPROM/ FLASH RESET DS1315 Phantom 3.3/5.0 Y2K/(1/100) Battery input, external RAM control DS1318 Parallel 3.3 Binary/244µ Battery input, periodic alarm, interrupt output, square-wave output, elapsedtime counter DS1338 I 2 C/400k 3.3 BCD/1 SRAM, 56 Battery input, square-wave output DS1500 Parallel 5.0 Y2K/1 SRAM, 256 Battery input, watchdog timer, TOD alarm, periodic alarm, interrupt output, square-wave output, reset output, external RAM control, wake-up, kick-start input DS1682 I 2 C/400k 2.5/5.5 Binary/1 EEPROM, 10 TOD alarm, interrupt output DS1743 SRAM, 8k DS1744 DS1746 Parallel 3.3/5.0 Y2K/1 SRAM, 32k SRAM, 128k Reset output, battery-voltage-level indicator flag, power-fail write protection DS1747 SRAM, 512k DS32C35 I 2 C/400k 3.3 BCD/1 FRAM, 8k Battery input, TOD alarm, square-wave output, reset input/output *Future product contact factory for availability. 11