Skip to main content
CHead
Associate III
October 26, 2018
Solved

What is the reset value of GPIOx_MODER?

  • October 26, 2018
  • 2 replies
  • 796 views

According to RM0433 rev 5 section 10.4.1, the reset values are 0xABFFFFFF for port A, 0xFFFFFEBF for port B, and 0xFFFFFFFF for all the others. This appears to agree with the bits shown in the register table at the end of the chapter. However, in the description at the bottom of 10.4.1 is the text “00: Input mode (reset state)�?. So, is the reset state input, or is it analogue, for most pins?

This topic has been closed for replies.
Best answer by Khouloud GARSI

Hi @CHead​ ,

The Reset state for most of the pins is the Analog mode. We will fix the reference manual accordingly.

Thanks for bringing this point to our attention.

Khouloud.

2 replies

Tesla DeLorean
Guru
October 27, 2018

@STOne-32​ @Imen DAHMEN​ @Amel NASRI​ 

Seems to be a copy-n-paste from prior manuals.

Analogue and Input are similar, the former turns off the schmitt trigger into the GPIO_IDR, perhaps reducing the chance for the pin to oscillate.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
Khouloud GARSIBest answer
ST Employee
October 29, 2018

Hi @CHead​ ,

The Reset state for most of the pins is the Analog mode. We will fix the reference manual accordingly.

Thanks for bringing this point to our attention.

Khouloud.