Real-time clock (RTC)
24.6.13
RTC calibration register (RTC_CALR)
This register is write protected. The write access procedure is described in
write protection on page 540.
Address offset: 0x3C
Power-on reset value: 0x0000 0000
System reset: not affected
31
30
29
Res.
Res.
Res.
Res.
15
14
13
CALW
CALP
CALW8
Res.
16
rw
rw
rw
Bit 31:16 Reserved, must be kept at reset value
Bit 15 CALP: Increase frequency of RTC by 488.5 ppm
0: No RTCCLK pulses are added.
1: One RTCCLK pulse is effectively inserted every 2
ppm).
Note:
Bit 14 CALW8: Use an 8-second calibration cycle period
Note: CALM[1:0] are stuck at "00" when CALW8='1'. Refer to
Bit 13 CALW16: Use a 16-second calibration cycle period
Note: CALM[0] is stuck at '0' when CALW16='1'. Refer to
Bits 12:9 Reserved, must be kept at reset value
Bits 8:0 CALM[8:0]: Calibration minus
564/742
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
This feature is intended to be used in conjunction with CALM, which lowers the frequency of
the calendar with a fine resolution. if the input frequency is 32768 Hz, the number of
RTCCLK pulses added during a 32-second window is calculated as follows: (512 * CALP) -
CALM.
Refer to
Section 24.3.11: RTC smooth digital
When CALW8 is set to '1', the 8-second calibration cycle period is selected.
digital
calibration.
When CALW16 is set to '1', the 16-second calibration cycle period is selected.This bit must
not be set to '1' if CALW8=1.
digital
calibration.
The frequency of the calendar is reduced by masking CALM out of 2
seconds if the input frequency is 32768 Hz). This decreases the frequency of the calendar
with a resolution of 0.9537 ppm.
To increase the frequency of the calendar, this feature should be used in conjunction with
CALP. See
Section 24.3.11: RTC smooth digital calibration on page
Doc ID 018940 Rev 1
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
rw
rw
rw
rw
11
calibration.
RTC register
20
19
18
Res.
Res.
Res.
4
3
2
CALM[8:0]
rw
rw
rw
pulses (frequency increased by 488.5
Section 24.3.11: RTC smooth
Section 24.3.11: RTC smooth
20
RTCCLK pulses (32
544.
RM0091
17
16
Res.
Res.
1
0
rw
rw
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers