cancel
Showing results for 
Search instead for 
Did you mean: 

State when no settings are made in GPIO pin

hjuns
Associate III

Hello,

For example, i do not set any settings in PE10 pin. (Reset state)

What state is PE10 pin?

Will the state of PE10 be floating or Pull down?

(I don't use pull down resistor.)

Best regards.

2 REPLIES 2
Danish1
Lead II

This is documented in the Reference Manual for your stm32, in the section on GPIO; the final bit of that section where the registers are described.

Many will default to digital input without pull. So you might want to change that for floating pins. Giving a pull is fine, as is changing it to Analog.

S.Ma
Principal

I think in cubemx there is a check box option for unused gpio state. Just avoid floating digital input which are susceptible to toggle by crosstalk. Some pins like jtag ones have hardwired pull resistors.