Visitor II
December 19, 2025
Question
Nucleo-L4R5Zi-P: SPI_NSS_HARD_OUTPUT
- December 19, 2025
- 2 replies
- 56 views
Hi all,
I am working on firmware that involves SPI communication using a Nucleo board (Nucleo-L4R5ZI-P) with an STM32L4ZIT6 microcontroller.
I am trying to establish communication with an SPI slave device. The chip select (NSS) signal is expected to be controlled by hardware, so I enabled the hardware chip-select configuration as shown below.(screenshots attached)
When I switch to software control, I am able to read from and write to the slave registers by manually toggling the chip-select pin in software. However, when I change the mode to SPI_NSS_HARD_OUTPUT, the SPI read/write communication stops working.
What could be the issue?


