Skip to main content
Nuzie
Associate
Oct 24, 2019 2:46 PM UTC
Question

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")

CubeMx version is 5.3.0,

CPU is STM32MP157

working on discovery board DK2.

This topic has been closed for replies.

1 reply

PatrickF
ST Employee
Oct 25, 2019 12:53 PM UTC

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent