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.

DM814x: Can SPI input/output with LSB first?

Hi,

I found below statement in DM814x TRM. But I still wants to know if there is any way we can do to let SPI input/output with LSB first, such as setting some register. Would you pls help?

"The SPI words are transferred with MSB first."

  • Hi Chris ,

        Have you make sure on this, DM814x SPI only support MSB first?

  • Hello,

    old Wang said:
    DM814x SPI only support MSB first?

    I also think so. I make a check into the DM814x McSPI registers, and I do not find register in which you can switch from MSB first to LSB first. Thus you need to reverse the bytes yourself (byte reversal software).

    See the below e2e thread for more info (it is for AM3x device, but also valid for DM814x device):

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/228532.aspx

    Regards,
    Pavel