Skip to main content
Explorer
December 27, 2024
Solved

The GPIO output before initialization

  • December 27, 2024
  • 1 reply
  • 1146 views

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.
    Best answer by mƎALLEm

    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

    1 reply

    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.

     

    Explorer
    December 27, 2024

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

    mƎALLEmAnswer
    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