cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Self reset

LSang.11
Associate II

Is there a way to self reset other than watchdog?

Without external pull-up resistance

I want to keep the GPIO high even if the MCU performs a soft reset.

Is there any way?

1 ACCEPTED SOLUTION

Accepted Solutions

Call NVIC_SystemReset() for software reset, but no reset will retain the pins settings in GPIO, including pull-ups.

https://community.st.com/s/question/0D53W00000PTFkaSAH/gpio-retention-method

JW

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

Yes, please read the reference manual of the respective device for the section Power Reset, which contains all sources for the internal reset.

Regards

/Peter

In order 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.

Call NVIC_SystemReset() for software reset, but no reset will retain the pins settings in GPIO, including pull-ups.

https://community.st.com/s/question/0D53W00000PTFkaSAH/gpio-retention-method

JW