7
FN6755.2
September 25, 2015
General Description
The ISL12057 device is a low-power, real-time clock with
clock/calendar, power-fail indicator, and alarm function.
The oscillator uses an external, low-cost 32.768kHz crystal
with 6pF load capacitance. 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.
The ISL12057 has two flexible alarms, and each can be set to
any clock/calendar value for a match; for example, every
minute, every Tuesday, or at 5:23 a.m. on the first day of every
month. The alarm status is available by checking the Status
Register, or the device can be configured to provide a hardware
interrupt via the IRQ1
/F
OUT
or IRQ2 pin. There is a repeat
mode for the alarm, which allows a periodic interrupt every
second or every minute.
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
with 6pF load capacitance is used with the ISL12057 to
supply a timebase for the real-time clock. See Figure 6.
The device can also be driven directly from a 32.768kHz
square wave source with peak-to-peak voltage from 0V to
VDD at X1 pin with X2 pin floating.
Typical Performance Curves Temperature is +25°C unless otherwise specified
FIGURE 2. I
DD1
vs V
DD
FIGURE 3. I
DD1
vs TEMPERATURE
FIGURE 4. I
DD
vs V
DD
vs F
OUT
FIGURE 5. F
OUT
VS V
DD
WITH A TYPICAL 32.768kHZ CRYSTAL
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
1.41.92.42.93.4
V
DD
(V)
I
DD1
(µA)
0.2
0.4
0.6
0.8
1.0
-40 -20 0 20 40 60 80
TEMPERATURE (°C)
3.0
1.8
1.4
3.6
I
DD1
(µA)
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.1
1.2
1.41.92.42.93.4
I
DD
(µA)
8192Hz
1Hz
32768Hz
4096Hz
V
DD
(V)
32767.0
32767.2
32767.4
32767.6
32767.8
32768.0
32768.2
32768.4
32768.6
32768.8
32769.0
1.4 1.9 2.4 2.9 3.4
F
OUT
(Hz)
V
DD
(V)
FIGURE 6. RECOMMENDED CRYSTAL CONNECTION
X1
X2
ISL12057
8
FN6755.2
September 25, 2015
IRQ1/F
OUT
(Interrupt Output 1/Frequency Output)
This dual-function pin can be used as an alarm interrupt or a
frequency output pin. The IRQ1
/F
OUT
mode is selected via
the control register (address 0Eh). The IRQ1
/F
OUT
is an
open drain output.
This pin has a default output of 32.768kHz at power-up.
Interrupt Mode. The pin provides an interrupt signal
output. This signal notifies a host processor that an alarm
has occurred and requests action.
Frequency Output Mode. The pin outputs a clock signal
that is related to the crystal frequency. The frequency
output is user selectable and is enabled via the I
2
C bus.
IRQ2
(Interrupt Output 2)
The IRQ2 pin is used as an Alarm1 interrupt and/or an
Alarm2 interrupt. The IRQ2
mode is selected via the control
register (address 0Eh). The IRQ2
is an open drain output.
This pin is high impedance at power-up.
The pin provides an interrupt signal output. This signal
notifies a host processor that an alarm has occurred and
requests action.
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).
The SCL pin can accept a logic high voltage up to 5.5V.
Serial Data (SDA)
SDA is a bi-directional pin used to transfer data into and out
of the device. It has an open drain output and may be ORed
with other open drain or open collector outputs. The input
buffer is always active (not gated) in normal mode.
An open drain output requires the use of a pull-up resistor,
and it can accept a pull-up voltage up to 5.5V. 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 I
2
C interface speeds.
NOTE: Parts will work with SDA pull-up voltage above the V
PULLUP
limit, but the t
AA
and t
F
in the I
2
C parameters are not guaranteed.
V
DD
, GND
These are chip power supply and ground pins. The device
will have full operation with a power supply from 1.8V to
3.6VDC, and a timekeeping function with a power supply
from 1.4V to 1.8V.
A 0.1µF decoupling capacitor is recommended on the V
DD
pin to ground.
Functional Description
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 RTC corrects
for months having fewer than 31 days and has a bit that
controls 24-hour or AM/PM format. The clock begins
incrementing after power-up with valid oscillator condition.
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, RTC performance also depends
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.
I
2
C Serial Interface
The ISL12057 has an I
2
C serial bus interface that provides
access to the real-time clock registers, the control and status
registers, and the alarm registers. The I
2
C serial interface is
compatible with other industry I
2
C serial bus protocols using
a bi-directional data signal (SDA) and a clock signal (SCL).
Register Descriptions
The registers are accessible following a slave byte of
“1101000x” and they read or write to addresses [00h:0Fh].
The defined addresses and default values are described in
Table 1.
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 address will wrap around from 0Fh to 00h.
The registers are divided into three sections:
1. Real Time Clock (7 bytes): Address 00h to 06h
2. Alarm (7 bytes): Address 07h to 0Dh
3. Control and Status (2 bytes): Address 0Eh to 0Fh
There are no addresses above 0Fh.
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 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
or write instruction, the address remains at the previous
address plus one, so the user can execute a current address
read and continue reading the next register.
ISL12057
9
FN6755.2
September 25, 2015
Real-Time Clock Registers
Addresses [00h to 06h]
RTC REGISTERS (SC, MN, HR, DW, DT, MO, YR)
These registers depict BCD representations of the time. As
such, SC (Seconds, address 00h) and MN (Minutes,
address 01h) range from 0 to 59, HR (Hour, address 02h)
can either be a 12-hour or 24-hour mode, DW (Day of the
Week, address 03h) is 1 to 7, DT (Date, address 04h) is 1 to
31, MO (Month, address 05h) is 1 to 12, and YR (Year,
address 06h) is 0 to 99.
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,
1-2-3-4-5-6-7-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.
24-HOUR TIME
If the MIL
bit of the HR register is “0”, the RTC uses a
24-hour format, and bit 5 of the HR register is the second
10-hour bit (20–23 hours). If the MIL bit is “1”, the RTC uses
a 12-hour format and bit 5 of the HR register is the AM
/PM
bit, with logic high being PM. The clock defaults to 24-hour
format time.
CENTURY INDICATOR
The century bit (bit 7 of the MO register) is toggled when the
years register overflows from 99 to 00 to indicate the change
of century.
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, and the year 2100 is not. The
ISL12057 does not correct for the leap year in the year 2100.
Addresses [0Eh to 0Fh]
The Control and Status Registers consist of the Status
Register, Interrupt, and Alarm Register.
TABLE 1. REGISTER MEMORY MAP
ADDR SECTION
REG
NAME
BIT REG
76 5 43210RANGEDEFAULT
00
H RTC SC 0 SC22 SC21 SC20 SC13 SC12 SC11 SC10 0-59 00h
01
H MN 0 MN22 MN21 MN20 MN13 MN12 MN11 MN10 0-59 00h
02
H HR 0 MIL AM/PM HR20 HR13 HR12 HR11 HR10 1-12
+AM/PM
00h
HR21 0-23
03
H DW 0 0 0 0 0 DW12 DW11 DW10 1-7 01h
04
H DT 0 0 DT21 DT20 DT13 DT12 DT11 DT10 1-31 01h
05
H MO CENTUR
Y
0 0 MO20 MO13 MO12 MO11 MO10 0-12
+Century
01h
06h YR YR23 YR22 YR21 YR20 YR13 YR12 YR11 YR10 0-99 00h
07h Alarm1 A1SC A1M1 A1SC22 A1SC21 A1SC20 A1SC13 A1SC12 A1SC11 A1SC10 0-59 00h
08h A1MN A1M2 A1MN22 A1MN21 A1MN20 A1MN13 A1MN12 A1MN11 A1MN10 0-59 00h
09h A1HR A1M3 A1MIL
A1AM/PM A1HR20 A1HR13 A1HR12 A1HR11 A1HR10 1-12
+AM/PM
00h
A1HR21 0-23
0Ah A1DW/
DT
A1M4 A1DW/DT 0 0 0 A1DW12 A1DW11 A1DW10 1-7 00h
A1DT21 A1DT20 A1DT13 A1DT12 A1DT11 A1DT10 1-31 00h
0Bh Alarm2 A2MN A2M2 A2MN22 A2MN21 A2MN20 A2MN13 A2MN12 A2MN11 A2MN10 0-59 00h
0Ch A2HR A2M3 A2MIL
A2AM/PM A2HR20 A2HR13 A2HR12 A2HR11 A2HR10 1-12
+AM/PM
00h
A2HR21 0-23
0Dh A2DW/
DT
A2M4 A2DW/DT 0 0 0 A2DW12 A2DW11 A2DW10 1-7 00h
A2DT21 A2DT20 A2DT13 A2DT12 A2DT11 A2DT10 1-31 00h
0Eh Control INT EOSC
0 0 RS2 RS1 INTCN A2IE A1IE N/A 18h
0Fh Status SR OSF 0 0 0 0 0 A2F A1F N/A 80h
ISL12057

ISL12057IRUZ-T

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Real Time Clock REAL TIME CLK W/ ALARM DS1337 COMP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union