2018-01-03 01:44 AM
Hi again,
I'm using an RTC as I explained in
https://community.st.com/0D50X00009XkWttSAF
.Our device have a battery in VBAT, so the RTC still works when the device it's power off. But after a power on the RTC can loss up to 1 second, I think due we configure the RTC again.
Using backup registers we can detect if we come for the first power on (and we have to configure the RTC) or not (and maybe we can avoid configuring the RTC).
How we can avoid this delay? Which should be the configuration of the RTC in the second case?
Thank you!
#rtcSolved! Go to Solution.
2018-01-08 07:30 PM
So shall we call this a bug in the HAL initialization code that the call to
if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR0) != 0x32F2) {
happens too late?
2018-05-10 08:25 AM
Hello,
Our developer team work to fix this issue for HAL RTC in the coming releases.
Sorry for such inconvenience.
Best Regards,
Imen
2018-11-19 01:18 PM
Hi,
any updates on HAL RTC?
Sincerely,
Wojciech