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.
The text was updated successfully, but these errors were encountered:
Thanks for reporting @helmut64! Any sample code that you're using to reproduce this problem is useful as it helps us debug the problem faster, so feel free to post it!
Believe or not the problem disappears in build #133 in #132 it still exists, I have not switched to 133 for some power usage reason which is fixed already (upcoming 134 release).
@bcostm
Note: This is just a template, so feel free to use/remove the unnecessary things
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.
The text was updated successfully, but these errors were encountered: