Skip to main content
GFont.1
Associate III
Jul 19, 2020 1:54 PM UTC
Solved

Restart MCU via software

Hi,

How can I restart stm32l431 via software? I an using the MCU with sim800l and I can be able to restart MCU using text message. Does Exist some HAL function to restart MCU?

This topic has been closed for replies.
TDK
TDKBest answer
Jul 19, 2020 4:54 PM UTC

> Does Exist some HAL function to restart MCU?

There is HAL_NVIC_SystemReset(), which simply calls NVIC_SystemReset.

"If you feel a post has answered your question, please click ""Accept as Solution""."

3 replies

Tesla DeLorean
Guru
Jul 19, 2020 1:59 PM UTC

NVIC_SystemReset() ?

Watchdog?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDK
TDKBest answer
Jul 19, 2020 4:54 PM UTC

> Does Exist some HAL function to restart MCU?

There is HAL_NVIC_SystemReset(), which simply calls NVIC_SystemReset.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Uwe Bonnes
Chief
Jul 20, 2020 9:18 AM UTC

What a gloriuos redirection!