We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
I am trying to get RTC but just subsecond is changing
I already actived Alarm Calendar and interrupt and format binary
in main
I defined sTimeStructure as RTC_TimeTypeDef
and in While HAL_RTC_GetTime(&hrtc, &sTimeStructure,RTC_FORMAT_BIN) and HAL_Delay(500)
Watching sTimeStructure just see subsecond changing and keeping fixed value thye seconds, minutes and hour.
The seconds must to increment by 1 but I dont know why its not working
Thank you in advance
I dont know if it is a bug or not. I just included HAL_RTC_GetDate(&hrtc, &sDateStructure,RTC_FORMAT_BIN); and now is working fine.
Sorry I'm afraid we can't help with this one - this isn't one of the platforms we support in this Community area. We'd suggest you contact ST.