2020-05-07 11:44 PM
I am assigning pins on a STM32F446 micro in cubemx, and I would like to connect multiple chips to the micro on one spi bus.
I would like each chip to be connected to a separate chip select pin, aka spi_nss.
When I try to assign a second spi_nss pin, it deletes the first spi_nss pin.
How do I assign multiple spi_nss pins?
Solved! Go to Solution.
2020-05-08 12:10 AM
If the MCU is the only master with several slaves connected, then don't use hardware SPI NSS.
Just connect the chip select signals from the slaves to any free GPIO pin.
2020-05-08 12:10 AM
If the MCU is the only master with several slaves connected, then don't use hardware SPI NSS.
Just connect the chip select signals from the slaves to any free GPIO pin.