cancel
Showing results for 
Search instead for 
Did you mean: 

State of GPIO lines before loading program to flash - STM32F4

bmak
Senior

Hi,

I wonder in which state are the GPIO lines of STM32F407VG BEFORE loading program to flash memory.

Thanks 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

This depends on the GPIO port: Please check the relevant section GPIO registers in the reference manual for the respective family.

You will find the reset values of GPIOx_MODER, GPIOx_PUPDR etc, which are active until changed by the initialization.

Regards

/Peter

In order 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.

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

This depends on the GPIO port: Please check the relevant section GPIO registers in the reference manual for the respective family.

You will find the reset values of GPIOx_MODER, GPIOx_PUPDR etc, which are active until changed by the initialization.

Regards

/Peter

In order 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.

Thanks! I had no idea where to look for the answer :).