intersil ISL12029 DATA SHEET

查询ISL12028IBAZ供应商
®
ISL12029
New Features
Data Sheet FN6206.1
Real Time Clock/Calendar with EEPROM
The ISL12029 device is a low power real time clock with clock/calender, power-fail indicator, clock output and crystal compensation, two periodic or polled alarms (open drain output), intelligent battery backup switching, CPU Supervisor, integrated 512 x 8 bit EEPROM configured in 16 byte per page.
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.
Pinout
14 LD TSSOP/SOIC
TOP VIEW
1
X1
2
X2 NC NC NC
RESET
GND
3 4 5 6 7
NC = No internal connection
V
14 13 12 11 10
DD
V
BAT
F
/IRQ
OUT
NC NC
9
SCL
8
SDA
Ordering Information
TEMP.
PAR T N U MBER
(Note)
ISL12029IB27Z 12029IB27Z 2.63V -40 to +85 14 Ld SOIC
ISL12029IB27AZ* 2.92V -40 to +85 14 Ld SOIC
ISL12029IB30AZ* 3.09V -40 to +85 14 Ld SOIC
ISL12029IBZ 12029IBZ 4.38V -40 to +85 14 Ld SOIC
ISL12029IBAZ* 4.64V -40 to +85 14 Ld SOIC
ISL12029IV27Z 12029IV27Z 2.63V -40 to +85 14 Ld TSSOP
ISL12029IV27AZ* 2.92V -40 to +85 14 Ld TSSOP
ISL12029IV30AZ* 3.09V -40 to +85 14 Ld TSSOP
ISL12029IVZ 12029IVZ 4.38V -40 to +85 14 Ld TSSOP
ISL12029IVAZ* 4.64V -40 to +85 14 Ld TSSOP
NOTE: Intersil Pb-free plus anneal products employ special Pb-free material sets; molding compounds/die attach materials and 100% matte tin plate termination finish, which are 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.
Add “-T” suffix for Tape & Reel after the part number.
* Contact Factory for availability
PART
MARKING
V
RESET
VOLTAGE
RANGE
(°C)
PACKAGE
(Pb-free)
February 9, 2006
Features
• Real Time Clock/Calendar
- Tracks Time in Hours, Minutes, and Seconds
- Day of the Week, Day, Month, and Year
- 3 Selectable Frequency Outputs
• Two Non-Volatile Alarms
- Settable on the Second, Minute, Hour, Day of the Week, Day, or Month
- Repeat Mode (periodic interrupts)
• Automatic Backup to Battery or SuperCap
- Power Failure Detection
- 800nA Battery Supply Current
• On-Chip Oscillator Compensation:
- Internal Feedback Resistor and Compensation Capacitors
- 64 Position Digitally Controlled Trim Capacitor
- 6 Digital Frequency Adjustment Settings to ±30ppm
• 512 x 8 Bits of EEPROM
- 16-Byte Page Write Mode (32 total pages)
- 8 Modes of Block Lock™ Protection
- Single Byte Write Capability
- Data Retention: 50 years
- Endurance: 500,000 Cycles Per Byte
• CPU Supervisor Functions
- Power-On Reset, Low Voltage Sense
- Watchdog Timer (0.25s, 0.75s, 1.5s)
2
C* Interface - 400kHz Data Transfer Rate
•I
• 14 Ld SOIC and TSSOP Packages
• Pb-Free Plus Anneal Available (RoHS Compliant)
Applications
• Utility Meters
• HVAC Equipment
• Audio/Video Components
• 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/AutomotivePAR
1
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.
1-888-INTERSIL or 1-888-468-3774
2
*I
C is a Trademark of Philips. Copyright Intersil Americas Inc. 2005-2006. All Rights Reserved
| Intersil (and design) is a registered trademark of Intersil Americas Inc.
All other trademarks mentioned are the property of their respective owners.
Block Diagram
32.768kHz
IRQ/F
OUT
Select
ISL12029
OSC Compensation
X1
X2
Oscillator
Frequency
Divider
1Hz
Timer
Calendar
Logic
Time
Keeping
Registers
(SRAM)
Battery Switch
Circuitry
V V
DD BACK
Timer
Status
Registers
(SRAM)
Low Voltage
Reset
Alarm
Compare
Alarm Regs
Mask
EEPROM
(EEPROM)
4K
ARRAY
SCL SDA
Interface Decoder
RESET
Serial
Control
Decode
Logic
8
Control/
Registers
(EEPROM)
Watchdog
Pin Descriptions
PIN
NUMBER SYMBOL DESCRIPTION
1 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.
2 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.
6 RESET
7 GND Ground.
8 SDA Serial Data (SDA) is a bidirectional pin used to transfer serial data into and out of the device. It has an open drain
9 SCL The Serial Clock (SCL) input is used to clock all serial data into and out of the device. The input buffer on this pin is
12
13 V
14 V
3, 4, 5, 10,
IRQ/F
BAT
DD
N.C. No Internal Connection.
11
RESET. This is a reset signal output. This signal notifies a host processor that the “watchdog” time period has expired or that the voltage has dropped below a fixed V Recommended value for the pull-up resistor is 5k, If unused, connect to ground.
threshold. It is an open drain active LOW output.
TRIP
output and may be wire OR’ed with other open drain or open collector outputs.
always active (not gated).
Interrupt Output/Frequency Output is a multi-functional pin that can be used as interrupt or frequency output pin. It
OUT
is an open drain output. The function is set via the configuration register.
This input provides a backup supply voltage to the device. V V
supply fails. This pin should be tied to ground if not used.
DD
supplies power to the device in the event that the
BAT
Power Supply.
2
FN6206.1
February 9, 2006
ISL12029
Absolute Maximum Ratings Thermal Information
Voltage on VDD, V
(respect to ground) . . . . . . . . . . . . . . . . . . . . . . . . . . -0.3V to 6.0V
, SCL, SDA, and IRQ/F
BAT
OUT
Pins
Voltage on X1 and X2 Pins
(respect to ground) . . . . . . . . . . . . . . . . . . . . . . . . . . -0.3V to 2.5V
ESD Rating
MIL-STD-883, Method 3014. . . . . . . . . . . . . . . . . . . . . . . . .>±2kV
Machine Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .>175V
CAUTION: Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress only rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied.
NOTE: θJA is measured with the component mounted on a high effective thermal conductivity test board in free air. See Tech Brief TB379 for details.
Thermal Resistance (Note) θ
(°C/W)
JA
14 Ld SOIC Package . . . . . . . . . . . . . . . . . . . . . . . . 100
14 Ld TSSOP Package . . . . . . . . . . . . . . . . . . . . . . 110
Storage Temperature . . . . . . . . . . . . . . . . . . . . . . . . -65°C to +150°C
Lead Temperature (Soldering, 10s) . . . . . . . . . . . . . . . . . . . . . 300°C
DC Electrical Specifications Unless otherwise noted, V
= 3.3V
V
DD
= +2.7V to +5.5V, TA= -40°C to +85°C, Typical values are at TA= 25°C and
DD
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT NOTES
V
V
BAT
Main Power Supply 2.7 5.5 V
DD
Backup Power Supply 1.8 5.5 V
Electrical Specifications
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT NOTES
I
DD1
I
DD2
I
DD3
I
BAT
I
BATLKG
V
TRIP
V
TRIPHYSVTRIP
V
BATHYSVBAT
V
DD SR-VDD
IRQ
/F
V
I
Supply Current with I2C Active VDD = 2.7V 500 µA 1, 2, 3
V
= 5.5V 800 µA
DD
Supply Current for Non-Volatile Programming
Supply Current for Main Timekeeping (Low Power Mode)
Battery Supply Current V
Battery Input Leakage VDD = 5.5V, V
V
Mode Threshold 1.8 2.2 2.6 V 5
BAT
VDD = 2.7V 2.5 mA 1, 2, 3
VDD = 5.5V 3.5 mA
VDD = V
VDD = V
BAT
V
DD
V
BAT
V
DD
SDA
SDA
= 1.8V,
= V
SDA
= 3.0V,
= V
SDA
= V
= 2.7V 10 µA 3
SCL
= V
= 5.5V 20 µA
SCL
800 1000 nA 1, 4, 5
= V
SCL
= V
RESET
= 0V
850 1200 nA
= V
= V
SCL
= 1.8V -100 100 nA
BAT
RESET
= 0V
Hysteresis 30 mV 5, 7
Hysteresis 50 mV 5, 7
Negative Slew Rate 10 V/ms 6
RESET OUTPUTS
OUT,
Output Low Voltage VDD = 5.5V
OL
Output Leakage Current VDD = 5.5V
LO
I
V I
V
OL
DD
OL
OUT
= 3mA
= 2.7V
= 1mA
100 400 nA
=5.5V
0.4 V
0.4 V
, 3
3
FN6206.1
February 9, 2006
ISL12029
Watchdog Timer/Low Voltage Reset Parameters
SYMBOL PARAMETER CONDITIONS MIN
t
RPD
t
PURST
V
RVALID
V
RESET
t
WDO
t
RST
t
RSP
EEPROM SPECIFICATIONS
VDD Detect to RESET LOW 500 ns 7
Power Up Reset Time-Out Delay 100 250 400 ms
Minimum VDD for Valid RESET Output
ISL12029-4.5A Reset Voltage Level 4.59 4.64 4.69 V
ISL12029 Reset Voltage Level 4.33 4.38 4.43 V
ISL12029-3 Reset Voltage Level 3.04 3.09 3.14 V
ISL12029-2.7A Reset Voltage Level 2.87 2.92 2.97 V
ISL12029-2.7 Reset Voltage Level 2.58 2.63 2.68 V
Watchdog Timer Period 32.768kHz crystal between X1
and X2
Watchdog Timer Reset Time-Out Delay
32.768kHz crystal between X1 and X2
I2C Interface Minimum Restart Time 1.2 µs
EEPROM Endurance 500,000 Cycles
EEPROM Retention Temperature ≤75°C 50 Years
TYP
(Note 5) MAX UNI TS NOTES
1.0 V
1.70 1.75 1.801 s
725 750 775 ms
225 250 275 ms
225 250 275 ms
Serial Interface (I2C) Specifications
DC/AC Characteristics
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS NOTES
V
V
SDA, and SCL Input Buffer LOW
IL
Voltage
SDA, and SCL Input Buffer HIGH
IH
Voltage
Hysteresis SDA and SCL Input Buffer
Hysteresis
V
I
I
SDA Output Buffer LOW Voltage IOL=4mA 0 0.4 V
OL
Input Leakage Current on SCL VIN= 5.5V 0.1 10 µA
LI
I/O Leakage Current on SDA VIN= 5.5V 0.1 10 µA
LO
TIMING CHARACTERISTICS
f
SCL
t
t
t
BUF
t
LOW
SCL Frequency 400 kHz
Pulse Width Suppression Time at
IN
SDA and SCL Inputs
SCL Falling Edge to SDA Output
AA
Data Valid
Time the Bus Must be Free Before the Start of a New Transmission
Clock LOW Time Measured at the 30% of VDD
SBIB = 1 (Under VDD mode) -0.3 0.3 x V
SBIB = 1 (Under VDD mode) 0.7 x V
SBIB = 1 (Under V
mode) 0.05 x V
DD
Any pulse narrower than the max
DD
DD
VDD + 0.3 V
50 ns
spec is suppressed.
SCL falling edge crossing 30% of V
, until SDA exits the 30% to
DD
70% of V
window.
DD
SDA crossing 70% of VDD during
1300 ns
900 ns
a STOP condition, to SDA crossing 70% of V following START condition.
during the
DD
1300 ns
crossing.
DD
V
V
4
FN6206.1
February 9, 2006
ISL12029
Serial Interface (I2C) Specifications (Continued)
DC/AC Characteristics
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS NOTES
t
HIGH
t
SU:STA
t
HD:STA
t
SU:DAT
t
HD:DAT
t
SU:STO
t
HD:STO
t
DH
t
Clock HIGH Time Measured at the 70% of VDD
crossing.
START Condition Setup Time SCL rising edge to SDA falling
edge. Both crossing 70% of V
START Condition Hold Time From SDA falling edge crossing
30% of V
to SCL falling edge
DD
crossing 70% of V
Input Data Setup Time From SDA exiting the 30% to
70% of V edge crossing 30% of V
window, to SCL rising
DD
Input Data Hold Time From SCL falling edge crossing
70% of V 30% to 70% of V
to SDA entering the
DD
STOP Condition Setup Time From SCL rising edge crossing
70% of V
, to SDA rising edge
DD
crossing 30% of V
STOP Condition Hold Time for Read, or Volatile Only Write
From SDA rising edge to SCL falling edge. Both crossing 70% of V
.
DD
Output Data Hold Time From SCL falling edge crossing
30% of V 30% to 70% of V
SDA and SCL Rise Time From 30% to 70% of V
R
SDA and SCL Fall Time From 70% to 30% of V
t
F
, until SDA enters the
DD
DD
window.
DD
DD
window.
DD
DD
.
DD
.
DD
DD
Cb Capacitive Loading of SDA or SCL Total on-chip and off-chip 10 400 pF
Cpin SDA, and SCL Pin Capacitance 10 pF
t
WC
Non-Volatile Write Cycle Time 12 20 ms 8
600 ns
600 ns
.
600 ns
100 ns
0ns
600 ns
600 ns
0ns
20 +
250 ns
0.1 x Cb
20 +
250 ns
0.1 x Cb
NOTES:
F
1. IRQ/
2. V
3. V
Inactive (no frequency output and no alarms).
OUT
= VDD x 0.1, V
IL
= 2.63V (VDD must be greater than V
RESET
= VDD x 0.9, f
IH
SCL
= 400kHz.
RESET
), VBAT = 0V.
4. Bit BSW = 0 (Standard Mode), VBAT 1.8V.
5. Specified at 25°C.
6. In order to ensure proper timekeeping, the V
specification must be followed.
DD SR-
7. Parameter is not 100% tested.
is the minimum cycle time to be allowed for any non-volitile Write by the user, it is the time from valid STOP condition at the end of Write
8. t
WC
sequence of a serial interface Write operation, to the end of the self-timed internal non-volatile write cycle.
5
FN6206.1
February 9, 2006
Timing Diagrams
ISL12029
SCL
SDA
(INPUT TIMING)
SDA
(OUTPUT TIMING)
SCL
SDA
t
F
t
SU:DAT
t
SU:STA
t
HD:STA
8TH BIT OF LAST BYTE ACK
t
HIGH
t
LOW
t
HD:DAT
FIGURE 1. BUS TIMING
STOP
CONDITION
FIGURE 2. WRITE CYCLE TIMING
t
R
t
DH
t
AA
t
WC
START
CONDITION
t
BUF
t
HD:STO
t
SU:STO
SCL
SDA
RESET
V
RESET
DD
V
RESET
t
RSP
t
RSP>tWDO
START
t
RSP<tWDO
STOP
START
Note: All inputs are ignored during the active reset period (t
FIGURE 3. WATCHDOG TIMING
t
PURST
t
R
t
RPD
t
PURST
t
RST
RST
t
RSP>tWDO
t
RST
).
t
F
V
RVALID
FIGURE 4. RESET TIMING
6
FN6206.1
February 9, 2006
ISL12029
Typical Performance Curves Temperature is 25°C unless otherwise specified
0.90
4.00
3.50
3.00
2.50
2.00
Ibat (uA)
1.50
1.00
0.50
0.00
1.8 2.3 2.8 3.3 3.8 4.3 4.8 5.3
FIGURE 5. I
BSW = 0 or 1
SCL,SDA pullups = 0 V
SCL,SDA pul lups = Vbat
BSW = 0 or 1
Vbat (V)
BAT
vs V
SBIB = 0 FIGURE 6. I
BAT,
0.80
0.70
0.60
0.50
Ibat
0.40
0.30
0.20
0.10
0.00
1.80 2.30 2.80 3.30 3.80 4.30 4.80 5.30
SCL,SDA pullups = 0V
BSW = 0 or 1
Vbat(V)
vs V
BAT
BAT,
SBIB = 1
5.00
4.50
4.00
3.50
3.00
2.50
Idd (uA)
2.00
1.50
1.00
0.50
0.00
-45-35-25-15-5 5 1525354555657585
Vdd=5.5V
Vdd=3.3V
Temperature
FIGURE 7. I
4.50
4.00
3.50
3.00
2.50
2.00
Idd (uA)
1.50
1.00
0.50
0.00
1.8 2.3 2.8 3.3 3.8 4.3 4.8 5.3
vs TEMPERATURE FIGURE 8. I
DD3
Vdd (V)
1.40
1.20
Vbat = 3.0V
1.00
0.80
0.60
Ibat (uA)
0.40
0.20
0.00
-45-35-25-15-5 5 1525354555657585
Temperature
vs TEMPERATURE
BAT
80
60
40
20
0
PPM change from ATR=0
-20
-40
-32 -28 -24 -20 -16 -12 -8 -4 0 4 8 12 16 20 24 28
ATR set ti ng
FIGURE 9. I
DD3
7
vs V
DD
FIGURE 10. ∆F
vs ATR SETTING
OUT
FN6206.1
February 9, 2006
ISL12029
Description
The ISL12029 device is a Real Time Clock with clock/calendar, two polled alarms with integrated 512x8 EEPROM, oscillator compensation, CPU Supervisor (Power-on Reset, Low Voltage Sensing and Watchdog Timer) 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.
The Real-Time Clock keeps track of time with separate registers for Hours, Minutes, Seconds. The Calendar has separate registers for Date, Month, Year and Day-of-week. The calendar is correct through 2099, with automatic leap year correction.
The 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 can provide a hardware interrupt (IRQ
/F
Pin). There is a
OUT
repeat mode for the alarms allowing a periodic interrupt.
The IRQ
/F
pin may be software selected to provide a
OUT
frequency output of 1Hz, 4096Hz, or 32,768Hz or inactive.
The ISL12029 device integrates CPU Supervisory functions (POR, WDT) and Battery Switch. There is Power-On-Reset (RESET VDD supply crosses the V also assert RESET V
) output with 250ms delay from power-on when the
threshold for the device. It will
RESET
when V
threshold for the device. The V
RESET
goes below the specified
DD
RESET
threshold is selectable via VTS2/VTS1/VTS0 registers to five (5) preselected levels. Their is WatchDog Timer (WDT) with 3 selectable time-out periods (0.25s, 0.75s and 1.75s) and disabled setting. The WatchDog Timer activates the RESET when it expires. Normally, the I RESET
output is active, but this can be changed by using a
register bit to enable I
2
The device offers a backup power input pin. This V
2
C Interface is disabled when the
C operation in battery backup mode.
BAT
pin
pin
allows the device to be backed up by battery or SuperCap. The entire ISL12029 device is fully operational from 2.7 to 5.5V and the clock/calendar portion of the ISL12029 device remains fully operational down to 1.8V (Standby Mode).
The ISL12029 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). The pull-up resistor on this pin must use the same voltage source as V
DD
.
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).
This open drain output requires the use of a pull-up resistor. The pull-up resistor on this pin must use the same voltage source as V
. The output circuitry controls the fall time of the
DD
output signal with the use of a slope controlled pull-down. The circuit is designed for 400kHz I
V
BAT
2
C interface speed.
This input provides a backup supply voltage to the device. V
supplies power to the device in the event the VDD
BAT
supply fails. This pin can be connected to a battery, a SuperCap or tied to ground if not used.
IRQ/F
(Interrupt Output/Frequency Output)
OUT
This dual function pin can be used as an interrupt or frequency output pin. The IRQ
/F
mode is selected via
OUT
the frequency out control bits of the control/status register.
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.
Frequency Output Mode. The pin outputs a clock signal which is related to the crystal frequency. The frequency output is user selectable and enabled via the I
2
C bus. It is
an open drain output.
The IRQ
/F
pin is an open drain output requiring a pullup
OUT
resistor which was intended to be used for clocking applications for microcontrollers. Choose the pullup resistor with care, since low values will cause high currents to flow in the V
and ground traces around the device which can
DD
contribute to faulty oscillator function. For a 32kHz output, values up to 10k can be used with some degradation of the square waveform.
RESET
The RESET signal output can be used to notify a host processor that the watchdog timer has expired or the VDD voltage supply has dipped below the V
threshold. It is
RESET
an open drain, active LOW output. Recommended value for the pullup resistor is 10k. If unused it can be tied to ground.
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 ISL12029 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. X2 is intended to drive a crystal only, and should not drive any external circuit.
8
FN6206.1
February 9, 2006
ISL12029
NO EXTERNAL COMPENSATION RESISTORS OR CAPACITORS ARE NEEDED OR ARE RECOMMENDED TO BE CONNECTED TO THE X1 AND X2 PINS.
X1 X2
FIGURE 11. RECOMMENDED CRYSTAL CONNECTION
Real Time Clock Operation
The Real Time Clock (RTC) uses an external 32.768kHz quartz crystal to maintain an accurate internal representation of the second, minute, hour, day, date, month, and year. The RTC 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 ISL12029 powers up after the loss of both V operate until at least one byte is written to the clock register.
Reading the Real Time Clock
The RTC is read by initiating a Read command and specifying the address corresponding to the register of the Real Time Clock. The RTC Registers can then be read in a Sequential Read Mode. Since the clock runs continuously and read takes a finite amount of time, there is a possibility that the clock could change during the course of a read operation. In this device, the time is latched by the read command (falling edge of the clock on the ACK bit prior to RTC data output) into a separate latch to avoid time changes during the read operation. The clock continuoes to run. Alarms occuring during a read are unaffected by the read operation.
Writing to the Real Time Clock
The time and date may be set by writing to the RTC registers. RTC Register should be written ONLY with Page Write. To avoid changing the current time by an uncompleted write operation, write to the all 8 bytes in one write operation. When writing the RTC registers, the new time value is loaded into a separate buffer at the falling edge of the clock during the Acknowledge. This new RTC value is loaded into the RTC Register by a stop bit at the end of a valid write sequence. An invalid write operation aborts the time update procedure and the contents of the buffer are discarded. After a valid write operation the RTC will reflect the newly loaded data beginning with the next “one second” clock cycle after the stop bit is written. The RTC continues to update the time while an RTC register write is in progress and the RTC continues to run during any nonvolatile write sequences.
DD
and V
, the clock will not
BAT
Accuracy of the Real Time Clock
The accuracy of the Real Time Clock depends on the accuracy 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. Intersil’s RTC family provides on­chip crystal compensation networks to adjust load­capacitance to tune oscillator frequency from -34ppm to +80ppm when using a 12.5pF load crystal. For more detailed information see the Application section.
Clock/Control Registers (CCR)
The Control/Clock Registers are located in an area separate from the EEPROM array and are only accessible following a slave byte of “1101111x” and reads or writes to addresses [0000h:003Fh]. The clock/control memory map has memory addresses from 0000h to 003Fh. The defined addresses are described in Table 2. Writing to and reading from the undefined addresses are not recommended.
CCR Access
The contents of the CCR can be modified by performing a byte or a page write operation directly to any address in the CCR. Prior to writing to the CCR (except the status register), however, the WEL and RWEL bits must be set using a three step process (See section “Writing to the Clock/Control Registers.”)
The CCR is divided into 5 sections. These are:
1. Alarm 0 (8 bytes; non-volatile)
2. Alarm 1 (8 bytes; non-volatile)
3. Control (5 bytes; non-volatile)
4. Real Time Clock (8 bytes; volatile)
5. Status (1 byte; volatile)
Each register is read and written through buffers. The non­volatile portion (or the counter portion of the RTC) is updated only if RWEL is set and only after a valid write operation and stop bit. A sequential read or page write operation provides access to the contents of only one section of the CCR per operation. Access to another section requires a new operation. A read or write can begin at any address in the CCR.
It is not necessary to set the RWEL bit prior to writing the status register. Section 5 (status register) supports a single byte read or write only. Continued reads or writes from this section terminates the operation.
The state of the CCR can be read by performing a random read at any address in the CCR at any time. This returns the contents of that register location. Additional registers are
9
FN6206.1
February 9, 2006
Loading...
+ 18 hidden pages