1

I'm having a Chinese development board of STM32F103RCT6 STM32_Mini_Pro where a winbond SPI flash is attached with SPI3. The Chip Select is attached with PA15 pin.

While configuring SPI in STM32 cubeMX, I assign Chip Select i.e. PA15 as GPIO output for software NSS.

But while assigning it i get an error like this

Hardware NSS signal conflicts with PA15 mapped with GPIO output

This is my assignment in Cube MX

PA15 assigned as GPIO Output

What is the reason for this problem and how to rectify it?

Thank you

Community
  • 1
  • 1
Devjeet Mandal
  • 345
  • 1
  • 4
  • 23

1 Answers1

2

There is no problem. Cube shows you that you can not assign slave select signal to PA15 (yes, it's rigth, you already mapped this pin as GPIO). Hardware slave select it STM32 micros has the meaning only if you use MCU as slave device.

Alexey Esaulenko
  • 499
  • 2
  • 10