Skip to main content
NMeno
Associate II
August 10, 2023
Solved

How to reboot a STM32WL from code?

Hi, I'm using a STM32WLE5CCU micro with FW_WL V1.3.0 library. I want to implement a feature that receives a downlink command from the Network Server and reboot the entire system like pushing a reset button will do.

Once the command is received, is there any local function I can use for this purpose?

Any example of implementation?

Thank you!

This topic has been closed for replies.
TDK
TDKBest answer
August 10, 2023

Calling HAL_NVIC_SystemReset() will reset the system.

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

2 replies

TDK
TDKBest answer
August 10, 2023

Calling HAL_NVIC_SystemReset() will reset the system.

"If you feel a post has answered your question, please click ""Accept as Solution""."
NMeno
NMenoAuthor
Associate II
August 14, 2023

Hi TDK, thanks for your reply, it worked like a charm!