Poorly written question. Let me elaborate.
The Nucleo-32 board I'm developing (STM32G431KB) in STM32CubeIDE shows on the CubeMX "pinout view" that there are 4 distinct pins PA6
, PA15
, PA5
, and PB7
, each with their own unique set of alternate functions. I assigned a function to each of those pins (although you don't see PB7
or PA15
populated in this image for reasons discussed below):
So after configuring my peripherals, I then went about wiring the board according to the ST User Manual. That's when I realized PA6/PA15
and PA5/PB7
are both assigned to a single pin for each pair (header CN3
, pins 7
and 8
):
My question is thus: am I prohibited from using a pin if I am simultaneously using a completely separate pin on that same physical header pin? For example, if I'm using alternate function SPI1 SCK
on pin PA5
, is there no possible way to use pin PB7
for anything at all? Or is there some sort of fancy GPIO muxing feature that I'm not aware of?