2018-02-11 10:03 AM
What is Software NSS and Hardware NSS in SPI? Which Nss mode should we select?
Do we need to connect the NSS pin (between master and slave) in Software mode?
I read the NSS pin management in Reference manual, but I couldn't understand it.
Thanks!
#spi #stm-322018-02-11 11:22 AM
Yestarday wanted to connect SPI based sensor to the STM32L152RE using HAL drivers (latest CubeMX, etc) and failed to use hardware NSS (the MCU was a MAster). Have no time to investigate it deeply and switched to Software NSS (activate / deactivate NSS through HAL_GPIO_WritePin(). So I am not the only one who has problem with using this feature;)