
RA8804 CE
Page - 30
ETM60E-02
8.8. About the interrupt function for operation /INT =
“L” interrupt output.
1) How to identify events when the interrupt output occurred?
/INT output pin is common output terminal of interrupt events of three types (Fixed-cycle timer Time interrupt,
alarm interrupt, time update interrupt).
When an interrupt occurs, please read the TF, AF, UF flag to confirm which types of events occurred.
2) Processing method when not using an interrupt output.
1. Please keep interrupt pin not connected.
2. Please set
“0” to TIE, AIE, and UIE bits.
8.9. Temperature compensation function.
8.9.1. Temperature compensation function
During the production process of the RTC, we are programming the individual characteristics of the built-in crystal
into the non-volatile memory of the RTC. The build-in temperature sensor measures the actual temperature of the
module and compensates the oscillation frequency of the crystal oscillator using the stored compensation data.
This way not only the time information is temperature compensated, but as well the FOUT signal, even when
outputting 32.768 kHz. This function works in the supply voltage range VTEM.
8.9.2. Related registers for temperature compensation function
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
0F
Control Register
CSEL1
CSEL0
UIE
TIE
AIE
RESET
1) CSEL1, CSEL0 (Compensation Interval Select 1, 0) bit
This bit sets an interval of a temperature compensation operation.
Current consumption decreases when increasing the Compensation Interval by means CSEL1, 0. CSEL1, 0 is
set at the time of initial power-up to (
“0”, “1”).
CSEL1
CSEL0
Compensation Interval
0
0
0.5 s
0
1
2.0 s
1
0
10 s
1
1
30 s
Even if the power supply voltage falls below VTEM and a VDET bit is set to
“1”, the temperature compensation
operation is performed again if the supply voltage raises above VTEM.