Skip to main content
CHead
Associate III
Oct 26, 2018 7:01 PM UTC
Solved

What is the reset value of GPIOx_MODER?

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.
Khouloud GARSI
Khouloud GARSIBest answer
ST Employee
Oct 29, 2018 2:50 PM UTC

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
Oct 27, 2018 4:43 PM UTC

@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
Oct 29, 2018 2:50 PM UTC

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.