cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure the SPI chipselect on an F4 Board in STM Cube IDE?

FBrud.1
Associate

If I manually set the spi chipselect transmitting via spi works.

2 REPLIES 2
KnarfB
Principal III

> If I manually set the spi chipselect transmitting via spi works.

In many cases, this is the best way to go. The NSS pin logic is special and not suited as a chip select in many scenarios.

hth

KnarfB

Harvey White
Senior III

This is correct..

The NSS pin does work when set active, however, if you wish to talk to a display with an A0 line, the NSS pin would be automatically turned off, between transactions, which generally messes up the way the display needs to work Stick to manual operation, and it allows you to pick any pin, not just a few.