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.

TMS320F280049: When F280049 SPI sent data as the master machine, the data would deviate, causing the slave machine to receive incorrect data

Part Number: TMS320F280049

Hi Team,

In the pictures, the yellow line stands for the clock signal, the green line stands for the SPI data waveform sent by the slave machine to F280049, and the purple line stands for the SPI data waveform sent by the master machine F280049 to the slave machine. The data sent by the two was the same. The oscilloscope shows that the purple data deviated when being transmitted. Thus, the slave machine received wrong data and the master machine received correct data. I don't know what has caused this. Sometimes it works well, but sometimes such problems appear. F280049 sent the data under the SPI Level 16 FIFO mode.

Best regards,

Katherine

  • Katherine,

    It is not clear to why SPISIMO and SPISOMI signals look the same. It looks to me your target (slave) is looping back the data send from the controller (master, F280049)

    Regards,

    Manoj

  • My master and slave machines sent the same data. After comparison, I found that deviation happened when the master machine sent data to the slave machine. Because of the deviation, the data received by the slave machine was incorrect, and this deviation happened randomly. Sometimes everything will be normal and then sometimes it’s abnormal. The deviation generally lasts for half a clock cycle or one clock cycle. When it happened, my clock signal didn’t change and has always been normal. The signals sent by my slave machine were normal and the data received by the master machine from the slave machine was also normal, so I find it strange.

    I used FIFO level-16 to send and receive data. The first 2 or 3 data would not be deviated when I started sending, and the following data would deviate randomly. It may occur from the 7th or from the 14th data.

  • Is this issue resolved? It is not clear from your above message.