cancel
Showing results for 
Search instead for 
Did you mean: 

The GPIO output before initialization

pass3master
Senior

We are developing a device using the STM32H743.
We are setting up the GPIO during initialization, but I am wondering about something.
What is the GPIO output before initialization? Is it high impedance?
Or does it change depending on the circuit connected to the STM32H743?

3 REPLIES 3
SofLit
ST Employee

Hello,

After reset it's analog input:

SofLit_0-1735286627012.png

 

After reset the output is normally set to 0:

SofLit_1-1735286321959.png

If you need to set it at a specific value on the initialization stage, set the value of the pin on ODR or BSRR register then configure the GPIO as output.

 

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.

Thank you for your answer. I see, analog input!
Is it floating as an electric potential?

Sorry I didn't understand your last question.

After reset it's set to Analog input and it's in high impedance state (from RM0433):

SofLit_1-1735286807091.png

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.