Question
STM32F303 SPI alternative use of the NSS pin problem
Posted on May 12, 2015 at 17:52
When using SPI2 PB12 is the NSS pin. However, I want to use PB12 as an output and not have it set or reset by the NSS when using SPI2. I thought I had done that by this line of code:
SPI_InitStructure.SPI_NSS = SPI_NSS_Soft;However, when I try to use PB12 something is pulling it hard low. Any suggestions? #spi-protocol-stm32f303