Skip to main content
Visitor II
October 24, 2019
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")

  • October 24, 2019
  • 1 reply
  • 571 views

CubeMx version is 5.3.0,

CPU is STM32MP157

working on discovery board DK2.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    October 25, 2019

    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