This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI read error

Hi,

I use AM/DM37x + Windows EC7 for development.

I am trying to communicate with slave device over SPI interface using SPI2 and CS0.

I did all necessary changes in the BSP to include SPI2 and did clean sysgen.

I configured spi tx or rx mode and invoked the SPIWriteRead driver routine for the reception of data.  But I get 0xff appended in the data.  For ex. if I write 0x09 into the tx buffer, I read 0x09ff.  I don't what's the reason for it.

If you have any thoughts please let know.

Regards,

Karthick