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

Difenrence between pin mcu pin and gpio port

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.
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""."

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 Venmo (See Profile) Up 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""."