Real-time clock (RTC)
RM0365
763/1080
DocID025202 Rev 7
27.6.19 RTC backup registers (RTC_BKPxR)
Address offset: 0x50 to 0x8C
Backup domain reset value: 0x0000 0000
System reset: not affected
27.6.20 RTC
register
map
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
BKP[31:16]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
BKP[15:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
w
rw
rw
Bits 31:0 BKP[31:0]
The application can write or read data to and from these registers.
They are powered-on by V
BAT
when V
DD
is switched off, so that they are not reset by
System reset, and their contents remain valid when the device operates in low-power mode.
This register is reset on a tamper detection event, as long as TAMPxF=1.
Table 135. RTC register map and reset values
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x00
RTC_TR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
PM
HT
[1:0]
HU[3:0]
Res.
MNT[2:0]
MNU[3:0]
Res.
ST[2:0]
SU[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x04
RTC_DR
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
YT[3:0]
YU[3:0]
WDU[2:0]
MT
MU[3:0]
Re
s.
Re
s.
DT
[1:0]
DU[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0x08
RTC_CR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
COE
OSE
L
[1:0]
PO
L
COSE
L
BK
P
SUB1H
ADD1H
TSIE
WUTIE
ALRBI
E
ALRAI
E
TSE
WUTE
AL
R
B
E
AL
R
A
E
Res.
FMT
BYP
SHAD
REFCKON
TSEDG
E
WUCKS
EL[2:0
]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0C
RTC_ISR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
RECA
LPF
TA
M
P
3
F
.
TA
M
P
2
F
TA
M
P
1
F
TS
OVF
TS
F
WUT
F
AL
R
B
F
AL
R
A
F
INI
T
INI
T
F
RSF
INI
T
S
SHPF
WUT WF
AL
RBWF
AL
R
A
WF
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0x10
RTC_PRER
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
PREDIV_A[6:0]
PREDIV_S[14:0]
Reset value
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0x14
RTC_WUTR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
WUT[15:0]
Reset value
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0x1C
RTC_ALRMAR
MSK4
WDS
E
L
DT
[1:0]
DU[3:0]
MSK3
PM
HT
[1:0]
HU[3:0]
MSK2
MNT[2:0]
MNU[3:0]
MSK1
ST[2:0]
SU[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0