10
FN6755.2
September 25, 2015
Interrupt Control Register (INT) [Address 0Eh]
OSCILLATOR ENABLE BIT (EOSC)
The EOSC
bit enables the crystal oscillator function when it
is set to “0”. When the EOSC
bit is set to “1”, the crystal
oscillator function is disabled, and the device enters power-
saving mode. The EOSC
bit is set to “0” at power-up.
FREQUENCY OUT CONTROL BITS (RS2, RS1)
These bits select the output frequency at the IRQ1
/F
OUT
pin. INTCN must be set to “0” for frequency output at the
IRQ1
/F
OUT
pin. See Table 3 for Frequency Selection of the
F
OUT
pin.
INTERRUPT CONTROL BIT (INTCN) AND ALARM
INTERRUPT ENABLE BITS (A2IE, A1IE)
The INTCN bit controls the relationship between the alarm
interrupts and the IRQ1
/F
OUT
and IRQ2 pins. The A2IE and
A1IE bits enable the alarm interrupts, A2F and A1F, to assert
the IRQ1
/F
OUT
and IRQ2 pins. See Table 4 for Alarm
Interrupt Selection with INTCN, A2IE and A1IE bits.
Status Register (SR) [Address 0Fh]
The Status Register is located in the memory map at
address 0Fh. This is a volatile register that provides status of
oscillator failure and alarm interrupts.
ALARM1 INTERRUPT BIT (A1F)
These bits announce if the Alarm1 matches the real-time
clock. If there is a match, the respective bit is set to “1”. This
bit is manually reset to “0” by the user. A write to this bit in
the SR can only set it to “0”, not to “1”.
ALARM2 INTERRUPT BIT (A2F)
These bits announce if the Alarm2 matches the real-time
clock. If there is a match, the respective bit is set to “1”. This
bit is manually reset to “0” by the user. A write to this bit in
the SR can only set it to “0”, not to “1”.
OSCILLATOR FAILURE BIT (OSF)
This bit is set to a “1” when there is no oscillation on the X1
pin. The bit is set by hardware (ISL12057 internally) and can
only be disabled by having an oscillation on X1 and manually
resetting to “0” to reset it.
Alarm1 Registers
Addresses [Address 07h to 0Ah]
The Alarm1 register bytes are set up identically to the RTC
register bytes, except that the MSB of each byte functions as
an enable bit (enable = “0”). These enable bits specify which
alarm registers (seconds, minutes, etc.) are used to make
the comparison. When all the enable bits are set to “1”,
Alarm1 triggers once per second. Note that there is no alarm
byte for month and year.
The Alarm1 function works as a comparison between the
Alarm1 registers and the RTC registers. As the RTC
advances, Alarm1 is triggered when a match occurs
between the Alarm1 registers and the RTC registers. Any
one Alarm1 register, multiple registers, or all registers can be
enabled for a match.
To clear Alarm1, the A1F status bit must be set to “0” with a
write.
TABLE 2. INTERRUPT CONTROL REGISTER (INT)
ADDR76543210
0Eh EOSC
0 0 RS2 RS1 INTCN A2IE A1IE
Default00011000
TABLE 3. FREQUENCY SELECTION OF
F
OUT
PIN
FREQUENCY
F
OUT
(Hz) RS2 RS1 COMMENT
32768 1 1 Free-running crystal clock
8192 1 0 Free-running crystal clock
4096 0 1 Free-running crystal clock
1 0 0 Sync at RTC write
TABLE 4. ALARM INTERRUPT SELECTION WITH INTCN,
A2IE AND A1IE BITS
INTCN A2IE A1IE IRQ1
/F
OUT
IRQ2
000 F
OUT
HIGH
001 F
OUT
A1F
010 F
OUT
A2F
011 F
OUT
A1F or A2F
1 0 0 HIGH HIGH
101 HIGH A1F
110 A2F HIGH
1 1 1 A2F A1F
TABLE 5. STATUS REGISTER (SR)
ADDR 7 6 5 4 3 2 1 0
0Fh OSF 0 0 0 0 0 A2F A1F
Default 1 0 0 0 0 0 0 0
TABLE 6. ALARM1 INTERRUPT WITH ENABLE BITS
SELECTION
A1DW/DT
A1M1 A1M2 A1M3 A1M4 ALARM1 INTERRUPT
X 1111 Every Second
X 0111 Match Second
X 1011 Match Minute
ISL12057
11
FN6755.2
September 25, 2015
NOTE: “X” is “Don’t care”; it can be set to 0 or 1.
Following is example of an Alarm1 Interrupt: a single alarm
will occur on Monday at 11:30 a.m. (Monday is when DW =
2). Set the Alarm1 registers as follows:
After these registers are set, an alarm is generated when the
RTC advances to exactly 11:30 a.m. on January 1 (after
seconds changes from 59 to 00) by setting the A1F bit in the
status register to “1”.
Alarm2 Registers
Addresses [Address 12h to 14h]
The Alarm2 register bytes are set up identically to the RTC
register bytes except that the MSB of each byte functions as
an enable bit (enable = “0”). These enable bits specify which
alarm registers (minutes, hour, and date/day) are used to
make the comparison. When all the enable bits are set to “1”,
Alarm2 will trigger once per minute. Note that there are no
alarm bytes for seconds, month, and year.
The Alarm2 function works as a comparison between the
Alarm2 registers and the RTC registers. As the RTC
advances, Alarm2 is triggered when a match occurs
between the Alarm2 registers and the RTC registers. Any
one Alarm2 register, multiple registers, or all registers can be
enabled for a match.
To clear Alarm2, the A2F status bit must be set to “0” with a
write.
NOTE: “X” is “Don’t care”; it can be set to 0 or 1.
Following is example of Alarm2 Interrupt: a single alarm will
occur on the first day of every month at 20:00 military time.
Set the Alarm2 registers as follows:
After these registers are set, an alarm is generated when the
RTC advances to exactly 20:00 on Monday (after minutes
changes from 59 to 00) by setting the A2F bit in the status
register to “1”.
I
2
C Serial Interface
The ISL12057 supports a bi-directional, bus-oriented
protocol. The protocol defines any device that sends data
X
(see Note)
1101 Match Hour
0 1110 Match Date
1 1110 Match Day
0 0011Match Second and Minute
0 0101Match Second and Hour
0 0000Match Second, Minute
and Hour
.
.
.
.
.
.
.
.
.
.
.
.
0 1000Match Minute Hour and
Date
0 0000Match Second, Minute
Hour and Date
.
.
.
.
.
.
.
.
.
.
.
.
1 1000Match Minute, Hour, and
Day
1 0000Match Second, Minute,
Hour, and Day
ALARM1
REGISTER
BIT
DESCRIPTION76543210HEX
A1SC 10000000 80hSeconds disabled
A1MN 00110000 30hMinutes set to 30,
enabled
A1HR 01010001 51hHours set to 11am,
enabled
A1DW/DT
01000010 42hDay set to 1,
enabled
TABLE 6. ALARM1 INTERRUPT WITH ENABLE BITS
SELECTION (Continued)
A1DW/DT
A1M1 A1M2 A1M3 A1M4 ALARM1 INTERRUPT
TABLE 7. ALARM2 INTERRUPT WITH ENABLE BITS
SELECTION
A2DW/DT
A2M2 A2M3 A2M4 ALARM2 INTERRUPT
X
(see Note)
1 1 1 Every Minute (Second=00)
X 0 1 1 Match Minute
X 1 0 1 Match Hour
0 1 1 0 Match Date
1 110 Match Day
X 0 0 1 Match Minute and Hour
0 1 0 0 Match Hour and Date
0 0 1 0 Match Minute and Date
0 0 0 0 Match Minute, Hour, and Date
1 0 1 0 Match Minute and Day
1 1 0 0 Match Hour and Day
1 0 0 0 Match Minute, Hour, and Day
ALARM2
REGISTER
BIT
DESCRIPTION76543210HEX
A2MN 10000000 80hMinutes disabled
A2HR 00100000 20hHours set to 20,
enabled
A2DW/DT
00000001 01hDate set to 1st,
enabled
ISL12057
12
FN6755.2
September 25, 2015
onto the bus as a transmitter and the receiving device as the
receiver. The device controlling the transfer is the master,
and the device being controlled is the slave. The master
device always initiates data transfers and provides the clock
for both transmit and receive operations. Therefore, the
ISL12057 operates as a slave device in all applications.
All communication over the I
2
C interface is conducted by
sending the MSB of each byte of data first.
Protocol Conventions
Data states on the SDA line can change only during SCL
LOW periods. SDA state changes during SCL HIGH are
reserved for indicating START and STOP conditions (see
Figure 7). On power-up of the ISL12057, the SDA pin is in
the input mode.
All I
2
C interface operations must begin with a START
condition, which is a HIGH to LOW transition of SDA while
SCL is HIGH. The ISL12057 continuously monitors the SDA
and SCL lines for the START condition and does not
respond to any command until this condition is met (see
Figure 7). A START condition is ignored during the power-up
sequence.
All I
2
C interface operations must be terminated by a STOP
condition, which is a LOW to HIGH transition of SDA while
SCL is HIGH (see Figure 7). A STOP condition at the end of
a read operation or at the end of a write operation to memory
only places the device in its standby mode.
An acknowledge (ACK) is a software convention used to
indicate a successful data transfer. The transmitting device,
either master or slave, releases the SDA bus after
transmitting 8 bits. During the ninth clock cycle, the receiver
pulls the SDA line LOW to acknowledge reception of the 8
bits of data (see Figure 8).
The ISL12057 responds with an ACK after recognition of a
START condition followed by a valid Identification Byte, and
once again after successful receipt of an Address Byte. The
ISL12057 also responds with an ACK after receiving a Data
Byte of a write operation. The master must respond with an
ACK after receiving a Data Byte of a read operation.
FIGURE 7. VALID DATA CHANGES, START, AND STOP CONDITIONS
FIGURE 8. ACKNOWLEDGE RESPONSE FROM RECEIVER
SDA
SCL
START
DATA DATA
STOP
STABLE CHANGE
DATA
STABLE
SDA OUTPUT FROM
TRANSMITTER
SDA OUTPUT FROM
RECEIVER
81 9
START ACK
SCL FROM
MASTER
HIGH IMPEDANCE
HIGH IMPEDANCE
ISL12057

ISL12057IUZ-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