2019-01-17 02:45 AM
Hello,
I wonder if I use the internal pullup resistor on an STM32F4 on an open-drain output, if the MCU is reset with the line NVIC_SystemReset(), does the internal pullup resistor with open drain output will still be seen by another IC connected to this pin ? Will it still be configured as open drain with pullup during and after reset ?
Thank you
Solved! Go to Solution.
2019-01-17 04:43 AM
A reset will also set the peripheral config registers to their default values, which means powered-off.
The GPIO supposedly goes to a high-impedance state.
2019-01-17 04:32 AM
Whatever is programmed by sw is lost when reset occurs as most peripheral registers have their reset values in the ref manual. Typically most gpio are input during reset to avoid electrical conflicts. For the progranmable pull up, check tge reset register value....
2019-01-17 04:43 AM
A reset will also set the peripheral config registers to their default values, which means powered-off.
The GPIO supposedly goes to a high-impedance state.
2019-01-17 05:05 AM
Okay thank you for your answers.