Skip to main content
LSang.11
Associate
December 2, 2020
Solved

STM32 Self reset

  • December 2, 2020
  • 2 replies
  • 1408 views

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?

This topic has been closed for replies.
Best answer by waclawek.jan

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

2 replies

Peter BENSCH
ST Technical Moderator
December 2, 2020

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.
waclawek.jan
waclawek.janBest answer
Super User
December 2, 2020

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