DS2417 1-Wire Time Chip with Interrupt FEATURES PIN ASSIGNMENT Real-time clock (RTC) with fully compatible 1 6 1-Wire MicroLAN interface TSOC 150 mil 2 5 Uses the same binary time/date representation Top view as the DS2404 but with 1 second resolution 3 4 Clock accuracy 2 minutes per month at 25C 6 5 4 Flip Chip, Top View Programmable interrupt output for system with Laser Mark, wakeup Contacts Not Visible. DS2417 Communicates at 16.3kbits per second rrd = Revision/Date rrd xx Unique, factory-lasered and tested 64-bit reg- xx = Lot Number istration number (8-bit family code + 48-bit 1 2 3 serial number + 8-bit CRC tester) assures ab- solute traceability because no two parts are alike PIN DESCRIPTION 8-bit family code specifies device communi- Pin 1 GND cation requirements to bus master Pin 2 1-Wire Built-in multidrop controller ensures com- Pin 3 INT patibility with other MicroLAN products Pin 4 V DD Operates over a wide V voltage range of DD Pin 5 X1 2.5V to 5.5V from -40C to +85C Pin 6 X2 Low power, 200nA typically with oscillator running ORDERING INFORMATION Compact, low cost 6-pin TSOC and Flip-Chip DS2417P 6-pin TSOC package surface mount package DS2417P/T&R TSOC Package, Tape & Reel DS2417P+ 6-pin TSOC Package DS2417P+T&R TSOC Package, Tape & Reel DS2417X Flip-Chip, 10k Tape & Reel + Denotes a lead(Pb)-free/RoHS-compliant package. DESCRIPTION The DS2417 1-Wire Time Chip with Interrupt offers a simple solution for storing and retrieving vital time information with minimal hardware. The DS2417 contains a unique lasered ROM and a real-time clock/calendar implemented as a binary counter. Only one pin is required for communication with the device. Utilizing a backup energy source, the data is nonvolatile and allows for stand-alone operation. The DS2417 features can be used to add functions such as calendar, time and date stamp, and logbook to any type of electronic device or embedded application that uses a microcontroller. 1 of 15 19-8222 Rev 2 3/16 DS2417 OVERVIEW The DS2417 has two main data components: 1) 64-bit lasered ROM, and 2) real-time clock counter (Figure 1). The real-time clock utilizes an on-chip oscillator that is connected to an external 32.768kHz crystal. The hierarchical structure of the 1-Wire protocol is shown in Figure 2. The bus master must first provide one of four ROM function commands: 1) Read ROM, 2) Match ROM, 3) Search ROM, 4) Skip ROM. The protocol for these ROM functions is described in Figure 7. After a ROM function command is successfully executed, the real-time clock functions become accessible and the master may then provide one of the real-time clock function commands. The protocol for these commands is described in Figure 5. All data is read and written least significant bit first. DETAILED PIN DESCRIPTION PIN SYMBOL DESCRIPTION 1 GND Ground Pin 2 1-Wire Data input/output Open drain. 3 Interrupt pin Open drain. INT 4 V Power input pin. 2.5V to 5.5V. DD 5, 6 X1, X2 Crystal pins. Connections for a standard 32.768kHz quartz crystal, EPSON part number C-002RX or C-004R (be sure to request 6pF load capacitance). NOTE: X1 and X2 are very high impedance nodes. It is recommended that they and the crystal be guard-ringed with ground and that high frequency signals be kept away from the crystal area. See Figure 10 and Application Note 58 for de- tails. BLOCK DIAGRAM Figure 1 INT ROM 64-BIT 1-WIRE FUNCTION LASERED CONTROL ROM CLOCK FUNCTION INT CONTROL READ/WRITE BUFFER INT. GENERATOR RTC COUNTER (32-BIT) OSCILLATOR 32.768 kHz V DD 1 Hz CONTROL OSC./DIVIDER X1 X2 Page 2 of 15