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.

TMS570的I2C在no-FDF模式下的通讯

Other Parts Discussed in Thread: HALCOGEN

你好

        我现在用的芯片型号是TMS570LS3137PGE,我用两块板子进行I2C通讯;我配置发送端为master mode,接受端为slave mode,没有设置中断,将从机的地址设置为0x87。

        当master和slave都配置为FDF(free data format)模式,slave可以收到master发送的数据,程序和HALCoGen的截图如下

        master端:

I2C的寄存器MDR的设置

slave端:

        当我将master和slave都设置为no-FDF,却不能通讯,怎样修改代码才能在no-FDF模式下进行通讯?(我还验证了master在no-FDF模式下,slave在FDF模式下也是可以正常通讯的),我已经在这卡住几天了,请TI专家帮帮忙,非常谢谢。