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.

TMS320F28335: SPI channel issue

Part Number: TMS320F28335


Hi ,

I met an issue that a docking system(master) sent 1000 messages to our system(slave) within 1s by SPI channel  , afterward the SPI channel couldn't communicate any more. we need to restart our system to rebuild the channel . 

The SPI buffer is 16 bits.

When an interrupt take a 16bits message happened , our system would handle the message and then clear overflow by set the RXFFOVFCLR = 1 and RXFFINTCLR = 1  , so could you help to check if the instant batch messages would damage the channel ?

  • Hi,

    When an interrupt take a 16bits message happened , our system would handle the message and then clear overflow by set the RXFFOVFCLR = 1 and RXFFINTCLR = 1

    I believe this will be enough to clear the overrun error from the SPI.

    afterward the SPI channel couldn't communicate any more

    Can you give more information on what this means? What exactly stops working? Do you have any additional debug information?