13
FN6109.4
October 17, 2006
Real Time Clock Registers
Addresses [00h to 06h]
RTC REGISTERS (SC, MN, HR, DT, MO, YR, DW)
These registers depict BCD representations of the time. As
such, SC (Seconds) and MN (Minutes) range from 0 to 59,
HR (Hour) can either be a 12-hour or 24-hour mode, DT
(Date) is 1 to 31, MO (Month) is 1 to 12, YR (Year) is 0 to 99,
and DW (Day of the Week) is 0 to 6.
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 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”.
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 HR21 bit functions as an AM/PM indicator with a
“1” representing PM. The clock defaults to 12-hour format
time with HR21 = “0”.
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, the year 2100 is not. The ISL1209
does not correct for the leap year in the year 2100.
Control and Status Registers
Addresses [07h to 0Bh]
The Control and Status Registers consist of the Status
Register, Interrupt and Alarm Register, Analog Trimming and
Digital Trimming Registers.
Status Register (SR)
The Status Register is located in the memory map at
address 07h. This is a volatile register that provides either
control or status of RTC failure, battery mode, alarm trigger,
event detection, write protection of clock counter, crystal
oscillator enable and auto reset of status bits.
REAL TIME CLOCK FAIL BIT (RTCF)
This bit is set to a “1” after a total power failure. This is a read
only bit that is set by hardware (ISL1209 internally) when the
device powers up after having lost all power to the device
(both V
DD
and V
BAT
go to 0V). 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 set the RTCF bit to “1”. On power up
after a total power failure, all registers are set to their default
states and the clock will not increment until at least one byte
is written to the clock register. The first valid write to the RTC
section after a complete power failure resets the RTCF bit to
“0” (writing one byte is sufficient).
BATTERY BIT (BAT)
This bit is set to a “1” when the device enters battery backup
mode. This bit can be reset either manually by the user or
automatically reset by enabling the auto-reset bit (see ARST
bit). A write to this bit in the SR can only set it to “0”, not “1”.
ALARM BIT (ALM)
These bits announce if the alarm matches the real time
clock. If there is a match, the respective bit is set to “1”. This
bit can be manually reset to “0” by the user or automatically
reset by enabling the auto-reset bit (see ARST bit). A write to
this bit in the SR can only set it to “0”, not “1”.
NOTE: An alarm bit that is set by an alarm occurring during an SR
read operation will remain set after the read operation is complete.
EVENT DETECT BIT (EVT)
The event detect bit indicates status of the event input pin
(EVIN). When the EVIN pin is triggered, the EVT bit is set to
“1” to indicate a detection of an event input. This bit can be
reset by enabling the auto-reset bit (see ARST bit). A write to
this bit in the SR can only set it to “0” not “1”.
When a high signal is present at the EVIN pin, an “event” is
detected. On detection a corresponding bit in the status
register (EVT bit) is set high and the open drain EVDET
pin
is asserted (pulled low).
WRITE RTC ENABLE BIT (WRTC)
The WRTC bit enables or disables write capability into the
RTC Timing Registers. The factory default setting of this bit
is “0”. Upon initialization or power up, the WRTC must be set
to “1” to enable the RTC. Upon the completion of a valid
write (STOP), the RTC starts counting. The RTC internal
1Hz signal is synchronized to the STOP condition during a
valid write cycle.
CRYSTAL OSCILLATOR ENABLE BIT (XTOSCB)
This bit enables/disables the internal crystal oscillator. When
the XTOSCB is set to “1”, the oscillator is disabled, and the
X1 pin allows for an external 32kHz signal to drive the RTC.
The XTOSCB bit is set to “0” on power up.
TABLE 6. STATUS REGISTER (SR)
ADDR 7 6 5 4 3 2 1 0
07h ARST XTOSCB reserved WRTC EVT ALM BAT RTCF
Default
00 000000
ISL1209
14
FN6109.4
October 17, 2006
AUTO RESET ENABLE BIT (ARST)
This bit enables/disables the automatic reset of the BAT and
ALM status bits only. When ARST bit is set to “1”, these
status bits are reset to “0” after a valid read of the respective
status register (with a valid STOP condition). When the
ARST is cleared to “0”, the user must manually reset the
BAT and ALM bits.
INTERRUPT CONTROL REGISTER (INT)
FREQUENCY OUT CONTROL BITS (FO <3:0>)
These bits enable/disable the frequency output function and
select the output frequency at the IRQ
/F
OUT
pin. See
Table 8 for frequency selection. When the frequency mode is
enabled, it will override the alarm mode at the IRQ
/F
OUT
pin.
FREQUENCY OUTPUT AND INTERRUPT BIT (FOBATB)
This bit enables/disables the F
OUT
/IRQ pin during battery
backup mode (i.e. V
BAT
power source active). When the
FOBATB is set to “1” the F
OUT
/IRQ pin is disabled during
battery backup mode. This means that both the frequency
output and alarm output functions are disabled. When the
FOBATB is cleared to “0”, the F
OUT
/IRQ pin is enabled
during battery backup mode.
LOW POWER MODE BIT (LPMODE)
This bit enables/disables low power mode. With
LPMODE = “0”, the device will be in normal mode and the
V
BAT
supply will be used when V
DD
< V
BAT
- V
BATHYS
and
V
DD
< V
TRIP
. With LPMODE = “1”, the device will be in low
power mode and the V
BAT
supply will be used when
V
DD
< V
BAT
-V
BATHYS
. There is a supply current saving of
about 600nA when using LPMODE = “1” with V
DD
= 5V.
(See Typical Performance Curves: I
DD
vs VDD with
LPMODE ON & OFF.)
ALARM ENABLE BIT (ALME)
This bit enables/disables the alarm function. When the ALME
bit is set to “1”, the alarm function is enabled. When the ALME
is cleared to “0”, the alarm function is disabled. The alarm
function can operate in either a single event alarm or a periodic
interrupt alarm (see IM bit).
NOTE: When the frequency output mode is enabled, the alarm function
is disabled.
INTERRUPT/ALARM MODE BIT (IM)
This bit enables/disables the interrupt mode of the alarm
function. When the IM bit is set to “1”, the alarm will operate
in the interrupt mode, where an active low pulse width of
250ms will appear at the IRQ
/F
OUT
pin when the RTC is
triggered by the alarm as defined by the alarm registers (0Ch
to 11h). When the IM bit is cleared to “0”, the alarm will
operate in standard mode, where the IRQ
/F
OUT
pin will be
tied low until the ALM status bit is cleared to “0”.
EVENT DETECTION REGISTER (EV)
The ISL1209 provides an easy to use event and tamper
detection circuit. The Event Detection Register configures
the functionality of the event detection circuits.
EVENT INPUT SAMPLING SELECTION BITS
(ESMP<1:0>)
These two bits select the rate of sampling of the EVIN pin to
trigger an event detection. For example, a 2Hz sampling rate
would configure the ISL1209 to check the status of the EV
pin twice a second. Slower sampling significantly reduces
the supply current drain.
TABLE 7. INTERRUPT CONTROL REGISTER (INT)
ADDR7 6 5 4 3210
08h IM ALME LPMODE FOBATB FO3 FO2 FO1 FO0
Default0 0 0 0 0000
TABLE 8. FREQUENCY SELECTION OF F
OUT
PIN
FREQUENCY,
F
OUT
UNITS FO3 FO2 FO1 FO0
0 Hz0 000
32768 Hz 0 0 0 1
4096 Hz 0 0 1 0
1024 Hz 0 0 1 1
64 Hz0 100
32 Hz0 101
16 Hz0 110
8 Hz0 111
4 Hz1 000
2 Hz1 001
1 Hz1 010
1/2 Hz1 011
1/4 Hz1 100
1/8 Hz1 101
1/16 Hz 1 1 1 0
1/32 Hz 1 1 1 1
TABLE 9.
IM BIT INTERRUPT/ALARM FREQUENCY
0 Single Time Event Set By Alarm
1 Repetitive/Recurring Time Event Set By Alarm
TABLE 10.
ESMP1 ESMP0 EVENT SAMPLING RATE
0 0 Always ON
01 2Hz
10 1Hz
11
1
/4Hz
ISL1209
15
FN6109.4
October 17, 2006
EVENT INPUT TIME BASE HYSTERESIS SELECTION
BITS (EHYS<1:0>)
These two bits select the time base hysteresis of the EVIN
pin to filter bouncing or noise of external event detection
circuits. The time filter can be set between 0 to 31.25 ms.
EVENT DETECT ENABLE BIT (EVEN)
This bit enables/disables the Event Detect function of the
ISL1209. When this bit is set to “1”, the Event Detect is
active. When this bit is cleared to “0”, the Event Detect is
disabled.
RTC HALT ON EVENT DETECT BIT (RTCHLT)
This bit sets the RTC registers to continue or halt counting
upon an Event Detect triggered by the EV pin. The time
keeping function will cease when RTCHLT is set to “1”, the
RTC will discontinue incrementing if an event is detected.
Counting will resume when there is a valid write to the to the
RTC registers (i.e. time set). The RTCHLT is cleared to “0”
after the write to the RTC registers.
Note: This function requires that the event detection is
enabled (see EVEN bit).
EVENT OUTPUT IN BATTERY MODE ENABLE BIT
(EVBATB)
This bit enables/disables the EVDET
pin during battery
backup mode (i.e. V
BAT
pin supply ON). When the EVBATB
is set to “1”, the Event Detect Output is disabled in battery
backup mode. When the EVBATB is cleared to “0”, the Event
Detect output is enabled in battery backup mode.This
feature can be used to save power during battery mode.
EVENT CURRENT SOURCE ENABLE BIT (EVIENB)
This bit enables/disables the internal pullup current source
used for the EVIN pin. When the EVIENB bit is set to “1”, the
pullup current source is always disabled. When the EVIENB
bit is cleared to “0”, the pullup current source is enabled
(current source is approximately 1µA).
Analog Trimming Register
ANALOG TRIMMING REGISTER (ATR<5:0>)
Six analog trimming bits, ATR0 to ATR5, are provided in
order to adjust the on-chip load capacitance value for
frequency compensation of the RTC. Each bit has a different
weight for capacitance adjustment. For example, using a
Citizen CFS-206 crystal with different ATR bit combinations
provides an estimated ppm adjustment range from -34 to
+80ppm to the nominal frequency compensation. The
combination of analog and digital trimming can give up to -94
to +140ppm of total adjustment.
The effective on-chip series load capacitance, C
LOAD
,
ranges from 4.5pF to 20.25pF with a mid-scale value of
12.5pF (default). C
LOAD
is changed via two digitally
controlled capacitors, C
X1
and C
X2
, connected from the X1
and X2 pins to ground (see Figure 11). The value of C
X1
and
C
X2
is given by the following formula:
The effective series load capacitance is the combination of
C
X1
and C
X2
:
For example, C
LOAD
(ATR=00000) = 12.5pF,
C
LOAD
(ATR=100000) = 4.5pF, and C
LOAD
(ATR=011111) =
20.25pF. The entire range for the series combination of load
capacitance goes from 4.5pF to 20.25pF in 0.25pF steps.
Note that these are typical values.
BATTERY MODE ATR SELECTION (BMATR <1:0>)
Since the accuracy of the crystal oscillator is dependent on
the V
DD
/V
BAT
operation, the ISL1209 provides the capability
to adjust the capacitance between V
DD
and V
BAT
when the
device switches between power sources.
TABLE 11.
EHYS1 EHYS0 Time Base Hysteresis
0 0 0 (pullup always on)
0 1 3.9ms
1 0 15.625ms
1 1 31.25ms
NOTE: In order to use time-based hysteresis, the sampling mode
must be enabled.
FIGURE 11. DIAGRAM OF ATR
C
X1
X1
X2
Crystal
Oscillator
C
X2
C
X
16 b5 8b4 4b3 2b2 1b1 0.5b0 9++++++()pF=
C
LOAD
1
1
C
X1
-----------
1
C
X2
-----------+
⎝⎠
⎛⎞
-----------------------------------
=
C
LOAD
16 b5
8b4 4b3 2b2 1b1 0.5b0 9++++++
2
-----------------------------------------------------------------------------------------------------------------------------
⎝⎠
⎛⎞
pF
=
ISL1209

ISL1209IU10Z-TK

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Real Time Clock I2CAL TIME CLK/CLNDR W/EVENT DETCT 10LD
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet