Skip to main content
Associate III
December 27, 2024
Solved

The GPIO output before initialization

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?

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
December 27, 2024

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 "Best answer" on the reply which solved your issue or answered your question.

5 replies

mƎALLEm
ST Technical Moderator
December 27, 2024

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 "Best answer" on the reply which solved your issue or answered your question.
Associate III
December 27, 2024

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

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
December 27, 2024

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 "Best answer" on the reply which solved your issue or answered your question.