This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nucleo64 STM32F030R8

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