I would like to know if it is possible to remap a single pin of a multi-pin (SPI) peripheral?
For instance, I have a STM32F107 and I want to use UART4, SPI3 and Ethernet.
PC10 = UART4_TX - Remap function = SPI3_SCK
PC11 = UART4_RX - Remap function = SPI3_MISO
PC12 = UART5_TX - Remap function = SPI3_MOSI
PB3 = SPI3_SCK
PB4 = SPI3_MISO
PB5 = Ethernet or SPI3_MOSI - I have to use ethernet.
What I want to do is to use PC12, PB3 and PB4 for SPI3, and then use PC10 and PC11 for UART4.
Is it allowable to only remap one pin and not the entire peripheral?
I would like to use the HAL libraries to configure, if possible.