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?
2024-12-03 02:21 AM
Hello @AlfRomeo,
Is the RTC correctly configured to use the 24-hour format?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-12-03 02:23 AM
As @Sarra.S said above, you probably have set the RTC inadvertently to 12 hour format, probably because of uninitialized struct when calling Cube/HAL functions setting time.
JW
2024-12-03 04:09 PM
The format of the hour is still 24 hours, and I haven't changed it