What does RCC_BDCR_RTCEN do on an STM32WL55?
We are using an STM32WL55 (NUCLEO-WL55JC2) and don't understand RCC_BDCR_RTCEN. Our system is configured to be woken up from Stop 1 Mode via RTC wake-up, clocked by LSE. This works, but we wonder about a detail.
According to RM0453, RCC_BDCR_RTCEN is "RTC kernel clock enable". In the RTC block diagram, Figure 274, this seems to be rtc_ker_ck, and also named RTCCLK in that document. As this seems to be the main clock for the RTC clock domain, the RTC should not work if this clock is not enabled.
However, if we comment out RCC_BDCR_RTCEN and POR the device, the RTC wakeup works like... a clockwork. As our software does not use any 3rd party code it was easy to check that nobody touches this bit. How can it work without it? What else does that bit do?
