2024-12-02 09:50 PM
Hello everyone, I am using an internal RTC on STM32L431. After running for 23:59:59 seconds, the time changes to 24:00:00 instead of 00:00:00, and the week day has not been incremented. Why is this?
Solved! Go to Solution.
2024-12-04 04:11 PM - edited 2024-12-04 09:04 PM
Because the phenomenon disappears after power off reset, no difference can be seen when reading the register
2024-12-04 08:41 PM
This is an English language forum.
JW
2024-12-05 12:54 AM
@AlfRomeo wrote:
the time continued to run after 24:00:00 seconds and changed to 00:00:00 after 39:59:59 seconds,
Which is exactly the symptom described in @waclawek.jan's link
@AlfRomeo wrote:I don't know why, but after resetting after a power outage, it improved again.
That could suggest uninitialised data.
Or perhaps data corruption.