IS IT POSSIBLE TO USE OTHER GPIO PINS AS CHIPSELECT PIN IN SPI1 MODULE IN STM32F103VC CONTROLLER ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-15 1: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.
- Labels:
-
SPI
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-15 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-15 2: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).
