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.

TMS320C6746: TMS320C6746

Part Number: TMS320C6746

Hi, I'm using the TMS320C6746 that meets 99% of my current needs.  The only issue I have is with the SPI.   The SPI allows a serial bit stream of programmed length 2 to 16 bits.  Is there an option with a programmed length of 24 bits?

Thanks,

Brian

  • Hi Brian,

    As it is described in the TMS320C6746 DSP Technical Reference Manual section 26.1.1 Purpose of the Peripheral The SPI allows a serial bit stream of programmed length 2 to 16 bits only.

    BR
    Tsvetolin Shulev
  • If you implement a SPI in software using GPIOs, you can use serial bit streams of lengths greater than 16 bits. The other way to implement this is to write wrapper code for SPI interface where you pass the 24 bit data to the wrapper that will then send the data out in 8 bit stream, pulls the CS low during first 8 bit transmission and holds it low and  until three 8 bit data are transmitted and you can then pull up the CS after the 24 bits have been transmitted so to an external device it will look like a 24 bit stream every time the CS goes low.

    Regards,
    Rahul