Other Parts Discussed in Thread: C2000WARE
2809的FIFO中断怎么使用?在PIE模块中断向量表中,INT8.1和INT8.2分别是I2CINT1A和I2CINT2A,请问这两个可以分别注册FIFO接收和发送中断函数么?
另外,有没有能用的FIFO中断示例程序?官方的I2C_EEPROM的中断程序并没有用到FIFO(也跑不起来o(╥﹏╥)o)
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.
2809的FIFO中断怎么使用?在PIE模块中断向量表中,INT8.1和INT8.2分别是I2CINT1A和I2CINT2A,请问这两个可以分别注册FIFO接收和发送中断函数么?
另外,有没有能用的FIFO中断示例程序?官方的I2C_EEPROM的中断程序并没有用到FIFO(也跑不起来o(╥﹏╥)o)
你好,关于I2C FIFO机制问题,可以参考一下这位工程师的分享:https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/202017/c2000-i2c?tisearch=e2e-sitesearch&keymatch=F2812%252520I2C%252520FIFO#
以及例程的话可以参考C2000WARE中F2806x芯片的例程,这些设备之间的 I2C 模块几乎相同,只是 FIFO 大小不同:
C:\ti\c2000\C2000Ware_3_04_00_00\device_support\f2806x\examples\c28\i2c_Lib_eeprom_polling
C:\ti\c2000\C2000Ware_3_04_00_00\device_support\f2806x\examples\c28\i2c_Lib_eeprom_interrupt