2019-03-15 01:35 AM
We are working custom board which has stm32f103vct6 (LQPF 100pin) on it. Our aim is to interface flash memory with microcontroller through SPI1 module but mistakenly board designed as PC4 pin for chip select instead of PA4 pin. Is there any other way to remap chip select pin to PC4 pin.
2019-03-15 02:08 AM
Not really, if you want hardware NSS.
You can forego the HW slave select for the SPI peripheral, and control it manually. This way, you can use any free pin, also PC4.
Or you can go for a board redesign, and patch the current prototypes.
2019-03-15 02:44 AM
You can choose SP1 on "PortB ( PB5 -MOSI,PB4-MISO,PB3-SCK)and your NSS pin come at PA15 " in this config you will not able to use SPI3. If you want to operate your MCU in defaut SPI1
then(PA4-NSS,PA5-SCK,PA6-MISO,PA7 -MOSI).