Hi friends
I'm using PSoC 5LP CY8C5868-AXI Psoc device. I need two spi modules in Psoc5 series. But I have a problem.
I uploaded an image as an attachment. The circuit as shown in the picture.
in this circuit the SPIM_1 module works fine, but the SPIM_2 module is not running. I use the following function to write data.
SPIM_2_WriteByte(0xAA); //Write to SPIM_2 module
while (0u == (SPIM_2_ReadTxStatus() & SPIM_2_STS_SPI_DONE)){} //wait for data send
What could be the problem? How many SPI modules can I use in this way?
Thanks