DS1646/DS1646P Nonvolatile Timekeeping RAM www.dalsemi.com FEATURES PIN ASSIGNMENT Integrates NV SRAM, real time clock, crystal, power-fail control circuit and lithium energy source Clock registers are accessed identically to the static RAM. These registers are resident in the eight top RAM locations Totally nonvolatile with over 10 years of operation in the absence of power Access time of 120 ns and 150 ns BCD coded year, month, date, day, hours, minutes, and seconds with leap year compensation valid up to 2100 Power-fail write protection allows for 10% VCC power supply tolerance DS1646 only (DIP Module) - Standard JEDEC byte-wide 128k x 8 RAM pinout DS1646P only (PowerCap Module Board) - Surface mountable package for direct connection to PowerCap containing battery and crystal - Replaceable battery (PowerCap) - Power-fail output - Pin-for-pin compatible with other densities of DS164XP Timekeeping RAM NC A16 A14 A12 A7 A6 A5 A4 A3 A2 A1 A0 1 2 3 4 5 6 7 8 9 10 11 12 32 31 30 29 28 27 26 25 24 23 22 21 V CC A15 NC WE A13 A8 A9 A11 OE A10 CE DQ7 DQ0 13 20 DQ6 DQ1 DQ2 14 19 15 DQ5 DQ4 GND 16 18 17 DQ3 32-PIN ENCAPSULATED PACKAGE NC A15 A16 PFO V CC WE OE CE DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 X1 GND V BAT 16 17 X2 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 34-PIN POWERCAP MODULE BOARD (USES DS9034PCX POWERCAP) ORDERING INFORMATION DS1646-XXX 32-pin DIP module -120 120 ns access -150 150 ns access *DS1646P-XXX 34-pin PowerCap Module Board -120 120 ns access -150 150 ns access *DS9034PCX Power Cap (Required; must be ordered separately) 1 of 11 080299 NC NC A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 PIN DESCRIPTION A0-A16 CE OE WE VCC GND - Address Input - Chip Enable - Output Enable - Write Enable - +5 Volts - Ground DQ0-DQ7 NC PFO X1, X2 VBAT - Data Input/Output - No Connection - Power-fail Output (DS1646P only) - Crystal Connection - Battery Connection DESCRIPTION The DS1646 is a 128k x 8 nonvolatile static RAM with a full-function real time clock, which are both accessible in a byte-wide format. The nonvolatile timekeeping RAM is functionally equivalent to any JEDEC standard 128k x 8 SRAM. The device can also be easily substituted for ROM, EPROM and EEPROM, providing read/write nonvolatility and the addition of the real time clock function. The real time clock information resides in the eight uppermost RAM locations. The RTC registers contain year, month, date, day, hours, minutes, and seconds data in 24-hour BCD format. Corrections for the day of the month and leap year are made automatically. The RTC clock registers are double-buffered to avoid access of incorrect data that can occur during clock update cycles. The double-buffered system also prevents time loss as the timekeeping countdown continues unabated by access to time register data. The DS1644 also contains its own power-fail circuitry, which deselects the device when the VCC supply is in an out-oftolerance condition. This feature prevents loss of data from unpredictable system operation brought on by low VCC as errant access and update cycles are avoided. PACKAGES The DS1644 is available in two packages: 32-pin DIP and 34-pin PowerCap module. The 32-pin DIP style module integrates the crystal, lithium energy source, and silicon all in one package. The 34-pin PowerCap Module Board is designed with contacts for connection to a separate PowerCap (DS9034PCX) that contains the crystal and battery. This design allows the PowerCap to be mounted on top of the DS1646P after the completion of the surface mount process. Mounting the PowerCap after the surface mount process prevents damage to the crystal and battery due to the high temperatures required for solder reflow. The PowerCap is keyed to prevent reverse insertion. The PowerCap Module Board and PowerCap are ordered separately and shipped in separate containers. The part number for the PowerCap is DS9034PCX. CLOCK OPERATIONS - READING THE CLOCK While the double-buffered register structure reduces the chance of reading incorrect data, internal updates to the DS1646 clock registers should be halted before clock data is read to prevent reading of data in transition. However, halting the internal clock register updating process does not affect clock accuracy. Updating is halted when a 1 is written into the read bit, the 7th most significant bit in the control register. As long as 1 remains in that position, updating is halted. After a halt is issued, the registers reflect the count, that is day, date, and time that was current at the moment the halt command was issued. However, the internal clock registers of the double-buffered system continue to update so that the clock accuracy is not affected by the access of data. All of the DS1646 registers are updated simultaneously after the clock status is reset. Updating is within a second after the read bit is written to 0. 2 of 11 080299 BLOCK DIAGRAM DS1646 Figure 1 TRUTH TABLE DS1646 Table 1 VCC 5 VOLTS 10% <4.5 VOLTS >VBAT 4.5 volts) the DS1646 can be accessed as described above with read or write cycles. However, when VCC is below the power-fail point VPF (point at which write protection occurs) the internal clock registers and RAM are blocked from access. This is accomplished internally by inhibiting access via the CE signal. At this time the power-fail output signal ( PFO ) will be driven active low and will remain active until VCC returns to nominal levels. When VCC falls below the level of the internal battery supply, power input is switched from the VCC pin to the internal battery and clock activity, RAM, and clock data are maintained from the battery until VCC is returned to nominal level. 5 of 11 080299 ABSOLUTE MAXIMUM RATINGS* Voltage on Any Pin Relative to Ground Operating Temperature Storage Temperature Soldering Temperature * -0.3V to +7.0V 0C to 70C -20C to +70C 260C for 10 seconds (See Note 7) This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability. RECOMMENDED DC OPERATING CONDITIONS PARAMETER Supply Voltage Logic 1 Voltage All Inputs Logic 0 Voltage All Inputs SYMBOL VCC VIH VIL DC ELECTRICAL CHARACTERISTICS PARAMETER Average VCC Power Supply Current TTL Standby Current ( CE =VIH) CMOS Standby Current ( CE =VCC-0.2V) Input Leakage Current (any input) Output Leakage Current Output Logic 1 Voltage (IOUT = -1.0 mA) Output Logic 0 Voltage (IOUT = +2.1 mA) Write Protection Voltage MIN 4.5 2.2 -0.3 (0C to 70C) TYP 5.0 MIN IIL IOL VOH -1 -1 2.4 TYP 3 2 VOL 6 of 11 UNITS V V V NOTES 1 (0C tA 70C; VCC=5.0V 10%) SYMBOL ICC1 ICC2 ICC3 VPF MAX 5.5 VCC+0.3 0.8 4.0 4.25 MAX 85 6 4.0 UNITS mA mA mA +1 +1 A A V 0.4 V 4.5 V 080299 NOTES 2, 3 2, 3 2, 3 (0C to 70C; V CC = 5.0V 10%) AC ELECTRICAL CHARACTERISTICS PARAMETER Read Cycle Time Address Access Time CE Access Time CE Data Off Time Output Enable Access Time Output Enable Data Off Time Output Enable to DQ Low-Z CE to DQ Low-Z Output Hold from Address Write Cycle Time Address Setup Time CE Pulse Width Address Hold from End of Write Write Pulse Width WE Data Off Time WE or CE Inactive Time Data Setup Time Data Hold Time High SYMBOL tRC tAA tCEA tCEZ tOEA tOEZ tOEL tCEL tOH tWC tAS tCEW tAH1 tAH2 tWEW tWEZ tWR tDS tDH1 tDH2 DS1251Y-120 MIN MAX 120 120 120 40 100 40 5 5 5 120 0 100 5 30 75 40 10 85 0 25 DS1251Y-150 MIN MAX 150 150 150 50 120 50 5 5 5 150 0 120 5 30 90 50 10 110 0 25 UNITS ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns NOTES 5 6 5 6 AC TEST CONDITIONS Input Levels: Transition Times: 0V to 3V 5 ns CAPACITANCE PARAMETER Capacitance on all pins (except DQ) Capacitance on DQ pins (t A = 25C) SYMBOL CI CDQ MIN TYP MAX 7 10 AC ELECTRICAL CHARACTERISTICS (POWER-UP/DOWN TIMING) PARAMETER CE or WE at VIH before Power-Down VPF (Max) to VPF (Min) VCC Fall Time VPF (Min) to VSO VCC Fall Time VSO to VPF (Min) VCC Rise Time VPF (Min) to VPF (Max) VCC Rise Time Power-Up Expected Data Retention Time (Oscillator On) SYMBOL tPD tF tFB tRB tR tREC tDR 7 of 11 UNITS pF pF NOTES (0C to 70C) MIN 0 300 10 1 0 15 10 TYP MAX 25 35 UNITS s s s s s ms years 080299 NOTES 4 DS1646 READ CYCLE TIMING DS1646 WRITE CYCLE TIMING 8 of 11 080299 POWER-DOWN/POWER-UP TIMING NOTES: OUTPUT LOAD 1. All voltages are referenced to ground. 2. Typical values are at 25C and nominal supplies. 3. Outputs are open. 4. Data retention time is at 25C and is calculated from the date code on the device package. The date code XXYY is the year followed by the week of the year in which the device was manufactured. For example, 9225 would mean the 25th week of 1992. 5. tAH1, tDH1 are measured from WE going high. 6. tAH2, tDH2 are measured from CE going high. 7. Real-Time Clock Modules (DIP) can be successfully processed through conventional wave-soldering techniques as long as temperatures as long as temperature exposure to the lithium energy source contained within does not exceed +85C. Post-solder cleaning with water washing techniques is acceptable, provided that ultrasonic vibration is not used. In addition, for the PowerCap version: a. Dallas Semiconductor recommends that PowerCap Module bases experience one pass through solder reflow oriented with the label side up ("live-bug"). b. Hand soldering and touch-up: Do not touch or apply the soldering iron to leads for more than 3 seconds. To solder, apply flux to the pad, heat the lead frame pad and apply solder. To remove the 9 of 11 080299 part, apply flux, heat the lead frame pad until the solder reflows and use a solder wick to remove solder. DS1646 32-PIN PACKAGE PKG DIM A IN. MM B IN. MM C IN. MM D IN. MM E IN. MM F IN. MM G IN. MM H IN. MM J IN. MM K IN. MM 28-PIN MIN MAX 1.670 1.690 38.42 38.93 0.715 0.740 18.16 18.80 0.335 0.365 8.51 9.27 0.075 0.105 1.91 2.67 0.015 0.030 0.38 0.76 0.140 0.180 3.56 4.57 0.090 0.110 2.29 2.79 0.590 0.630 14.99 16.00 0.010 0.018 0.25 0.45 0.015 0.025 0.38 0.64 DS1646P PKG DIM A B C D E F G MIN 0.920 0.980 0.052 0.048 0.015 0.025 INCHES NOM 0.925 0.985 0.055 0.050 0.020 0.027 MAX 0.930 0.990 0.080 0.058 0.052 0.025 0.030 NOTE: For the PowerCap version: a. Dallas Semiconductor recommends that PowerCap Module bases experience one pass through solder reflow oriented with the label side up ("live - bug"). b. Hand Soldering and touch-up: Do not touch or apply the soldering iron to leads for more than 3 seconds. To solder, apply flux to the pad, heat the lead frame pad and apply solder. To remove the part, apply flux, heat the lead frame pad until the solder reflows and use a solder wick to remove solder. 10 of 11 080299 DS1646P WITH DS9034PCX ATTACHED PKG DIM A B C D E F G MIN 0.920 0.955 0.240 0.052 0.048 0.015 0.020 INCHES NOM 0.925 0.960 0.245 0.055 0.050 0.020 0.025 MAX 0.930 0.965 0.250 0.058 0.052 0.025 0.030 INCHES NOM 1.050 0.826 0.050 0.030 0.112 MAX - RECOMMENDED POWERCAP MODULE LAND PATTERN PKG DIM A B C D E 11 of 11 MIN - 080299