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.

Using a McBSP in a TMS320F28335 DSP for continuous SPI communication

Other Parts Discussed in Thread: TMS320F28335

Hi,

I am having a problem using a McBSP in a TMS320F28335 DSP chip.

Indeed, I intend to communicate ( DSP as Master ) with a peripheral chip that requires continuous SPI communication. What I mean by “continuous” is that I need to be able to send as many bits as required by my peripheral without the slave select ( SS ) being disabled in the meantime.

Is there a way of using the McBSP clock stop mode as Master in order to transfer words longer than 32 bits with the SPI protocol ?

If not, is it possible to emulate an SPI communication with the McBSP without using the clock stop mode ?

I would really appreciate any advice for I currently have no choice but to use a McBSP ( or plain GPIOs ) and the SPI protocol.

Thank you !

  • Jimmy,

    I'm about 95% sure that as long as you keep the TX register loaded the STE GPIO should stay low.  I'm positive this is true on SPI, small chance it's different for McBSP.  Therefore, the slave device wouldn't know the difference between the McBSP sending 4 16 bit words or 1 64 bit words. 

    If you are seeing otherwise, this may be a configuration issue.

    Kris