在初始化RTC之前。系统时钟被设置为了低于RTC时钟的频率。则RTC计时会变慢。因为RTC时钟源是独立于系统时钟的。如果系统时钟太低。可能无法提供足够的精度来维护RTC计时器的准确性。可能需要在初始化之前将系统时钟设置为足够的频率。以确保RTC计时的准确性。在初始化RTC时没有正确配置RTC时钟源。RTC时钟源...
Describe the set-up I'm using a STM32H743 on a custom board with 32768 Hz LSE crystal and battery-backed up RTC. Describe the bug Every time HAL_RTC_Init() is called, the RTC looses some sub-seconds. HAL_RTC_Init should check if the RTC ...
the RAM clean boot is due to batter power being out or if the persistent storage was cleared. For devices without external power for the real-time clock, OEMs need to reset their real-time clock if IOCTL_HAL_INIT_RTC was called. However, this scenario is different during an update proces...
perspective. In this case, OEMs should not reset the real-time clock either. The primary OS kernel should be notified that the reboot was issued by the Update Loader and then ignore the request for IOCTL_HAL_INIT_RTC. This is done by the OAL so OEMs need to find a way to detect ...