RTC in binary mode not working properly on STM32F746
Hi,
I enabled RTC and calendar on a STM32F746 CubeMX project, and I can gather correct time informations when using BCD mode from the HAL_RTC_GetTime function, but when using the other option the "binary" mode, the informations I´m getting from GetTime can be incorrect from time to time ("jumping" to incorrect values, for example from 12 to 22 seconds, then to 14 sec right after) but still switch minutes/hours at the right moment.
From what I understand the RTC calendar is basically in BCD format, which is converted to a "classical" binary format with "RTC_Bcd2ToByte" function when the format in HAL_RTC_GetTime is precised as binary, I don't understand why it would have these issues. I was wondering if anyone had came across this issue before?
Thank you in advance for your time.
