RM0367 Rev 7 655/1043
RM0367 Real-time clock (RTC)
694
In addition, it is possible to remap RTC_OUT on PB14 pin thanks to RTC_OUT_RMP bit. In
this case it is mandatory to configure PB14 GPIO registers as alternate function with the
correct type. The remap functions are shown in Table 118.
27.4.3 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 Section 7: Reset and clock control (RCC).
RTC_TS and
RTC_TAMP1
input floating
00 0 Don’t care
Don’t care 1 100 1
1
01 or 10 or 11 0
RTC_TS input
floating
00 0 Don’t care
Don’t care 0 100 1
1
01 or 10 or 11 0
Wakeup pin or
Standard
GPIO
00 0 Don’t care
Don’t care 0 000 1
1
01 or 10 or 11 0
1. OD: open drain; PP: push-pull.
Table 117. RTC pin PC13 configuration
(1)
(continued)
PC13 Pin
configuration
and function
OSEL[1:0]
bits
(RTC_ALARM
output
enable)
COE bit
(RTC_CALIB
output
enable)
RTC_OUT
_RMP
bit
RTC_ALARM
_TYPE
bit
TAMP1E bit
(RTC_TAMP1
input
enable)
TSE bit
(RTC_TS
input
enable)
Table 118. RTC_OUT mapping
OSEL[1:0] bits
(RTC_ALARM
output enable)
COE bit
(RTC_CALIB output
enable)
RTC_OUT_RMP
bit
RTC_OUT on PC13 RTC_OUT on PB14
00 0
0
--
00 1 RTC_CALIB -
01 or 10 or 11 Don’t care RTC_ALARM -
00 0
1
--
00 1 - RTC_CALIB
01 or 10 or 11 0 - RTC_ALARM
01 or 10 or 11 1 RTC_ALARM RTC_CALIB