Skip to main content
Explorer
July 3, 2023
Solved

Using SPI CS alternate function or a simple GPIO output

  • July 3, 2023
  • 1 reply
  • 1320 views

I just want to know about using SPI CS alternate function or a simple GPIO output. 

 

In my design I just have a pin with no SPI CS alternate function available, so could I use it as a simple GPIO output?

This topic has been closed for replies.
Best answer by Bubbles

Hi @JuanjoAlm ,

by SPI CS you mean "chip select" or in other words "slave select"? 

We call it NSS (negative slave select) and you can replace it with a GPIO without problem. Reference manual even describe some scenarios where it's actually recommended, like multi-master application.

BR,

J

1 reply

Bubbles
BubblesBest answer
ST Employee
July 3, 2023

Hi @JuanjoAlm ,

by SPI CS you mean "chip select" or in other words "slave select"? 

We call it NSS (negative slave select) and you can replace it with a GPIO without problem. Reference manual even describe some scenarios where it's actually recommended, like multi-master application.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.