AnsweredAssumed Answered

STM32F051 RTC Vbat

Question asked by farouk majdoub on Mar 7, 2017
Latest reply on Mar 7, 2017 by Nesrine M



i have created my project with STM32 CubeMX and everything works like a charm, But i am stuck with the clock, i want to configure a RTC clock with Vbat pin to keep time running even if VDD power loss, apparently CubeMX configue only RTC, and doesn't configure Vbat pin or the register backup and ST doesn't provide any example for this.


Target MPU : STM32F051R8


I succeeded to get the RTC work with LSE but the time get lost when i remove the main power (VDD),

An example for RTC with register backup (vbat) for STM32F0 will be appreciated.