once in about 10 minutes I update the time & date from a Time-server.
once in a while (this is very unpredictable), the
"RTC_SetTime(...)" command, supplied in the BSP hangs.
this happens in this line:
this is because the ACK for the RTC update is never updated in the RTC_SR register.
Code: Select all
while ((pRtc->RTC_SR & RTC_SR_ACKUPD) != RTC_SR_ACKUPD) ;
does anyone knows what can cause this ?
BTW, I've checked...
the date & time I'm updating are perfectly normal.