RM0440
PC13 Pin function
Wakeup 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 PB2 pin thanks to OUT2EN bit. This
output is not available in V
on RTC_OUT2 depending on OSEL, COE and OUT2EN configuration, as show in table
Table
327.
For PB2, the GPIO should be configured as an alternate function.
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
34.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
Table 326. PC13 configuration
00
0
00
0
Don't
Don't
care
care
mode. The different functions are mapped on RTC_OUT1 or
BAT
Table 327. RTC_OUT mapping
COE bit (CALIB
output enable)
0
1
Don't care
0
1
0
1
Section 6: Reset and clock control
RM0440 Rev 1
(1)
(continued)
Don't
0
care
Don't
1
care
1
0
OUT2EN
RTC_OUT1 on
bit
PC13
0
CALIB
TAMPALRM
1
TAMPALRM
Real-time clock (RTC)
Don't
0
care
RTC_OUT2 on
PB2
-
-
-
-
-
-
-
CALIB
-
TAMPALRM
CALIB
(RCC).
1503/2083
0
1551
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?
Questions and answers