Skip to main content
Jack3
Senior
January 11, 2025
Solved

STM32CubeMX 6.13.0 - SPI NSS can't select SPI_NSS_SOFT

  • January 11, 2025
  • 1 reply
  • 914 views

SPI with NSS

NSS Signal Type Output Software is missing in the pulldown.
What did I wrong?

I attached the ios file.

Of course I can edit the source and never let STM32CubeMX touch the project again, but that wasn't the goal, right?

javaw_WKW4pHUDGG.png

 

 

 

hspi1.Init.NSS = SPI_NSS_HARD_OUTPUT;
hspi1.Init.NSS = SPI_NSS_SOFT;

 

 

Best answer by AScha.3

Seems you set it to nss hardware-mode on top window....then its fixed.

AScha3_0-1736633488420.png

Because if you want do it in software, it can be any pin...so no need to set it here to use the nss pin by hardware.

1 reply

AScha.3
AScha.3Best answer
Super User
January 11, 2025

Seems you set it to nss hardware-mode on top window....then its fixed.

AScha3_0-1736633488420.png

Because if you want do it in software, it can be any pin...so no need to set it here to use the nss pin by hardware.

"If you feel a post has answered your question, please click ""Accept as Solution""."