I am using processor expert to generate SPI on K20 device . I am accessing more than 16 devices so I am using 5 chip select signals. Those signals are GPIOs and are not driven directly by the SPI block.
When I am trying to setup a read access, I am first preparing a buffer for the read using SPI_RecieveBlock() and than starting the transmit and receive using the SPI_SendBloc().
The problem is the transaction is never finished. I can see the internal SPI interrupt happening for the first transmitted character, but not for the receive character and not for the second transmit and receive characters.
Is it possible to use the SPI with GPIOs as chip selects? Otherwise, how would I attack this problem?
Any comment will be appreciated