SPI BiDirectional Newbie in need of help! | Cypress Semiconductor
SPI BiDirectional Newbie in need of help!
I am an absolute newbie to SPI and using it with these PSoCs.
I have not found adequate documentation or examples on how to perform SPI Master READ.
I am able to write data to the SPI slave device, however how do you read data?
Using Oscilloscope, I can see that the SCLK pin is driven during a write operation, but it is not being driven during a read command!!! (It remains low)
PSOC_DEBUG_BUF = SPIM_ReadRxData();
I can see SCLK and SDIO is driven during the two write cycles, and the correct bits are set, however SCLK is never driven for the SPI Slave Device to write data!!
How is SCLK driven for read mode?