AnsweredAssumed Answered

Nucleo64 STM32F030R8

Question asked by Marcel Levinspuhl Jr on Jan 29, 2018
Latest reply on Jan 31, 2018 by Imen D

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

Outcomes