Real-time clock (RTC)
PC13 Pin function
Wake-up pin or Standard
GPIO
1. OD: open drain; PP: push-pull.
2. In this configuration the GPIO must be configured in input.
In addition, it is possible to output RTC_OUT2 on PA4 pin thanks to OUT2EN bit. This
output is not available in V
on RTC_OUT2 depending on OSEL, COE and OUT2EN configuration, as shown in table
Table
211.
OSEL[1:0] bits
ALARM
output enable)
00
00
01 or 10 or 11
00
00
01 or 10 or 11
01 or 10 or 11
32.3.4
Clock and prescalers
The RTC clock source (RTCCLK) is selected through the clock controller among the LSE
clock, the LSI oscillator clock, and the HSE clock. For more information on the RTC clock
source configuration, refer to "Reset and clock control (RCC)".
994/1450
Table 210. PC13 configuration
00
0
00
0
Don't
Don't
care
care
mode. The different functions are mapped on RTC_OUT1 or
BAT
Table 211. RTC_OUT mapping
COE bit (CALIB
output enable)
0
1
Don't care
0
1
0
1
RM0453 Rev 5
(1)
(continued)
Don't
0
care
Don't
1
care
1
0
OUT2EN
RTC_OUT1 on
bit
PC13
0
CALIB
TAMPALRM
1
TAMPALRM
RM0453
Don't
0
care
RTC_OUT2 on
PA4
-
-
-
-
-
-
-
CALIB
-
TAMPALRM
CALIB
0
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?