You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bcostm
Note: This is just a template, so feel free to use/remove the unnecessary things
Type: Enhancement
Enabling the IWDG WatchDog aborts mbed in rtc_init with the error message “Cannot initialize RTC with LSE”.
The problem is, that the init_rtc aborts when setting the mbed time via set_time(t). The IWDG enables the LSE because it works even in deepsleep mode when the clock is off, however the rtc_init() turns off the LSE therefore the HAL_RCC_OscConfig() fails.
It would be good if this limitation can be fixed, I don’t understand all details about the clock therefore someone with more STM know how better looks into it.
Regards Helmut
PS: I can provide a sample code to enable the IWDG, however I belive it is not needed.