Real-time clock (RTC)
OSEL[1:0]
bits
PC13 Pin
configuration
(RTC_ALARM
and function
output
enable)
00
RTC_TS and
RTC_TAMP1
00
input floating
01 or 10 or 11
00
RTC_TS input
00
floating
01 or 10 or 11
00
Wakeup pin or
Standard
00
GPIO
01 or 10 or 11
1. OD: open drain; PP: push-pull.
In addition, it is possible to remap RTC_OUT on PB2 pin thanks to RTC_OUT_RMP bit. In
this case it is mandatory to configure PB2 GPIO registers as alternate function with the
correct type. The remap functions are shown in
OSEL[1:0] bits
(RTC_ALARM
output enable)
00
00
01 or 10 or 11
00
00
01 or 10 or 11
01 or 10 or 11
The table below summarizes the RTC pins and functions capability in all modes.
1190/1830
Table 209. RTC pin PC13 configuration
COE bit
(RTC_CALIB
output
enable)
0
1
0
0
1
0
0
1
0
Table 210. RTC_OUT mapping
COE bit
(RTC_CALIB
output enable)
0
1
Don't care
0
1
0
1
DocID024597 Rev 5
(1)
(continued)
RTC_OUT
RTC_ALARM
_TYPE
_RMP
bit
bit
Don't care
Don't care
1
Don't care
Don't care
1
Don't care
Don't care
1
Table
210.
RTC_OUT_RMP
bit
0
1
TAMP1E bit
(RTC_TAMP1
input
enable)
1
0
0
RTC_OUT on
RTC_OUT on
PC13
-
RTC_CALIB
RTC_ALARM
-
-
RTC_CALIB
-
RTC_ALARM
RTC_ALARM
RTC_CALIB
RM0351
TSE bit
(RTC_TS
input
enable)
1
1
0
PB2
-
-
-
-
Need help?
Do you have a question about the STM32L4 5 Series and is the answer not in the manual?