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 32 bit



Hi Guys,

I am using the 28035 for a project. Is there some way to send 32 bit size strings using spi?? All the registers are 16 bits, but I need to send and receive in strings of 32? Any suggestions?

please help. :\

  • Hi Bartho,

    Bartho Horn said:
    I am using the 28035 for a project. Is there some way to send 32 bit size strings using spi?? All the registers are 16 bits, but I need to send and receive in strings of 32? Any suggestions?

    As you know, this SPI has 16-bit transmit and receive capability, with double-buffered transmit and double-buffered
    receive and all data registers are 16-bits wide. You can try the append method where you append 2 16-bit data back to back.

    Refer this link too: http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/319992.aspx

    Regards,

    Gautam

  • Hi Gautum,

    Can you maybe just give me a bit more in deep explanation for the 32 bit receive part? I went through the link you posted. That example was just for sending a 32 bit command unbroken, but I need to receive them as well?

    Thanks for your help!

    Regards,

    Bartho