This is an old revision of the document!


GPIO Port A..H

The STM32F429ZI has a total of 8 GPIO ports (A..H). Each port offers 16 I/O pins (except port H, which offers only 2). Each pin can individualy be configured as input, output or be connected to one of the other peripherals (alternate function).

  • Up to 114 I/O ports.
  • Output states: push-pull or open-drain + pull-up/-down.
  • Input states: floating, pull-up/-down or analog.
  • Speed selection for each I/O.
  • Up to 90 MHz toggeling speed.

After reset most of the pins are configured as floating general purpose input. The ones that are not, are used for the debug/programming interface:

Port A.15JTDI, JTAG Data Inputpull-up
Port A.14JTCK/SWCLK, JTAG / Serial Wire Clockpull-down
Port A.13JTMS/SWDAT, JTAG Mode Select / Serial Wire Data (Input/Output)pull-up
Port B.4NJTRST, JTAG Reset (Inverted)pull-up
Port B.3JTDO, JTAG Data Outputfloating

These modes are available per pin:




MODER

00Input (reset state)
01Output mode
10Alternate function mode
11Analog input mode

PUPDR

00No pull-up / -down (reset state)
01Pull-up
10Pull-down

OSPEEDR

00Speed: 2 MHz (reset state)
01Speed: 10 MHz
10Speed: 50 MHz
11Speed: 100 MHz




0Output type: push-pull (reset state)
1Output type: open-drain MHz







0..15Alternate function 0..15




  • stm32/peripherals/gpio.1456385609.txt.gz
  • Last modified: 2016/02/25 07:33
  • by feur