cancel
Showing results for 
Search instead for 
Did you mean: 

Using SPI CS alternate function or a simple GPIO output

JuanjoAlm
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Bubbles
ST Employee

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.

View solution in original post

1 REPLY 1
Bubbles
ST Employee

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.