Chapter 11
RTC Time Base Timer (RTC-TBT)
XI - 2 Overview
11.1 Overview
RTC time base timer (RTC-TBT) generates 1 Hz clock with SCLK of 32.768 kHz for Real Time Clock (RTC).
11.1.1 Functions
Table:11.1.1 shows the function of RTC-TBT.
Table:11.1.1 RTC-TBT Function
Figure:11.1.1 RTC-TBT Block Diagram
Function Description
Clock source SCLK (SOSCCLK or SRCCLK is selected.)
Interrupt Frequency of RTC-TBT interrupt
1 Hz, 2 Hz, 4 Hz, 8 Hz, 16 Hz, 32 Hz, 64 Hz, 128 Hz
(In the case of SCLK of 32.768 kHz)
Adjustment for the 1 Hz clock period When selecting 32.768 kHz clock,
Range:
Period of 128 sec: - 488 ppm to + 488 ppm
Period of 32 sec: - 1954 ppm to + 1952 ppm
Period of 8 sec: - 7813 ppm to + 7805 ppm
Period of 2 sec: - 31250 ppm to + 31220 ppm
Accuracy:
Period of 128 sec: 0.48 ppm
Period of 32 sec: 1.92 ppm
Period of 8 sec: 7.63 ppm
Period of 2 sec: 30.52 ppm
7 bit counter
SOSCCLK
Frequency
Adjustment
T128HZ
T64HZ
T32HZ
T16HZ
T8HZ
T4HZ
T2HZ
T1HZ
8
SRCCLK
TBTCNT0.TBTCLKSEL
8 bit counter