cancel
Showing results for 
Search instead for 
Did you mean: 

as described in the user manual, SPI NSS setup can set NSS as HW or SW ontrol. However, setting it via CubeMX tool, the HW setup is not shown as a possible selection in the selection box. (NSS signal Type is only "Sofrware")

Nuzie
Associate II

CubeMx version is 5.3.0,

CPU is STM32MP157

working on discovery board DK2.

1 REPLY 1
PatrickF
ST Employee

Hello,

Under Linux, the SPI driver only supports 'Software NSS', which mean the driver could uses any GPIO to control the NSS line(s).

see https://wiki.st.com/stm32mpu/index.php/SPI_device_tree_configuration

0690X00000AqsmhQAB.jpg

Under Cortex-M4 HAL, 'Hardware NSS' is supported

In order 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.