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.

[参考译文] TMS320F2.8335万:使用I2C发送超过14字节的数据

Guru**** 2587365 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/658837/tms320f28335-send-more-than-14-bytes-of-data-using-i2c

部件号:TMS320F2.8335万

您好,

刚刚开始对基于I2C的EEPROM进行编程,因此引用了I2C EEPROM示例程序。如何发送超过14个字节,例如如何继续写入50个字节。一旦字节数增加,则通过计数变为0。需要设置哪些寄存器 行动  

在标头中,定义了FIFO最大缓冲区大小=16,其中2个字节为地址保留,因此如何继续发送新数据,以便只能发送14个字节的数据

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Swathy,

    如果要使用FIFO发送50个字节,则必须将50个字节分为3 14个字节和1个8字节。

    此致,
    Manoj