English
Language : 

ISL12057 Datasheet, PDF (10/17 Pages) Intersil Corporation – Low Cost and Low Power I2C RTC Real Time Clock/Calendar
ISL12057
Interrupt Control Register (INT) [Address 0Eh]
TABLE 2. INTERRUPT CONTROL REGISTER (INT)
ADDR 7 6 5 4
3
2
1
0
0Eh EOSC 0 0 RS2 RS1 INTCN A2IE A1IE
Default 0 0 0 1
1
0
0
0
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 disable and the device enters into 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/FOUT
pin. INTCN must be set to “0” for frequency output at the
IRQ1/FOUT pin. Please see Table 3 for Frequency Selection
of the FOUT pin.
TABLE 3. FREQUENCY SELECTION OF FOUT PIN
FREQUENCY
FOUT (Hz)
RS2
32768
1
RS1
COMMENT
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
INTERRUPT CONTROL BIT (INTCN) AND ALARM
INTERRUPT ENABLE BITS (A2IE, A1IE)
The INTCN bit controls the relationship between the alarm
interrupts and the IRQ1/FOUT and IRQ2 pins. The A2IE and
A1IE bits enable the alarm interrupts, A2F and A1F, to assert
the IRQ1/FOUT and IRQ2 pins. Please see Table 4 for Alarm
Interrupt Selection with INTCN, A2IE and A1IE bits.
TABLE 4. ALARM INTERRUPT SELECTION WITH INTCN,
A2IE AND A1IE BITS
INTCN
0
0
0
0
1
A2IE
0
0
1
1
0
A1IE
0
1
0
1
0
IRQ1/FOUT
FOUT
FOUT
FOUT
FOUT
HIGH
IRQ2
HIGH
A1F
A2F
A1F or A2F
HIGH
1
0
1
HIGH
A1F
1
1
0
A2F
HIGH
1
1
1
A2F
A1F
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.
TABLE 5. STATUS REGISTER (SR)
ADDR 7
6
5
4
3 21 0
0Fh OSF 0
0
0
0 0 A2F A1F
Default 1
0
0
0
0 00 0
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 “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 “1”.
OSCILLATOR FAILURE BIT (OSF)
This bit is set to a “1” when there is no oscillation on X1 pin.
This is set by hardware (ISL12057 internally), and can only
be disabled by having an oscillation on X1 and and manually
reset to “0” to reset it..
Alarm1 Registers
Addresses [Address 07h to 0Ah]
The Alarm1 register bytes are set up identical 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”, the
Alarm1 will trigger 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, the Alarm1 will be triggered once 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 an Alarm1, the A1F status bit must be set to “0” with
a write.
TABLE 6. ALARM1 INTERRUPT WITH ENABLE BITS
SELECTION
A1DW/DT A1M1 A1M2 A1M3 A1M4 ALARM1 INTERRUPT
X
1
1
1
1
Every Second
X
0
1
1
1
Match Second
X
1
0
1
1
Match Minute
10
FN6755.0
June 15, 2009