Solved
RTC reset with VBATT
Hi,
I have an STM32G0 with VBATT input for the RTC.
When I restart the circuit, the time is reset.
At the power On I write this instruction :
HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR1);
Before of the Power Off :
HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR1, 0x32F2);
Thanks for your Help.
Pascal
