This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
i want to design a SPI which can communicate with multiple slaves(for exampel 4).thus there should be 4 chip select signals, but i see in this doc the spiA channle SPIA_PTE can be tied to 13,43, 56, so how can i finish expected 4 slaves communication, i mean can i use a gpio to act as a ship slect signal? or SPIA just could communicate with 3 slaves or just one?
thanks.
Hi
As each SPI only has one chip select (ex: SPIA_PTE), technically using this CS, only one peripheral can be controlled at a time. However, GPIOs can certainly be configured to work as CS (aka slave select) for communicating with different peripherals. This is a common question, so you will be able to find several E2Es on this. Here are some to get you started. While these E2Es discuss other devices, the SPI module is the same across them, so this information would apply here as well:
(+) Multi-slave SPI - C2000 microcontrollers forum - C2000︎ microcontrollers - TI E2E support forums