0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
ISL1221

ISL1221

  • 厂商:

    INTERSIL(Intersil)

  • 封装:

  • 描述:

    ISL1221 - Low Power RTC with Battery Backed - Intersil Corporation

  • 数据手册
  • 价格&库存
ISL1221 数据手册
® ISL1221 Real Time Clock/Calendar with Event Detection and Frequency Output Data Sheet July 15, 2010 FN6316.1 Low Power RTC with Battery Backed SRAM and Event Detection The ISL1221 device is a low power real time clock with Event Detect and Time Stamp function, timing and crystal compensation, clock/calendar, power fail indicator, periodic or polled alarm, intelligent battery backup switching with separate FOUT output and 2 Bytes of battery-backed user SRAM. The oscillator uses an external, low-cost 32.768kHz crystal. The real time clock tracks time with separate registers for hours, minutes, and seconds. The device has calendar registers for date, month, year and day of the week. The calendar is accurate through 2099, with automatic leap year correction. Features • Real Time Clock/Calendar - Tracks Time in Hours, Minutes, and Seconds - Day of the Week, Day, Month, and Year • Security and Event Functions - Tamper detection with Time Stamp in Normal and Battery Backed modes - Event Detection During Battery Backed or Normal Modes - Selectable Event Input Sampling Rates Allows Low Power Operation - Selectable Glitch Filter on Event Input Monitor • Separate FOUT pin with 15 Selectable Frequencies • Single Alarm - Settable to the Second, Minute, Hour, Day of the Week, Day, or Month - Single Event or Pulse Interrupt Mode • Automatic Backup to Battery or Super Cap • Power Failure Detection • On-Chip Oscillator Compensation • 2 Bytes Battery-Backed User SRAM • I2C Interface - 400kHz Data Transfer Rate • 400nA Battery Supply Current • Small Package - 10 Ld MSOP • Pb-Free (RoHS Compliant) Ordering Information PART NUMBER (Note) ISL1221IUZ PART MARKING 1221Z VDD RANGE TEMP RANGE (°C) PACKAGE (Pb-Free) 2.7V to 5.5V -40 to +85 10 Ld MSOP 2.7V to 5.5V -40 to +85 10 Ld MSOP Tape and Reel ISL1221IUZ-T* 1221Z *Please refer to TB347 for details on reel specifications. NOTE: These Intersil Pb-free plastic packaged products employ special Pb-free material sets, molding compounds/die attach materials, and 100% matte tin plate plus anneal (e3 termination finish, which is RoHS compliant and compatible with both SnPb and Pb-free soldering operations). Intersil Pb-free products are MSL classified at Pb-free peak reflow temperatures that meet or exceed the Pb-free requirements of IPC/JEDEC J STD-020. Pinout ISL1221 (10 LD MSOP) TOP VIEW X1 X2 VBAT GND EVIN 1 2 3 4 5 10 VDD 9 8 7 6 IRQ/EVDET SCL SDA FOUT Applications • Utility Meters • Set Top Box/Modem • POS Equipment • Network Routers, Hubs, Switches, Bridges • Cellular Infrastructure Equipment • Fixed Broadband Wireless Equipment • Test Meters/Fixtures • Vending Machine Management • Security and Anti Tampering Applications - Panel/Enclosure Status - Warranty Reporting - Time Stamping Applications - Patrol/Security Check (Fire or Light Equipment) - Automotive Applications 1 CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. 1-888-INTERSIL or 1-888-468-3774 | Intersil (and design) is a registered trademark of Intersil Americas Inc. Copyright Intersil Americas Inc. 2006, 2010. All Rights Reserved All other trademarks mentioned are the property of their respective owners. ISL1221 Block Diagram SDA SCL SDA BUFFER SCL BUFFER Seconds CONTROL LOGIC Minutes Hours Day of Week X1 X2 VDD VTRIP SWITCH VBAT INTERNAL SUPPLY CRYSTAL OSCILLATOR RTC DIVIDER Date Month POR FREQUENCY OUT Year ALARM CONTROL REGISTERS USER SRAM IRQ/ EVDET I2C INTERFACE EVIN FOUT GND Pin Descriptions PIN NUMBER 1 2 3 4 5 6 7 8 9 10 SYMBOL X1 X2 VBAT GND EVIN FOUT SDA SCL DESCRIPTION X1. The X1 pin is the input of an inverting amplifier and is intended to be connected to one pin of an external 32.768kHz quartz crystal. X1 can also be driven directly from a 32.768kHz source. X2. The X2 pin is the output of an inverting amplifier and is intended to be connected to one pin of an external 32.768kHz quartz crystal. X2 should be left open when X1 is driven from external source. VBAT. This input provides a backup supply voltage to the device. VBAT supplies power to the device in the event that the VDD supply fails. This pin should be tied to ground if not used. Ground. Event Input (EVIN). The EVIN is an input pin that is used to detect an externally monitored event. When a high signal is present at the EVIN pin an “event” is detected. Frequency Output FOUT, Frequency output pin, 15 selectable frequencies. Open drain output. Serial Data (SDA). SDA is a bidirectional pin used to transfer serial data into and out of the device. It has an open drain output and may be wire OR’ed with other open drain or open collector outputs. Serial Clock (SCL). The SCL input is used to clock all serial data into and out of the device.Open drain output. IRQ/EVDET Interrupt (IRQ)/Event Detect (EVDET) Output. Multi-functional pin that can be used as interrupt for Alarm and Event Detect. Open Drain Output. VDD VDD. Power supply. 2 FN6316.1 July 15, 2010 ISL1221 Absolute Maximum Ratings Voltage on VDD, VBAT, SCL, SDA, and IRQ/EVDET Pins (respect to ground) . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5V to 7.0V Voltage on X1 and X2 Pins (respect to ground) . . . . . . . . . . . .-0.5V to VDD + 0.5 (VDD Mode) -0.5V to VBAT + 0.5 (VBAT Mode) Maximum Junction Temperature (Plastic Package). . . . . . . . +150°C Storage Temperature . . . . . . . . . . . . . . . . . . . . . . . .-65°C to +150°C ESD Rating (Human Body Model) . . . . . . . . . . . . . . . . . . . . . . .>2kV ESD Rating (Machine Model . . . . . . . . . . . . . . . . . . . . . . . . . .>175V Output Current Sink (FOUT, IRQ . . . . . . . . . . . . . . . . . . . . . . . . 3mA Thermal Information Thermal Resistance (Typical, Note 1) θJA (°C/W) 10Ld MSOP Package. . . . . . . . . . . . . . . . . . . . . . . . 120 Moisture Sensitivity (see Technical Brief TB363). . . . . . . . . . Level 2 Recommended Operating Conditions Ambient Temperature . . . . . . . . . . . . . . . . . . . . . . . .-40°C to +85°C VDD Voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7V to 5.5V VBAT Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.8V to 5.5V CAUTION: Do not operate at or near the maximum ratings listed for extended periods of time. Exposure to such conditions may adversely impact product reliability and result in failures not covered by warranty. NOTE: 1. θJA is measured with the component mounted on a high effective thermal conductivity test board in free air. See Tech Brief TB379 for details. DC Operating Characteristics – RTC Test Conditions: VDD = +2.7 to +5.5V, Temperature = -40°C to +85°C, unless otherwise stated. SYMBOL VDD VBAT IDD1 PARAMETER Main Power Supply Battery Supply Voltage Supply Current VDD = 5V VDD = 3V IDD2 IDD3 IBAT IBATLKG ILI ILO VTRIP VTRIPHYS VBATHYS EVIN VIL VIH Hysteresis IEVPU EVIN Pullup Current VSUP = 3V -0.3 0.7 x VDD 0.05 x VDD 1.5 0.3 x VDD VDD + 0.3 V V V µA 6 Supply Current With I2C Active Supply Current (Low Power Mode) Battery Supply Current Battery Input Leakage Input Leakage Current on SCL I/O Leakage Current on SDA VBAT Mode Threshold VTRIP Hysteresis VBAT Hysteresis 1.6 10 10 VDD = 5V VDD = 5V, LPMODE = 1 VBAT = 3V VDD = 5.5V, VBAT = 1.8V 100 100 2.2 35 50 2.64 60 100 CONDITIONS MIN (Note 9) 2.7 1.8 2 1.2 40 1.4 400 TYP (Note 5) MAX (Note 9) 5.5 5.5 6 4 120 5 950 100 UNITS NOTES V V µA µA µA µA nA nA nA nA V mV mV 2, 3 2, 8 2 2, 3 IRQ/EVDET and FOUT VOL Output Low Voltage VDD = 5V, IOL = 3mA VDD = 2.7V, IOL = 1mA ILO Output Leakage Current VDD = 5.5V VOUT = 5.5V 100 0.4 0.4 400 V V nA Power-Down Timing Test Conditions: VDD = +2.7 to +5.5V, Temperature = -40°C to +85°C, unless otherwise stated. SYMBOL VDD SRPARAMETER VDD Negative Slew rate CONDITIONS MIN (Note 9) TYP (Note 5) MAX (Note 9) 10 UNITS V/ms NOTES 4 3 FN6316.1 July 15, 2010 ISL1221 I2C Interface Specifications Test Conditions: VDD = +2.7 to +5.5V, Temperature = -40°C to +85°C, unless otherwise specified. SYMBOL VIL VIH Hysteresis VOL Cpin fSCL tIN tAA PARAMETER SDA and SCL Input Buffer LOW Voltage SDA and SCL Input Buffer HIGH Voltage SDA and SCL Input Buffer Hysteresis SDA Output Buffer LOW Voltage, Sinking 3mA SDA and SCL Pin Capacitance SCL Frequency Pulse Width Suppression Time at SDA and SCL Inputs SCL falLing Edge to SDA Output Data Valid Time the Bus Must be Free Before the Start of a New Transmission Any pulse narrower than the max spec is suppressed. SCL falling edge crossing 30% of VDD, until SDA exits the 30% to 70% of VDD window. SDA crossing 70% of VDD during a STOP condition, to SDA crossing 70% of VDD during the following START condition. Measured at the 30% of VDD crossing. Measured at the 70% of VDD crossing. SCL rising edge to SDA falling edge. Both crossing 70% of VDD. From SDA falling edge crossing 30% of VDD to SCL falling edge crossing 70% of VDD. From SDA exiting the 30% to 70% of VDD window, to SCL rising edge crossing 30% of VDD. From SCL falling edge crossing 30% of VDD to SDA entering the 30% to 70% of VDD window. From SCL rising edge crossing 70% of VDD, to SDA rising edge crossing 30% of VDD. From SDA rising edge to SCL falling edge. Both crossing 70% of VDD. From SCL falling edge crossing 30% of VDD, until SDA enters the 30% to 70% of VDD window. From 30% to 70% of VDD. From 70% to 30% of VDD. Total on-chip and off-chip 1300 VDD = 5V, IOL = 3mA TA = +25°C, f = 1MHz, VDD = 5V, VIN = 0V, VOUT = 0V TEST CONDITIONS MIN (Note 9) -0.3 0.7 x VDD 0.05 x VDD 0.4 10 400 50 900 TYP (Note 5) MAX (Note 9) 0.3 x VDD VDD + 0.3 UNITS NOTES V V V V pF kHz ns ns tBUF ns tLOW tHIGH tSU:STA tHD:STA Clock LOW Time Clock HIGH Time START Condition Setup Time START Condition Hold Time 1300 600 600 600 ns ns ns ns tSU:DAT Input Data Setup Time 100 ns tHD:DAT Input Data Hold Time 0 900 ns tSU:STO STOP Condition Setup Time 600 ns tHD:STO STOP Condition Hold Time 600 ns tDH Output Data Hold Time 0 ns tR tF Cb SDA and SCL Rise Time SDA and SCL Fall Time Capacitive Loading of SDA or SCL 20 + 0.1 x Cb 20 + 0.1 x Cb 10 300 300 400 ns ns pF 7 7 7 4 FN6316.1 July 15, 2010 ISL1221 I2C Interface Specifications Test Conditions: VDD = +2.7 to +5.5V, Temperature = -40°C to +85°C, unless otherwise specified. (Continued) SYMBOL Rpu PARAMETER TEST CONDITIONS MIN (Note 9) 1 TYP (Note 5) MAX (Note 9) UNITS NOTES kΩ 7 SDA and SCL Bus Pull-up Resistor Maximum is determined by tR Off-chip and tF. For Cb = 400pF, max is about 2~2.5kΩ. For Cb = 40pF, max is about 15~20kΩ NOTES: 2. IRQ and FOUT and EVDET Inactive. 3. LPMODE = 0 (default). 4. In order to ensure proper timekeeping, the VDD SR- specification must be followed. 5. Typical values are for T = 25°C and 3.3V supply voltage. 6. VSUP = VDD if in VDD Mode, VSUP = VBAT if in VBAT Mode. 7. These are I2C specific parameters and are not directly tested, however they are used during device testing to validate device specification. 8. A write to register 08h should only be done if VDD > VBAT, otherwise the device will be unable to communicate using I2C. 9. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. SDA vs. SCL Timing tF tHIGH tLOW tR SCL tSU:STA SDA (INPUT TIMING) tSU:DAT tHD:DAT tSU:STO tHD:STA tAA SDA (OUTPUT TIMING) tDH tBUF Symbol Table WAVEFORM INPUTS Must be steady OUTPUTS Will be steady May change from LOW to HIGH May change from HIGH to LOW Don’t Care: Changes Allowed N/A Will change from LOW to HIGH Will change from HIGH to LOW Changing: State Not Known Center Line is High Impedance 5 FN6316.1 July 15, 2010 ISL1221 Typical Performance Curves Temperature is +25°C unless otherwise specified 1E-6 900E-9 800E-9 700E-9 IBAT (A) 500E-9 400E-9 300E-9 200E-9 100E-9 000E+0 1.5 2.0 2.5 3.0 3.5 4.0 VBAT (V) 4.5 5.0 5.5 000E+0 -40 -20 0 20 40 TEMPERATURE (°C) 60 80 200E-9 IBAT (A) 600E-9 600E-9 400E-9 800E-9 1E-6 FIGURE 1. IBAT vs VBAT FIGURE 2. IBAT vs TEMPERATURE AT VBAT = 3V 2.4E-06 2.2E-06 VDD = 5V 2.0E-06 IDD1 (A) 1.8E-06 1.6E-06 VDD = 3.3V 1.4E-06 1.2E-06 1.0E-06 -40 -20 0 20 40 60 80 IDD1 (A) 2.4E-6 2.2E-6 2.0E-6 1.8E-6 1.6E-6 1.4E-6 1.2E-6 1.0E-6 800.0E-9 600.0E-9 400.0E-9 2.5 3.0 3.5 4.0 VDD (V) 4.5 5.0 5.5 LPMODE = 1 LPMODE = 0 TEMPERATURE (°C) FIGURE 3. IDD1 vs TEMPERATURE FIGURE 4. IDD1 vs VDD WITH LPMODE ON AND OFF 2.1E-6 2.0E-6 1.9E-6 IDD1 (A) 1.8E-6 1.7E-6 1.6E-6 1.5E-6 1.4E-6 1.3E-6 1/4 1/2 1 1/32 1/16 1/8 2 4 8 16 32 64 1024 4096 32768 1.2E-6 IDD1 (A) 1/32 1/16 1/4 1/2 1 1/8 2 4 8 16 32 64 1024 4096 FOUT (Hz) FOUT (Hz) FIGURE 5. IDD1 vs FOUT AT VDD = 3.3V FIGURE 6. IDD1 vs FOUT AT VDD = 5V 6 FN6316.1 July 15, 2010 32768 3.0E-6 2.9E-6 2.8E-6 2.7E-6 2.6E-6 2.5E-6 2.4E-6 2.3E-6 2.2E-6 2.1E-6 2.0E-6 1.9E-6 1.8E-6 ISL1221 Typical Performance Curves Temperature is +25°C unless otherwise specified 8.00E-06 7.00E-06 6.00E-06 IPULL-UP 5.00E-06 +25°C 4.00E-06 3.00E-06 2.00E-06 1.00E-06 0.00E-00 2.5 1.0E-07 3.0 3.5 4.0 4.5 VDD 5.0 5.5 6.0 -40 -25 -10 5 20 35 TEMPERATURE 50 65 80 +85°C -40°C 4.0E-07 IPULL-UP 5.0E-07 (Continued) 3.0E-07 2.0E-07 FIGURE 7. EVIN IPULLUP vs VDD EQUIVALENT AC OUTPUT LOAD CIRCUIT FOR VDD = 5V 5.0V 1533Ω SDA AND IRQ/EVDET FOR VOL= 0.4V AND IOL = 3mA FIGURE 8. IPULLUP vs TEMPERATURE AT VBAT = 1.8V registers for date, month, year and day of the week. The calendar is accurate through 2099, with automatic leap year correction. The ISL1221's alarm can be set to any clock/calendar value for a match. For example, every minute, every Tuesday or at 5:23 AM on March 21. The alarm status is available by checking the Status Register, or the device can be configured to provide a hardware interrupt via the IRQ pin. There is a repeat mode for the alarm allowing a periodic interrupt every minute, every hour, every day, etc. The device also offers a backup power input pin. This VBAT pin allows the device to be backed up by battery or SuperCap with automatic switchover from VDD to VBAT. The entire ISL1221 device is fully operational from VDD = 2.7V to 5.5V and the clock/calendar portion of the device remains fully operational in battery backup mode down to 1.8V (Standby Mode). 100pF FIGURE 9. STANDARD OUTPUT LOAD FOR TESTING THE DEVICE WITH VDD = 5.0V General Description The ISL1221 device is a low power Real Time Clock with Security and Event function, Time Stamp in both normal and battery modes, timing and crystal compensation, clock/calendar, power fail indicator, periodic or polled alarm, intelligent battery backup switching, and battery-backed user SRAM. The Event Detection function can be used for tamper detection, security or other chassis or generic system monitoring. Upon a valid event detection, the ISL1221 sets the Event Detection bit (EVT bit) in the status register, stores time stamp information on board memory, and, can optionally: 1) Issue an Event Output signal (EVDET pin), 2) At the time the event occurred, stop the RTC registers from advancing. The event monitor and time stamp functions in both main VDD and battery back up modes. The event monitor can also be configured for various input detection rates to optimize power consumption for the application. In addition, the Event Monitor pin (EVIN) has a selectable glitch filter to avoid switch de-bouncing. The oscillator uses an external, low-cost 32.768kHz crystal. The real time clock tracks time with separate registers for hours, minutes, and seconds. The device has calendar 7 Pin Description 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 ISL1221 to supply a timebase for the real time clock. Internal compensation circuitry provides high accuracy over the operating temperature range from -40°C to +85°C. This oscillator compensation network can be used to calibrate the crystal timing accuracy over temperature either during manufacturing or with an external temperature sensor and microcontroller for active compensation. The device can also be driven directly from a 32.768kHz source at pin X1. FN6316.1 July 15, 2010 ISL1221 with other open drain or open collector outputs. The input buffer is always active (not gated) in normal mode. X1 X2 FIGURE 10. RECOMMENDED CRYSTAL CONNECTION 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 I2C interface speeds. It is disabled when the backup power supply on the VBAT pin is activated. VBAT This input provides a backup supply voltage to the device. VBAT supplies power to the device in the event that the VDD supply fails. This pin can be connected to a battery, a Super Cap or tied to ground if not used. VDD, GND Chip power supply and ground pins. The device will operate with a power supply from VDD=2.7V to 5.5VDC. A 0.1µF capacitor is recommended on the VDD pin to ground. EVIN (Event Input) The EVIN pin is an input that is used to detect an externally monitored event. When a high signal is present at the EVIN pin, an “event” is detected. This input may be used for various monitoring functions, such as the opening of a detection switch on a chassis or door. The event detection circuit can be user enabled or disabled (see EVEN bit) and provides the option to be operational in battery backup modes (see EVBATB bit). When the event detection is disabled the EVIN pin is gated OFF. See“Functional Description” on page 8 for more details. Functional Description Power Control Operation The power control circuit accepts a VDD and a VBAT input. Many types of batteries can be used with Intersil RTC products. For example, 3.0V or 3.6V Lithium batteries are appropriate, and battery sizes are available that can power the ISL1221 for up to 10 years. Another option is to use a Super Cap for applications where VDD is interrupted for up to a month. See the “Application Section” on page 20 for more information. FOUT (Frequency Output) The FOUT pin outputs a clock signal which is related to the crystal frequency. The frequency output is user selectable and enabled via the I2C bus. It is an open drain active low output. When not used, the output is high. Normal Mode (VDD) to Battery Backup Mode (VBAT) To transition from the VDD to VBAT mode, both of the following conditions must be met: Condition 1: VDD < VBAT - VBATHYS where VBATHYS ≈ 50mV Condition 2: VDD < VTRIP where VTRIP ≈ 2.2V IRQ/EVDET (Alarm/Event Detect Output) This dual function pin can be used as an interrupt alarm or event detect output pin. Checking the status register will show the type of interrupt, Alarm or Event Detect. • Interrupt Mode. The pin provides an interrupt signal output. This signal notifies a host processor that an alarm has occurred and requests action. It is an open drain active low output. • The output will go low when an event is detected at the EVIN pin. If the event detection function is enabled, the IRQ/EVDET output will go low and stay low until the EVT bit is cleared (see the EVIN pin description in the “Pin Description” on page 7). Battery Backup Mode (VBAT) to Normal Mode (VDD) The ISL1221 device will switch from the VBAT to VDD mode when one of the following conditions occurs: Condition 1: VDD > VBAT + VBATHYS where VBATHYS ≈ 50mV Condition 2: VDD > VTRIP + VTRIPHYS where VTRIPHYS ≈ 30mV These power control situations are illustrated in Figures 11 and 12. Serial Clock (SCL) The SCL input is used to clock all serial data into and out of the device. The input buffer on this pin is always active (not gated). It is disabled when the backup power supply on the VBAT pin is activated to minimize power consumption. 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 ORed 8 FN6316.1 July 15, 2010 ISL1221 switchover. In a system with a VDD = 5V and backup lithium battery of VBAT = 3V, Low Power Mode can be used. However, it is not recommended to use Low Power Mode in a system with VDD = 3.3V ±10%, VBAT ≥ 3.0V, and when there is a finite I-R voltage drop in the VDD line. VDD VTRIP VBAT VBAT - VBATHYS BATTERY BACKUP MODE 2.2V 1.8V VBAT + VBATHYS InterSeal™ Battery Saver The ISL1221 has the InterSeal™ Battery Saver which prevents initial battery current drain before it is first used. For example, battery-backed RTCs are commonly packaged on a board with a battery connected. In order to preserve battery life, the ISL1221 will not draw any power from the battery source until after the device is first powered up from the VDD source. Thereafter, the device will switchover to battery backup mode whenever VDD power is lost. FIGURE 11. BATTERY SWITCHOVER WHEN VBAT < VTRIP VDD VBAT VTRIP VTRIP BATTERY BACKUP MODE 3.0V 2.2V VTRIP + VTRIPHYS Event/Tamper Monitor and Detection The ISL1221 provides an event detection, time stamp and alarm function to be used in a wide variety of applications ranging from security, warranty monitoring, data collection and recording. The tamper detect input pin, EVIN, can be used as a event or tamper detection input of an external switch (mechanical or electronic). When the EVIN pin is a valid HIGH, the ISL1221 sets the EVT bit in the status register and, can optionally: 1. Issue an Event output signal (EVDET pin) and store time stamp information in on board SRAM (second, minute, hour, date, month and year) 2. At the time event occurred, stop the RTC registers from advancing. To allow for flexibility of external switches used at the EVIN pin, the internal pull-up (~1µA in full on mode) can be disabled/enabled. This will allow more flexibility depending on the capacitive and resistive loading at the EVIN pin. A noise filter option is also provided for the event monitor circuit. The EVIN pin has a time based filter where the EVIN signal must be stable for a period of time to trigger a valid detection. The time hysteresis filter can vary from 0, 3.9ms, 15.2ms or 31.25ms. For low power applications the event monitor can be sampled at a user selectable rate. The EVIN pin can be always ON or periodically sampled with a frequency of 1/4, 1 or 2Hz. FIGURE 12. BATTERY SWITCHOVER WHEN VBAT > VTRIP The I2C bus is deactivated in battery backup mode to provide lower power. Aside from this, all RTC functions are operational during battery backup mode. Except for SCL and SDA, all the inputs and outputs of the ISL1221 are active during battery backup mode unless disabled via the control register. The User SRAM is operational in battery backup mode down to 1.8V. Power Failure Detection The ISL1221 provides a Real Time Clock Failure Bit (RTCF) to detect total power failure. It allows users to determine if the device has powered up after having lost all power to the device (both VDD and VBAT). Low Power Mode The normal power switching of the ISL1221 is designed to switch into battery backup mode only if the VDD power is lost. This will ensure that the device can accept a wide range of backup voltages from many types of sources while reliably switching into backup mode. Another mode, called Low Power Mode, is available to allow direct switching from VDD to VBAT without requiring VDD to drop below VTRIP. Since the additional monitoring of VDD vs. VTRIP is no longer needed, that circuitry is shut down and less power is used while operating from VDD. Power savings are typically 600nA at VDD = 5V. Low Power Mode is activated via the LPMODE bit in the control and status registers. Low Power Mode is useful in systems where VDD is normally higher than VBAT at all times. The device will switch from VDD to VBAT when VDD drops below VBAT, with about 50mV of hysteresis to prevent any switchback of VDD after 9 FN6316.1 July 15, 2010 ISL1221 Event Detect Timing Diagram with Sampling Mode Enabled Case 1, Switch Opened Before Ipu 15 CLKS (8x) Ipu ON OFF Users have the option to connect EVIN (see EVINEB bit) to an internal pull-up current source that operates at 1µA (always on mode), which can drop to 400nA in battery backup mode. User selectable event sampling modes are also available which will effectively reduce power consumption with 1/4-Hz, 1-Hz and 2Hz sample detection rates. The EVIN input is pulsed ON/OFF when in sampling mode for power savings advantages (see Table 1, 2, 3, and 4). The EVIN also has a user selectable time based hysteresis filter (see EHYS bits) to implement switch de-bouncing during an event detection. The EVIN signal must be high for the duration of the selected time period. The time periods available are 0 times delay (no time based hysteresis) to 3.9ms, 15.625ms or 31.25ms (see Table 1, 2, 3, and 4). TABLE 1. ΔIDD (VDD = 3V, tHYS = 3.9ms) OPEN EXT. SWITCH CLOSED EVIN HIGH LOW HIGH EVDET LOW 8 CLKS (8x) fSMP 1/4Hz 1Hz 2Hz DELTA IDD 20.5nA 82nA 164nA Case 2, Switch Opened After Ipu 15 CLKS (8x) Ipu ON OFF TABLE 2. ΔIDD (VDD = 5.0V, tHYS = 3.9ms) fSMP 1/4Hz 1Hz 2Hz DELTA IDD 65.8nA 263.3nA 526.5nA OPEN EXT. SWITCH CLOSED EVIN HIGH LOW HIGH EVDET LOW 8 CLKS (8x) TABLE 3. ΔIDD (VDD = 3.0V, tHYS = 15.625ms) fSMP 1/4Hz DELTA IDD 82nA 328nA 656.3nA Case 3, Switch Bounced 15 CLKS (8x) 1Hz 2Hz Ipu ON OFF TABLE 4. ΔIDD (VDD = 5.0V, tHYS = 15.625ms) fSMP 1/4Hz 1Hz 2Hz DELTA IDD 264nA 1.05µA 2.1µA OPEN EXT. SWITCH CLOSED EVIN HIGH LOW HIGH EVDET LOW 8 CLKS (8x) Real Time Clock Operation The Real Time Clock (RTC) uses an external 32.768kHz quartz crystal to maintain an accurate internal representation of second, minute, hour, day of week, date, month, and year. The RTC also has leap-year correction. The clock also corrects for months having fewer than 31 days and has a bit that controls 24 hour or AM/PM format. When the ISL1221 powers up after the loss of both VDD and VBAT, the clock will not begin incrementing until at least one byte is written to the clock register. The ISL1221 can operate independently or in conjunction with a microcontroller for low power operation modes or in battery backup modes. The event detection and time stamp circuits operate in either main VDD power or battery backup mode. 10 FN6316.1 July 15, 2010 ISL1221 Accuracy of the Real Time Clock The accuracy of the Real Time Clock depends on the frequency of the quartz crystal that is used as the time base for the RTC. Since the resonant frequency of a crystal is temperature dependent, the RTC performance will also be dependent upon temperature. The frequency deviation of the crystal is a function of the turnover temperature of the crystal from the crystal’s nominal frequency. For example, a ~20ppm frequency deviation translates into an accuracy of ~1 minute per month. These parameters are available from the crystal manufacturer. The ISL1221 provides on-chip crystal compensation networks to adjust load capacitance to tune oscillator frequency from -94ppm to +140ppm. For more detailed information see the “Application Section” on page 20. I2C Serial Interface The ISL1221 has an I2C serial bus interface that provides access to the control and status registers and the user SRAM. The I2C serial interface is compatible with other industry I2C serial bus protocols using a bidirectional data signal (SDA) and a clock signal (SCL). Oscillator Compensation The ISL1221 provides the option of timing correction due to temperature variation of the crystal oscillator for either manufacturing calibration or active calibration. The total possible compensation is typically -94ppm to +140ppm. Two compensation mechanisms that are available are as follows: 1. An analog trimming (ATR) register that can be used to adjust individual on-chip digital capacitors for oscillator capacitance trimming. The individual digital capacitor is selectable from a range of 9pF to 40.5pF (based upon 32.758kHz). This translates to a calculated compensation of approximately -34ppm to +80ppm. (see “Analog Trimming Register” on page 15). 2. A digital trimming register (DTR) that can be used to adjust the timing counter by ±60ppm. (see “Digital Trimming Register (DTR )” on page 16). Also provided is the ability to adjust the crystal capacitance when the ISL1221 switches from VDD to battery backup mode. (see “Battery Mode ATR Selection (BMATR )” on page 16 for more details). Single Event and Interrupt The alarm mode is enabled via the ALME bit. Choosing single event or interrupt alarm mode is selected via the IM bit. Note that when the frequency output function is enabled, the alarm function is disabled. The standard alarm allows for alarms of time, date, day of the week, month, and year. When a time alarm occurs in single event mode, an IRQ/EVDET pin will be pulled low and the alarm status bit (ALM) will be set to “1”. The pulsed interrupt mode allows for repetitive or recurring alarm functionality. Hence, once the alarm is set, the device will continue to alarm for each occurring match of the alarm and present time. Thus, it will alarm as often as every minute (if only the nth second is set) or as infrequently as once a year (if at least the nth month is set). During pulsed interrupt mode, the IRQ/EVDET pin will be pulled low for 250ms and the alarm status bit (ALM) will be set to “1”. The ALM bit can be reset by the user or cleared automatically using the auto reset mode (see “Auto Reset Enable Bit (ARST)” on page 14). The alarm function can be enabled/disabled during battery backup mode using the FOBATB bit. For more information on the alarm, please see the “Alarm Registers” on page 16. Register Descriptions The battery-backed registers are accessible following a slave byte of “1101111x” and reads or writes to addresses [00h:19h]. The defined addresses and default values are described in the Table 1. Address 09h is not used. Reads or writes to 09h will not affect operation of the device but should be avoided. REGISTER ACCESS The contents of the registers can be modified by performing a byte or a page write operation directly to any register address. The registers are divided into 5 sections. These are: 1. Real Time Clock (7 bytes): Address 00h to 06h. 2. Control and Status (5 bytes): Address 07h to 0Bh. 3. Alarm (6 bytes): Address 0Ch to 11h. 4. User SRAM (2 bytes): Address 12h to 13h. 5. Time Stamp (6 bytes): Address 14h to 19h There are no addresses above 19h. Write capability is allowable into the RTC registers (00h to 06h) only when the WRTC bit (bit 4 of address 07h) is set to “1”. A multi-byte read or write operation is limited to one section per operation. Access to another section requires a new operation. A read or write can begin at any address within the section. Frequency Output Mode The ISL1221 has the option to provide a frequency output signal using the FOUT pin. The frequency output mode is set by using the FO bits to select 15 possible output frequency values from 0 to 32kHz. The frequency output can be enabled/disabled during battery backup mode using the FOBATB bit. General Purpose User SRAM The ISL1221 provides 2 bytes of user SRAM. The SRAM will continue to operate in battery backup mode. However, it should be noted that the I2C bus is disabled in battery backup mode. 11 FN6316.1 July 15, 2010 ISL1221 A register can be read by performing a random read at any address at any time. This returns the contents of that register location. Additional registers are read by performing a sequential read. For the RTC and Alarm registers, the read instruction latches all clock registers into a buffer, so an update of the clock does not change the time being read. A sequential read will not result in the output of data from the memory array. At the end of a read, the master supplies a stop condition to end the operation and free the bus. After a read, the address remains at the previous address +1 so the user can execute a current address read and continue reading the next register. It is not necessary to set the WRTC bit prior to writing into the control and status, alarm, and user SRAM registers. TABLE 5. REGISTER MEMORY MAP REG ADDR. SECTION NAME 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h Time Stamp User Alarm Control and Status RTC SC MN HR DT MO YR DW SR INT EV ATR DTR SCA MNA HRA DTA MOA DWA USR1 USR2 SCT MNT HRT DTT MOT YRT BIT 7 0 0 MIL 0 0 YR23 0 ARST IM EVIENB BMATR1 Reserved ESCA EMNA EHRA EDTA EMOA EDWA USR17 USR27 0 0 MILT 0 0 YRT23 ASC22 AMN22 0 0 0 0 USR16 USR26 SCT22 MNT22 0 0 0 YRT22 ASC21 AMN21 AHR21 ADT21 0 0 USR15 USR25 SCT21 MNT21 HRT21 DTT21 0 YRT21 ASC20 AMN20 AHR20 ADT20 AMO20 0 USR14 USR24 SCT20 MNT20 HRT20 DTT20 MOT20 YRT20 ASC13 AMN13 AHR13 ADT13 AMO13 0 USR13 USR23 SCT13 MNT13 HRT13 DTT13 MOT13 YRT13 6 SC22 MN22 0 0 0 YR22 0 5 SC21 MN21 HR21 DT21 0 YR21 0 4 SC20 MN20 HR20 DT20 MO20 YR20 0 WRTC FOBATB EVEN ATR4 3 SC13 MN13 HR13 DT13 MO13 YR13 0 EVT FO3 EHYS1 ATR3 2 SC12 MN12 HR12 DT12 MO12 YR12 DW2 ALM FO2 EHYS0 ATR2 DTR2 ASC12 AMN12 AHR12 ADT12 AMO12 ADW12 USR12 USR22 SCT12 MNT12 HRT12 DTT12 MOT12 YRT12 1 SC11 MN11 HR11 DT11 MO11 YR11 DW1 BAT FO1 ESMP1 ATR1 DTR1 ASC11 AMN11 AHR11 ADT11 AMO11 ADW11 USR11 USR21 SCT11 MNT11 HRT11 DTT11 MOT11 YRT11 0 SC10 MN10 HR10 DT10 MO10 YR10 DW0 RTCF FO0 ESMP0 ATR0 DTR0 ASC10 AMN10 AHR10 ADT10 AMO10 ADW10 USR10 USR20 SCT10 MNT10 HRT10 DTT10 MOT10 YRT10 RANGE 0-59 0-59 0-23 1-31 1-12 0-99 0-6 N/A N/A N/A N/A N/A 00-59 00-59 0-23 1-31 1-12 0-6 N/A N/A 00-59 00-59 0-23 1-31 1-12 0-99 DEFAULT 00h 00h 00h 00h 00h 00h 00h 01h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h XTOSCB Reserved ALME EVBATB BMATR0 LPMODE RTCHLT ATR5 12 FN6316.1 July 15, 2010 ISL1221 Real Time Clock Registers Addresses [00h to 06h] RTC REGISTERS (SC, MN, HR, DT, MO, YR, DW) These registers depict BCD representations of the time. As such, SC (Seconds) and MN (Minutes) range from 0 to 59, HR (Hour) can either be a 12-hour or 24-hour mode, DT (Date) is 1 to 31, MO (Month) is 1 to 12, YR (Year) is 0 to 99, and DW (Day of the Week) is 0 to 6. The DW register provides a Day of the Week status and uses three bits DW2 to DW0 to represent the seven days of the week. The counter advances in the cycle 0-1-2-3-4-5-6-0-12-… The assignment of a numerical value to a specific day of the week is arbitrary and may be decided by the system software designer. The default value is defined as “0”. 24 HOUR TIME If the MIL bit of the HR register is “1”, the RTC uses a 24-hour format. If the MIL bit is “0”, the RTC uses a 12-hour format and HR21 bit functions as an AM/PM indicator with a “1” representing PM. The clock defaults to 12-hour format time with HR21 = “0”. LEAP YEARS Leap years add the day February 29 and are defined as those years that are divisible by 4. Years divisible by 100 are not leap years, unless they are also divisible by 400. This means that the year 2000 is a leap year, the year 2100 is not. The ISL1221 does not correct for the leap year in the year 2100. RTCF bit to “1”. The first valid write to the RTC section after a complete power failure resets the RTCF bit to “0” (writing one byte is sufficient). BATTERY BIT (BAT) This bit is set to a “1” when the device enters battery backup mode. This bit can be reset either manually by the user or automatically reset by enabling the auto-reset bit (see “Auto Reset Enable Bit (ARST)” on page 14). A write to this bit in the SR can only set it to “0”, not “1”. ALARM BIT (ALM) These bits announce if the alarm matches the real time clock. If there is a match, the respective bit is set to “1”. This bit can be manually reset to “0” by the user or automatically reset by enabling the auto-reset bit (see ARST bit). A write to this bit in the SR can only set it to “0”, not “1”. NOTE: An alarm bit that is set by an alarm occurring during an SR read operation will remain set after the read operation is complete. EVENT DETECT BIT (EVT) The event detect bit indicates status of the event input pin (EVIN). When the Event Detect function is enabled and the EVIN pin is triggered, the EVT bit is set to “1” to indicate a detection of an event, and the Time Stamp Register records the current RTC time. A write to this bit in the SR can only set it to “0” not “1”. When a HIGH signal is present at the EVIN pin (or a LOW to HIGH transition), an “event” is detected. On detection the EVT bit is set HIGH, the open drain EVDET pin is asserted (pulled LOW), and the RTC time is recorded in the Time Stamp registers. The EVT bit will be reset to LOW: • When the EVT bit is set to 0 with a Status Register write • When there is a read from the Status Register, with the ARST bit set to “1” (auto-reset enabled). If the EVT bit has not been cleared, only the initial (first occurrence) Timestamp is retained in the Timestamp register, subsequent triggers of the EVIN pin will not record new timestamps. If the EVT bit is cleared to “0”, the Timestamp register will record the time of the next event went the EVIN pin is triggered. WRITE RTC ENABLE BIT (WRTC) The WRTC bit enables or disables write capability into the RTC Timing Registers. The factory default setting of this bit is “0”. Upon initialization or power up, the WRTC must be set to “1” to enable the RTC. Upon the completion of a valid write (STOP), the RTC starts counting. The RTC internal 1Hz signal is synchronized to the STOP condition during a valid write cycle. CRYSTAL OSCILLATOR ENABLE BIT (XTOSCB) This bit enables/disables the internal crystal oscillator. When the XTOSCB is set to “1”, the oscillator is disabled, and the Control and Status Registers Addresses [07h to 0Bh] The Control and Status Registers consist of the Status Register, Interrupt and Alarm Register, Analog Trimming and Digital Trimming Registers. Status Register (SR) The Status Register is located in the memory map at address 07h. This is a volatile register that provides either control or status of RTC failure, battery mode, alarm trigger, event detection, write protection of clock counter, crystal oscillator enable and auto reset of status bits. TABLE 6. STATUS REGISTER (SR) ADDR 07h Default 7 6 5 4 3 EVT 2 1 0 ARST XTOSCB reserved WRTC ALM BAT RTCF 0 0 0 0 0 0 0 0 REAL TIME CLOCK FAIL BIT (RTCF) This bit is set to a “1” after a total power failure. This is a read only bit that is set by hardware (ISL1221 internally) when the device powers up after having lost all power to the device. The bit is set regardless of whether VDD or VBAT is applied first. The loss of only one of the supplies does not set the 13 FN6316.1 July 15, 2010 ISL1221 X1 pin allows for an external 32kHz signal to drive the RTC. The XTOSCB bit is set to “0” on power up. AUTO RESET ENABLE BIT (ARST) This bit enables/disables the automatic reset of the BAT and ALM, EVT status bits only. When ARST bit is set to “1”, these status bits are reset to “0” after a valid read of the Status Register (with a valid STOP condition). When the ARST is cleared to “0”, the user must manually reset the BAT, ALM, and EVT bits. INTERRUPT CONTROL REGISTER (INT) TABLE 7. INTERRUPT CONTROL REGISTER (INT) ADDR 08h Default 7 IM 0 6 5 4 3 2 1 0 drain configuration, and when used in battery backup mode requires a pull up resistor to VBAT. LOW POWER MODE BIT (LPMODE) This bit enables/disables low power mode. With LPMODE = “0”, the device will be in normal mode and the VBAT supply will be used when VDD < VBAT - VBATHYS and VDD < VTRIP. With LPMODE = “1”, the device will be in low power mode and the VBAT supply will be used when VDD < VBAT - VBATHYS. There is a supply current saving of about 600nA when using LPMODE = “1” with VDD = 5V. (See Typical Performance Curves: IDD vs VDD with LPMODE ON & OFF.) It should be noted that any writes to the LPMODE bit that may put the device into Low Power Mode should be avoided if VDD0. DTR2 = “1” means frequency compensation is
ISL1221 价格&库存

很抱歉,暂时无法提供与“ISL1221”相匹配的价格&库存,您可以联系我们找货

免费人工找货