Rtc Calibration Register (Rtc_Calr) - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

Real-time clock (RTC)
23.6.16

RTC calibration register (RTC_CALR)

Address offset: 0x3C
Power-on reset value: 0x0000 0000
System reset: not affected
31
30
29
r
r
r
15
14
13
CALP
CALW8 CALW16
rw
rw
rw
Bit 31:16 Reserved
Bit 15 CALP: Increase frequency of RTC by 488.5 ppm
Bit 14 CALW8: Use an 8-second calibration cycle period
Bit 13 CALW16: Use a 16-second calibration cycle period
Note: CALM[0] is stuck at '0' when CALW16='1'.
Bits 12:9 Reserved
Bits 8:0 CALM[8:0]: Calibration minus
Note:
This register is write protected. The write access procedure is described in
write protection on page 630
657/1422
28
27
26
25
r
r
r
r
12
11
10
9
Reserved
r
r
r
r
0: No RTCCLK pulses are added.
1: One RTCCLK pulse is effectively inserted every 2
488.5 ppm).
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 23.3.11: RTC smooth digital
When CALW8 is set to '1', the 8-second calibration cycle period is selected.
CALM[1:0] are stuck at "00" when CALW8='1'.
Refer to
Section 23.3.11: RTC smooth digital
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.
Refer to
Section 23.3.11: RTC smooth digital
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 23.3.11: RTC smooth digital calibration on page
Doc ID 018909 Rev 4
24
23
22
21
Reserved
r
r
r
r
8
7
6
5
rw
rw
rw
rw
11
calibration.
calibration.
calibration.
20
19
18
r
r
r
4
3
2
CALM[8:0]
rw
rw
rw
pulses (frequency increased by
20
RTCCLK pulses (32
635.
RTC register
RM0090
17
16
r
r
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF