cancel
Showing results for 
Search instead for 
Did you mean: 

Difenrence between pin mcu pin and gpio port

wjian.2
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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