2022-03-04 12:30 AM
in stm32f407vgt,
i declared the RTC structures and set the RTC with date: 1,1,70 and time: 0:0:0
later i set RTC with new values (date: 4,3,22 and time: 10:55:28)
after few minutes if i read the RTC it giving a time properly but date is wrong (i,e. 1,1,70)
how to fix this issue?
Solved! Go to Solution.
2022-03-04 05:58 AM
2022-03-04 05:36 AM
Show the code you're using, gotta be a bug somewhere. Verify after setting new values that they have taken effect.
2022-03-04 05:58 AM
You have to read date *after* time.
JW
2022-03-06 09:27 PM
thank you this is working