2022-09-25 11:39 PM
2022-09-26 02:22 AM
HAL_GETTICK counter will overflow after more than 1,6 months, so i would use it along NVIC_SystemReset() to restart your mcu.
Or if youre more interested in restarting your MCU even if the core got lock up...
Then i would use a IWDG but its counter will overflow after only 32seconds.
2022-09-26 01:52 AM
Hello @GSaw ,
You can call NVIC_SystemReset, and use HAL function: HAL_NVIC_SystemReset ().
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2022-09-26 02:22 AM
HAL_GETTICK counter will overflow after more than 1,6 months, so i would use it along NVIC_SystemReset() to restart your mcu.
Or if youre more interested in restarting your MCU even if the core got lock up...
Then i would use a IWDG but its counter will overflow after only 32seconds.
2022-09-26 03:23 AM
Thanks :)