Skip to main content
Associate
Jun 3, 2024 8:21 AM UTC
Question

STM32WL NVIC_SystemReset issue.

Dear ST,
We found that when we execute NVIC_SystemReset(); there will be a random CPU hang. In order to eliminate the problem of whether it is developed for our program,
I used the lorawan at slave routine, and after compiling it directly,
When I execute the ATZ command, it will reset the module. It may succeed the first time, but it will almost hang the CPU the second time.
I am using SDK V1.3 version.
Please tell me how to solve this problem.

This topic has been closed for replies.

2 replies

STTwo-32
ST Technical Moderator
Jun 28, 2024 11:14 AM UTC

Hello @Weili 

Could you please provide more details about your use case, the hanging scenarios,... So, the Community contributor may help you. From your description, such a behavior should be solved using the NVIC_SystemReset().

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
Jun 28, 2024 11:29 AM UTC

Is this on some custom board?

Are you driving or connecting the NRST signal to anything else?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..