Switch RTC to LSE clock if it is detected on start. It is not allowed to change source clock of RTC module on STM32. Source clock can be selected only once after reset of BKP module. If at first start LSE is failed FW will fallback to inaccurate LSI (internal RC). If Vbat is present RTC/BKP is not reset between restarts and RTC is never switched to more accurate LSE event if it is present. Implement fixup that will check for the LSE and switch RTC to LSE through BKP (RTC) module reset and new clock source selection. |
||
---|---|---|
.. | ||
at32 | ||
cypress | ||
kinetis | ||
stm32 | ||
arm_common.cpp | ||
chconf_common.h | ||
mpu_util.h | ||
mpu_watchdog.h | ||
rusefi_halconf.h |