AnsweredAssumed Answered

CubeMX RTC, STM32F407, weird values by HAL_RTC_GetTime

Question asked by George Eliozov on Jul 18, 2017
Latest reply on Jul 19, 2017 by George Eliozov


I'm new to CubeMX and HAL drivers. Recently I build a test project with RTC module, but now I'm experiencing quite weird behavior of the HAL_RTC_GetTime/HAL_RTC_GetDate.

In my case HAL_RTC_GetTime function can return Hours values which is greater then 24 ....  and Date is also not incrementing ...


I have standard initialization code from STM32CubeMX (updated today, no change).