2019-09-19 07:32 PM
I find the RTC's HT's Value exceeds 24,when i use a stm32f401 mcu's RTC module to upload sensor data to geteway.I'm very confusing.
My project is made by stm32cubemx,and using the newest HAL library.
2019-09-20 12:37 AM
This happens if you set the RTC to 12-hour (AM/PM) mode (RTC_CR.FMT = 1) and set hour to 13 or higher.
JW
2019-09-23 02:36 AM
I set the hour to 13 in fact,but don't set the RTC to 12-hour mode.I'll change the hour value to 10 and check again tomorrow.
Rui
2019-09-23 03:28 AM
Read out and check the RTC registers content.
JW