The RTC is typically clocked by a specialized GCLK generator that has a smaller prescaler than the others. By default the RTC clock is on, selected to use the internal 32KHz RC-oscillator with a prescaler of 32, giving a resulting clock frequency of 1024Hz to the RTC. When the internal RTC prescaler is set to 1024, this yields an end-frequency of 1Hz for correct time keeping operations.
The implementer also has the option to set other end-frequencies. Table 1 lists the available RTC frequencies for each possible GCLK and RTC input prescaler options.
End-frequency |
GCLK prescaler |
RTC prescaler |
|---|---|---|
32KHz |
1 |
1 |
1KHz |
32 |
1 |
1Hz |
32 |
1024 |
The overall RTC module clocking scheme is shown in Figure 1.
