Skip to main content
bmak
Senior
September 24, 2021
Solved

State of GPIO lines before loading program to flash - STM32F4

  • September 24, 2021
  • 1 reply
  • 715 views

Hi,

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

Thanks :)

This topic has been closed for replies.
Best answer by Peter BENSCH

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

1 reply

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
September 24, 2021

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.
bmak
bmakAuthor
Senior
September 24, 2021

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