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.

TMS320F28388D: i2c_ex4_eeprom_polling例程问题读取数据异常

Part Number: TMS320F28388D

使用i2c_ex4_eeprom_polling例程在进行单字节与双字节读写测试时,使用逻辑分析仪进行波形抓取发现读取数据总会多一个。单字节读取结果为两个字节,双字节读取结果为三个字节。是否和    I2C_setConfig(base, (I2C_CONTROLLER_RECEIVE_MODE|I2C_REPEAT_MODE));的I2C_REPEAT_MODE模式有关,应该如何解决?

双字节读写波形如下:

但是实际仿真过程中的缓存结果正确为双字节读写