TMS320F280049C的I2C无限进入FIFOTX发送中断

[复制链接]
785|0
手机看帖
扫描二维码
随时随地手机跟帖
Zamboo|  楼主 | 2022-8-3 11:55 | 显示全部楼层 |阅读模式
在配置TMS320F280049C的I2C的FIFOTX中断后,将FIFO深度设置为16,使用中断传输数据,打开逻辑分析仪发现传输的数据有问题,200个数据只发送了16个数据,使用一个CNT变量记录进入FIFOTX中断的次数,发现进入次数达到了5位数,看了一下用户手册,下面是对FIFOTX LEVEL 位的描述:Transmit FIFO interrupt level.
These bits set the status level that will set the transmit interrupt flag.
When the TXFFST4-0 bits reach a value equal to or less than these
bits, the TXFFINT flag will be set. This will generate an interrupt if the
TXFFIENA bit is set. Because the I2C on this device has a 16-level
transmit FIFO, these bits cannot be configured for an interrupt of
more than 16 FIFO levels.
Reset type: SYSRSn


多次尝试都没有解决发送数据错误的问题,期待大佬们的回答!!

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝