Dear NXP,
I am designing a program of SPI Slave Read/Write and running on LPCXpress54114 board.
I tried to modify the SDK exmaple code (spi_interrupt) of LPCXpress54114. The Master SPI part is REM.
I put 0xF0, 0xF1, 0Fx2...... into srcBuff array and six bytes is read/write over SPI interface. (According to the Master clock from another side)
I suppose the Tx Data on SPI_MISO pin should be 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5.
But I found the Tx Data is 0xF0, 0xF0, 0xF1, 0xF2, 0xF3, 0xF4,
0xF0 is transmit two times and then 0xF1..... The attached is my modified code, and captured SPI waveform.
Please kindly take a look if I have done something wrong for my SPI slave code .
The CS pin is pulled to ground. And all SPI Rx data is correct.
Thanks,
Eric