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.

PROCESSOR-SDK-AM335X: SPI 8-bit mode

Part Number: PROCESSOR-SDK-AM335X


Hi,

I am using SKAM335x board and TI RTOS SDK on windows host pc.

If I configured SPI word length for 32 bit and I am sending any 8 bit data and receiving same data through loopback then in Rx register data is receiving correctly. But If configure word length as a 8 bit then in receive register data is receiving incorrectly, 8th and 9th bit are setting 1. LSB is correct. Why this is happening?

Whatever I am configuring word length, in receiving register after that word length next two bits will be 1. Another thing, for 8 bit WL, continuously transmit and receiving, previous LSB is shifting to next byte. Why? 

Regards

Gaurav