Skip to main content
wjian.2
Associate III
August 21, 2023
Solved

Difenrence between pin mcu pin and gpio port

  • August 21, 2023
  • 2 replies
  • 762 views

if one pin have two pin name for example d14 could be mcu pin as PD12 ,o PA9 at gpio port. But for gpio_init()should be PD12, the PA9 is for which part to use?

This topic has been closed for replies.
Best answer by TDK

Don't confuse pinout of board connectors with pinout of the STM32 chip itself. HAL code always uses the pin names on the chip itself.

2 replies

Tesla DeLorean
Guru
August 21, 2023

What part number are you talking about?

Is D14 a ball number? An Arduino rail identifier? ... Make your posts self contained with sufficient detail to understand your situation.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
TDK
TDKBest answer
August 21, 2023

Don't confuse pinout of board connectors with pinout of the STM32 chip itself. HAL code always uses the pin names on the chip itself.

"If you feel a post has answered your question, please click ""Accept as Solution""."