2018-08-25 01:27 PM
My environment is as follows:
I set the RTC with RTC_HOURFORMAT_24. Actual code for the setup was generated by the CubeMX. If I set the clock to 12:59:59 then the RTC proceeds to 1:00:00. If I set the clock to 13:00:00, then it proceeds to 13:00:01.
RTC_HOURSFORMAT_12 seemed to work fine.
2018-08-29 12:59 PM
> If I set the clock to 12:59:59 then the RTC proceeds to 1:00:00.
Then it's not set to 24-hour format. Read out and check the RTC registers' content.
JW
2018-09-01 07:41 PM
I confirmed it by reading the RTC register. It does proceed to 1:00:00 with 24 hours setting. I ended up with using RTC_HOURSFORMAT_12, instead converting it 24 hours format in the firmware. Is this a undocumented silicon error?
2018-09-02 01:21 PM
Post the content of the RTC registers here.
JW