7
FN6749.1
December 15, 2011
Description
The ISL12024IRTCZ device is a real-time clock with
clock/calendar, 64-bit unique ID, 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.
The real-time clock keeps track of time with separate
registers for hours, minutes and 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 64-bit unique ID is a random numbers programmed,
verified and locked at the factory and it is only accessible for
reading and cannot be altered by the customer.
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
OUT
Pin). There is a pulse mode for the alarms allowing for
repetitive alarm functionality.
The IRQ
/F
OUT
pin may be software selected to provide a
frequency output of 1Hz, 4096Hz, or 32,768Hz or inactive.
The device offers a backup power input pin. This V
BAT
pin
allows the device to be backed up by battery or Super Cap.
The entire ISL12024IRTCZ device is fully operational from
2.7V to 5.5V and the clock/calendar portion of the
ISL12024IRTCZ device remains fully operational down to
1.8V (Standby Power Mode).
The ISL12024IRTCZ device provides 4k bits of EEPROM
with eight 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
DD
. The output circuitry controls the fall time of the
output signal with the use of a slope controlled pull-down. The
circuit is designed to comply with 400kHz I
2
C interface speed.
V
BAT
This input provides a backup supply voltage to the device.
V
BAT
supplies power to the device in the event the V
DD
supply fails. This pin can be connected to a battery, a Super
Cap or tied to ground if not used.
IRQ/F
OUT
(Interrupt Output/Frequency Output)
This dual function pin can be used as an interrupt or
frequency output pin. The IRQ
/F
OUT
mode is selected via
the frequency out control bits of the INT 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.
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 ISL12024IRTCZ 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 X2 pin is
intended to drive a crystal only, and should not drive any
external circuit.
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 ISL12024IRTCZ powers up after
the loss of both V
DD
and V
BAT
, the clock will not 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 a read
X1
X2
FIGURE 7. RECOMMENDED CRYSTAL CONNECTION
ISL12024IRTC
8
FN6749.1
December 15, 2011
takes a finite amount of time, there is the 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 continues to run. Alarms occurring 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 incomplete
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 non-volatile write sequences.
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” on page 20.
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 1. 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 See “Writing to the Clock/Control
Registers” on page 12.)
The CCR is divided into 6 sections. These are:
1. Alarm 0 (8 bytes; non-volatile)
2. Alarm 1 (8 bytes; non-volatile)
3. Control (5 bytes; non-volatile)
4. Unique ID (8 bytes; non-volatile)
5. Real-Time clock (8 bytes; volatile)
6. 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
read by performing a sequential read. 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 of the CCR 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 of the CCR, the address remains at the previous
address +1 so the user can execute a current address read
of the CCR and continue reading the next Register.
Real-Time Clock Registers
SC, MN, HR, DT, MO, YR: Clock/Calendar Registers
These registers depict BCD representations of the time. As
such, SC (Seconds) and MN (Minutes) range from 00 to 59,
HR (Hour) is 1 to 12 with an AM or PM indicator (H21 bit) or
0 to 23 (with MIL = 1), DT (Date) is 1 to 31, MO (Month) is 1
to 12, YR (Year) is 0 to 99.
DW: Day of the Week Register
This register provides a day of the week status, and uses
three bits DY2 to DY0 to represent the seven days of the
week. The counter advances in the cycle
0-1-2-3-4-5-6-0-1-2-… 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’.
ISL12024IRTC
9
FN6749.1
December 15, 2011
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 the H21 bit functions as an AM/PM indicator with a ‘1’
representing PM. The clock defaults to standard time with
H21 = 0.
Leap Years
Leap years add the day February 29 and are defined as
those years that are divisible by 4.
Status Register (SR)
The Status Register is located in the CCR memory map at
address 003Fh. This is a volatile register only, and is used to
control the WEL and RWEL write enable latches, read power
status and two alarm bits. This register is separate from both
the array and the Clock/Control Registers (CCR).
BAT: Battery Supply - Volatile
This bit set to “1” indicates that the device is operating from
V
BAT
, not V
DD
. It is a read-only bit and is set/reset by
hardware (ISL12024IRTCZ internally). Once the device
begins operating from V
DD
, the device sets this bit to “0”.
AL1, AL0: Alarm Bits - Volatile
These bits announce if either alarm 0 or alarm 1 match the
real-time clock. If there is a match, the respective bit is set to
‘1’. The falling edge of the last data bit in a SR Read
operation resets the flags. (Note: Only the AL bits that are
set when an SR read starts will be reset). An alarm bit that is
set by an alarm occurring during an SR read operation will
remain set after the read operation is complete.
RWEL: Register Write Enable Latch Volatile
This bit is a volatile latch that powers up in the LOW
(disabled) state. The RWEL bit must be set to “1” prior to any
writes to the Clock/Control Registers. Writes to RWEL bit do
not cause a non-volatile write cycle, so the device is ready
for the next operation immediately after the stop condition. A
write to the CCR requires both the RWEL and WEL bits to be
set in a specific sequence.
WEL: Write Enable Latch - Volatile
The WEL bit controls the access to the CCR during a write
operation. This bit is a volatile latch that powers up in the
LOW (disabled) state. While the WEL bit is LOW, writes to the
CCR address will be ignored, although acknowledgment is
still issued. The WEL bit is set by writing a “1” to the WEL bit
and zeroes to the other bits of the Status Register. Once set,
WEL remains set until either reset to 0 (by writing a “0” to the
WEL bit and zeroes to the other bits of the Status Register) or
until the part powers up again. Writes to WEL bit do not cause
a non-volatile write cycle, so the device is ready for the next
operation immediately after the stop condition.
RTCF: Real-Time Clock Fail Bit - Volatile
This bit is set to a ‘1’ after a total power failure. This is a read
only bit that is set internally when the device powers up after
having lost all power to the device. The bit is set regardless
of whether V
DD
or V
BAT
is applied first. The loss of only one
of the supplies does not result in setting the RTCF bit. The
first valid write to the RTC after a complete power failure
(writing one byte is sufficient) resets the RTCF bit to ‘0’.
Unused Bits:
Bit 3 in the SR is not used, but must be zero. The Data Byte
output during a SR read will contain a zero in this bit location.
TABLE 1. STATUS REGISTER (SR)
ADDR 7 6 5 4 3 2 1 0
003Fh BAT AL1 AL0 0 0 RWEL WEL RTCF
Default 0 0 0 0 0 0 0 1
ISL12024IRTC

ISL12024IRTCZ

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Real Time Clock RTC OUTPUT PROGRAM TO 32KHZ W/EEPROM 8
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet