X1226 XICOR | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 24
Technical content
REV 1.1.24 1/13/03 Characteristics subject to change without notice. 1 of 24 www.xicor.com 4K (512 x 8) 2-Wire RTC Real Time Clock/Calendar with EEPROM
FEATURES
- Real Time Clock/Calendar —Tracks time in Hours, Minutes, and Seconds —Day of the Week, Day, Month, and Year
- 2 Polled Alarms (Non-volatile) —Settable on the Second, Minute, Hour, Day of the Week, Day, or Month —Repeat Mode (periodic interrupts)
- Oscillator Compensation on chip —Internal feedback resistor and compensation capacitors —64 position Digitally Controlled Trim Capacitor —6 digital frequency adjustment settings to ±30ppm
- Battery Switch or Super Cap Input
- 512 x 8 Bits of EEPROM —64-Byte Page Write Mode —8 modes of Block Lock™ Protection —Single Byte Write Capability
- High Reliability —Data Retention: 100 years —Endurance: 100,000 cycles per byte
- 2-Wire™ Interface interoperable with I2C* —400kHz data transfer rate
- Frequency Output (SW Selectable: Off, 1Hz, 4096Hz or 32.768kHz)
- Low Power CMOS —1.25µA Operating Current (Typical)
- Small Package Options —8-Lead SOIC and 8-Lead TSSOP
APPLICATIONS
- Utility Meters
- HVAC Equipment
- Audio / Video Components
- Set Top Box / Television
- Modems
- Network Routers, Hubs, Switches, Bridges
- Cellular Infrastructure Equipment
- Fixed Broadband Wireless Equipment
- Pagers / PDA
- POS Equipment
- Test Meters / Fixtures
- Office Automation (Copiers, Fax)
- Home Appliances
- Computer Products
- Other Industrial / Medical / Automotive
DESCRIPTION
The X1226 device is a Real Time Clock with clock/ calendar, two polled alarms with integrated 512x8 EEPROM, oscillator compensation, and battery backup switch. The oscillator uses an external, low-cost 32.768kHz crystal. All compensation and trim components are integrated on the chip. This eliminates several external discrete components and a trim capacitor, saving board area and component cost. X1226 BLOCK DIAGRAM Oscillator Frequency Timer LogicDivider Calendar Control/ Registers 1Hz Time Keeping Registers Alarm Regs Compare Mask Control Decode Logic Alarm (EEPROM) (EEPROM) SCL SDA Serial Interface Decoder EEPROM ARRAY Registers Status (SRAM) SelectPHZ/IRQ VCC VBACK 32.768kHz (SRAM) Battery Circuitry Switch OSC Compensation *I2C is a Trademark of Philips. New Features Repetitive Alarms & Temperature Compensation
REV 1.1.24 1/13/03 Characteristics subject to change without notice. 2 of 24 www.xicor.com (continued) The Real-Time Clock keeps track of time with separate registers for Hours, Minutes, Seconds. The Calendar has separate registers for Date, Month, Y ear and Day- of-week. The calendar is correct through 2099, with automatic leap year correction. The powerful Dual Alarms can be set to any Clock/ Calendar value for a match. For instance, every minute, every Tuesday, or 5:23 AM on March 21. The alarms can be polled in the Status Register or provide a hardware interrupt (IRQ Pin). There is a repeat mode for the alarms allowing a periodic interrupt. The PHZ/IRQ pin may be software selected to provide a frequency output of 1 Hz, 4096 Hz, or 32,768 Hz. The device offers a backup power input pin. This V BACK pin allows the device to be backed up by battery or SuperCap. The entire X1226 device is fully operational from 2.7 to 5.5 volts and the clock/calendar portion of the X1226 device remains fully operational down to 1.8 volts (Standby Mode). The X1226 device provides 4K bits of EEPROM with 8 modes of BlockLock™ control. The BlockLock allows a safe, secure memory for critical user and configuration data, while allowing a large user storage area. PIN DESCRIPTIONS Serial Clock (SCL) The SCL input is used to clock all data into and out of the device. The input buffer on this pin is always active (not gated). Serial Data (SDA) SDA is a bidirectional pin used to transfer data into and out of the device. It has an open drain output and may be wire ORed with other open drain or open collector outputs. The input buffer is always active (not gated). An open drain output requires the use of a pull-up resistor. The output circuitry controls the fall time of the output signal with the use of a slope controlled pull- down. The circuit is designed for 400kHz 2-wire inter- face speed. V BACK This input provides a backup supply voltage to the device. V BACK supplies power to the device in the event the V CC supply fails. This pin can be connected to a battery, a Supercap or tied to ground if not used. Programmable Frequency/Interrupt Output – PHZ/IRQ This is either an output from the internal oscillator or an interrupt signal output. It is an open drain output. When used as frequency output, this signal has a frequency of 32.768kHz, 4096Hz, 1Hz or inactive. When used as interrupt output, this signal notifies a host processor that an alarm has occurred and an action is required. It is an active LOW output. The control bits for this function are FO1 and FO0 and are found in address 0011h of the Clock Control Mem- ory map. Refer to “Programmable Frequency Output Bits” on page 6. X1, X2 The X1 and X2 pins are the input and output, respectively, of an inverting amplifier. An external 32.768kHz quartz crystal is used with the X1226 to supply a timebase for the real time clock. The recommended crystal is a Citizen CFS206-32.768KDZF . Internal compensation circuitry is included to form a complete oscillator circuit. Care should be taken in the placement of the crystal and the layout of the circuit. Plenty of ground plane around the device and short traces to X1 and X2 are highly recommended. See Application section for more recommendations. Figure 1. Recommended Crystal connection
Characteristics subject to change without notice. Figure 2. Power Control latch to avoid time changes during the read operation. read are unaffected by the read operation. without affecting the other bytes. ppm to –37 ppm when using a 12.5 pF load crystal. the undefined addresses are not recommended.
- Alarm 0 (8 bytes; non-volatile)
- Alarm 1 (8 bytes; non-volatile)
- Control (4 bytes; non-volatile)
- Real Time Clock (8 bytes; volatile)
- Status (1 byte; volatile)
Characteristics subject to change without notice. Table 1. Clock/Control Memory Map
0037 RTC
0036 DW 0 0 0 0 0 DY2 DY1 DY0 0-6 00h
0035 YR Y23 Y22 Y21 Y20 Y13 Y12 Y11 Y10 0-99 00h
0034 MO 0 0 0 G20 G13 G12 G11 G10 1-12 00h
0033 DT 0 0 D21 D20 D13 D12 D11 D10 1-31 00h
0032 HR MIL 0 H21 H20 H13 H12 H11 H10 0-23 00h
0031 MN 0 M22 M21 M20 M13 M12 M11 M10 0-59 00h
0030 SC 0 S22 S21 S20 S13 S12 S11 S10 0-59 00h
0013 Control
0012 ATR 0 0 ATR5 ATR4 ATR3 ATR2 ATR1 ATR0 00h
0011 INT IM AL1E AL0E FO1 FO0 X X X 00h
0010 BL BP2 BP1 BP0 00000 0 0 h
0009 MNA1 EMN1 A1M22 A1M21 A1M20 A1M13 A1M12 A1M11 A1M10 0-59 00h
0008 SCA1 ESC1 A1S22 A1S21 A1S20 A1S13 A1S12 A1S11 A1S10 0-59 00h
0007 Alarm0
0006 DWA0 EDW0 0 0 0 0 DY2 DY1 DY0 0-6 00h
0005 YRA0 Unused - Default = RTC Year value (No EEPROM) - Future expansion
0004 MOA0 EMO0 0 0 A0G20 A0G13 A0G12 A0G11 A0G10 1-12 00h
0003 DTA0 EDT0 0 A0D21 A0D20 A0D13 A0D12 A0D11 A0D10 1-31 00h
0002 HRA0 EHR0 0 A0H21 A0H20 A0H13 A0H12 A0H11 A0H10 0-23 00h
0001 MNA0 EMN0 A0M22 A0M21 A0M20 A0M13 A0M12 A0M11 A0M10 0-59 00h
0000 SCA0 ESC0 A0S22 A0S21 A0S20 A0S13 A0S12 A0S11 A0S10 0-59 00h
writes from this section terminates the operation. stop condition to end the operation and free the bus.
Characteristics subject to change without notice. and MNAn* registers are set to 9:30 PM. default value is defined as ‘0’.
24 Hour Time
to standard time with H21=0. the leap year in the year 2100. enable latches, read power status and two alarm bits. Clock/Control Registers (CCR). Table 2. Status Register (SR) bits that are set when an SR read starts will be reset.
Characteristics subject to change without notice. of the array. The partitions are described in Table 3. AL1E and AL0E bits are set to ‘1’, respectively. Table 3. Block Protect Bits alarms respectively, indicate if an alarm has happened. rate set by the time setting fo the alarm. is set, then this pulse will be periodic. output function is disabled.
0 Single Time Event Set By Alarm
1 Repetitive / Recurring Time Event Set By
Characteristics subject to change without notice. Table 4. Programmable Frequency Output Bits the ppm error to achieve better accuracy. adjustment and DTR0 gives 20 ppm adjustment. Table 5. Digital Trimming Registers vided to adjust the on-chip loading capacitance range. from 3.25pF to 18.75pF in 0.25pF steps. ceeded by a start and ended with a stop). reset and the device remains in an active mode.
preceding operations to enable the write operation. Figure 7. Byte Write Sequence Figure 8. Writing 30 bytes to a 64-byte memory page starting at address 40.
23 Bytes
7 Bytes
Figure 6. Slave Address, Word Address, and Data Bytes (64 Byte pages)
1 R/W1
cycle, and will continue to ACK commands. the last 7 bytes are written to columns 0 through 6. one byte at a time. Refer to Figure 8. acknowledge, and data transfer sequence. Figure 9. Page Write Sequence
CC, VBACK and PHZ/IRQ Voltage on SCL, SDA, X1 and X2 above V CC or VBACK (whichever is higher) Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and the functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute max- imum rating conditions for extended periods may affect device reliability. DC OPERATING CHARACTERISTICS (Temperature = -40°C to +85°C, unless otherwise stated.) OPERATING CHARACTERISTICS Symbol Parameter Conditions Min Typ Max Unit Notes VCC Main Power Supply 2.7 5.5 V VBACK Backup Power Supply 1.8 5.5 V VCB Switch to Backup Supply V BACK -0.2 V BACK -0.1 V VBC Switch to Main Supply V BACK VBACK +0.2 V Symbol Parameter Conditions Min Typ Max Unit Notes ICC1 Read Active Supply Current VCC = 2.7V 400 µA 1, 5, 7, 14VCC = 5.0V 800 µA ICC2 Program Supply Current (nonvolatile) VCC = 2.7V 2.5 mA 2, 5, 7, 14VCC = 5.0V 3.0 mA ICC3 Main Timekeeping Current VCC = 2.7V 10 µA 3, 7, 8, 14, 15VCC = 5.0V 20 µA IBACK Timekeeping Current VBACK = 1.8V 1.25 µA 3, 6, 9, 14, 15 “See Perfor- mance Data”VBACK = 3.3V 1.5 µA ILI Input Leakage Current 10 µA 10 ILO Output Leakage Current 10 µA 10 VIL Input LOW Voltage -0.5 VCC x 0.2 or VBACK x 0.2 V1 3 VIH Input HIGH Voltage VCC x 0.7 or VBACK x 0.7 VCC + 0.5 or VBACK + 0.5 V1 3 VHYS Schmitt Trigger Input Hysteresis VCC related level .05 x VCC or .05 x VBACK V1 3 VOL1 Output LOW Voltage for SDA VCC = 2.7V 0.4 V1 1VCC = 5.5V 0.4 VOL2 Output LOW Voltage for PHZ/IRQ VCC = 2.7V V CC x 0.3 V1 1VCC = 5.5V V CC x 0.3 VOH2 Output HIGH Voltage for PHZ/IRQ VCC = 2.7V V CC x 0.7 V1 2VCC = 5.5V V CC x 0.7
Address Byte are incorrect or until 200nS after a stop ending a read or write operation. (2) The device enters the Program state 200nS after a stop ending a write operation and continues for t WC. (4) For reference only and not tested. (13) Threshold voltages based on the higher of Vcc or Vback. (14) Using recommended crystal and oscillator network applied to X1 and X2 (25°C). Notes: (1) This parameter is not 100% tested. Figure 14. Standard Output Load for testing the device with VCC = 5.0V
AC Specifications (TA = -40°C to +85°C, VCC = +2.7V to +5.5V, unless otherwise specified.) Notes: (1) This parameter is not 100% tested. (2) Cb = total capacitance of one bus line in pF . TIMING DIAGRAMS Bus Timing Symbol Parameter Min. Max. Units fSCL SCL Clock Frequency 400 kHz tIN Pulse width Suppression Time at inputs 50 (1) ns tAA SCL LOW to SDA Data Out Valid 0.1 0.9 µs tBUF Time the bus must be free before a new transmission can start 1.3 µs tLOW Clock LOW Time 1.3 µs tHIGH Clock HIGH Time 0.6 µs tSU:STA Start Condition Setup Time 0.6 µs tHD:STA Start Condition Hold Time 0.6 µs tSU:DAT Data In Setup Time 100 ns tHD:DAT Data In Hold Time 0 µs tSU:STO Stop Condition Setup Time 0.6 µs tDH Data Output Hold Time 50 ns tR SDA and SCL Rise Time 20 +.1Cb (2) 300 ns tF SDA and SCL Fall Time 20 +.1Cb (2) 300 ns Cb Capacitive load for each bus line 400 pF tSU:STO tDH tHIGH tSU:STA tHD:STA tHD:DAT tSU:DATSCL SDA IN SDA OUT tF tLOW tBUFtAA tR
Notes: (1) Delays are measured from the time V CC is stable until the specified operation can be initiated. These parameters are not 100% tested. VCC slew rate should be between 0.2mV/µsec and 50mV/µsec. (2) Typical values are for T A = 25°C and VCC = 5.0V Nonvolatile Write Cycle Timing Note: (1) t WC is the time from a valid stop condition at the end of a write sequence to the end of the self-timed internal nonvolatile write cycle. It is the minimum cycle time to be allowed for any nonvolatile write by the user, unless Acknowledge Polling is used. Symbol Parameter Min. Typ. (2) Max. Units tPUR (1) Time from Power Up to Read 1 ms tPUW (1) Time from Power Up to Write 5 ms Symbol Parameter Min. Typ. (1) Max. Units tWC (1) Write Cycle Time 5 10 ms SCL SDA tWC 8th Bit of Last Byte ACK Stop Condition Start Condition
Table 6. Crystal Parameters Required for Xicor RTC’s Table 7. Crystal Manufacturers Manufacturer Part Number Temp Range +25°C Freq Toler.
note AN154 on Xicor’s website at www.xicor.com. Figure 15. Suggested Layout for Xicor RTC in SO-8 20kΩ) for lower frequency PHZ outputs. packages and pinouts are slightly different.
using the proper crystal and layout). disappear intermittently for short periods of time. Figure 16. Supercapactor charging circuit or the battery will be drained. Table 8. Battery Backup Operation
- Example Application, Vcc=5V, Vback=3.0V
- Example Application, Vcc=3.3V,Vback=3.0V
chip will be running from the battery. If Vback falls to lower than Vtrip, then the chip shuts down and all out- puts are disabled except for the oscillator and time- keeping circuitry. The fact that the chip can be powered from Vback is not necessarily an issue since standby current for the RTC devices is <2µA for this mode (called “main timekeeping current ” in the data sheet). Only when the serial interface is active is there an increase in supply current, and with Vcc powered down, the serial interface will most likely be inactive. One way to prevent operation in battery backup mode above the Vtrip level is to add a diode drop (silicon diode preferred) to the battery to insure it is below Vtrip. This will also provide reverse leakage protection which may be needed to get safety agency approval. One mode that should always be avoided is the opera- tion of the RTC device with Vback greater than both Vcc and Vtrip (Condition 2d in Table 8). This will cause the battery to drain quickly as serial bus communica- tion and non-volatile writes will require higher supplier current. PERFORMANCE DATA I BACK Performance 1.4 1.2 1.0 0.8 0.6 0.4 0.2 IBACK vs. Temperature Multi-Lot Process Variation Data Temperature °C -40 25 60 85 IBACK (µA) 3.3V 1.8V
0.150 (3.80) 0.158 (4.00) 0.228 (5.80) 0.019 (0.49) Pin 1 Pin 1 Index 0.010 (0.25) 0.020 (0.50) 0.050 (1.27) 0.188 (4.78) 0.197 (5.00) 0.004 (0.19) 0.010 (0.25) 0.053 (1.35) 0.069 (1.75) (4X) 7° 0.016 (0.410) 0.037 (0.937) 0.0075 (0.19) 0.010 (0.25) 0° - 8° X 45° 8-Lead Plastic, SOIC, Package Code S8 NOTE: ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS) 0.250" 0.050"Typical 0.050" Typical 0.030" Typical
8 PlacesFOOTPRINT
NOTE: ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS) 8-Lead Plastic, TSSOP, Package Code V8 See Detail “A” .031 (.80) .041 (1.05) .169 (4.3) .025 (.65) BSC .114 (2.9) .122 (3.1) .002 (.05) .006 (.15) .047 (1.20) .0075 (.19) .0118 (.30) 0° – 8° .010 (.25) .019 (.50) .029 (.75) Gage Plane Seating Plane Detail A (20X) (4.16) (7.72) (1.78) (0.42) (0.65) All Measurements Are Typical
Devices sold by Xicor, Inc. are covered by the warranty and patent indemni fication provisions appearing in its Terms of Sale only. Xicor, Inc. makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the descr ibed devices from patent infringement. Xicor, Inc. makes no warranty of merchantability or fitness for any purpose. Xicor, Inc. reserves the right to discontinue production and change specifications and prices at any time and without notice. Xicor, Inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xicor, Inc. product. No other circuits, patents, or licenses are implied. COPYRIGHTS AND TRADEMARKS Xicor, Inc., the Xicor logo, E2POT, XDCP, XBGA, AUTOSTORE, Direct Write cell, Concurrent Read-Write, PASS, MPS, PushPOT, Block Lock, IdentiPROM, E2KEY, X24C16, SecureFlash, and SerialFlash are all trademarks or registered trademarks of Xicor, Inc. All other brand and product names mentioned herein are used for identification purposes only, and are trademarks or registered trademarks of their respective holders. U.S. PATENTS Xicor products are covered by one or more of the following U.S. Patents: 4,326,134; 4,393,481; 4,404,475; 4,450,402; 4,486,769; 4,488,060; 4,520,461; 4,533,846; 5,161,137; 5,219,774; 5,270,927; 5,324,676; 5,434,396; 5,544,103; 5,587,573; 5,835,409; 5,977,585. Foreign patents and additional patents pending. LIFE RELATED POLICY In situations where semiconductor component failure may endanger life, system designers using this product should design the system with appropriate error detection and correction, redundancy and back-up features to prevent such an occurrence. Xicor’s products are not authorized for use in critical components in life support devices or systems. 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. ©Xicor, Inc. 2003 Patents Pending
ORDERING INFORMATION
VCC Range Package Operating Temperature Range Part Number 4Kb EEPROM PHZ/IRQ 2.7-5.5V 8L SOIC 0 –70°C X1226S8 -40–85°C X1226S8I 8L TSSOP 0 –70°C X1226V8 -40–85°C X1226V8I 8-Lead TSSOP YWW XXXXX 1226 = 2.7 to 5.5V, 0 to +70°C 8-Lead SOIC X1226 X XX Blank = 8-Lead SOIC Blank = 2.7 to 5.5V, 0 to +70°C I = 2.7 to 5.5V, -40 to 85°C1226I = 2.7 to 5.5V, -40 to 85°C