Does the PSoC act as master? If yes, why don't you use the API we offers to do the test.
1: Start transfer:
/* Wait for the end of the transfer. The number of transmitted data
* elements has to be equal to the number of received data elements.
while(PACKET_SIZE != SPIM_SpiUartGetRxBufferSize())
/* Clear dummy bytes from RX buffer */
If we act as the slave, please check the master, because the clock is offered by the master.