我在调试DM6446RTC驱动时,出现问题,使用的rtc-davinci-evm.c文件来修改,使用的RTC芯片是M41T83,在读写数据时都会出错,跟踪的结果是发生了
No-acknowledgment interrupt 这个中断,请问是说明原因导致的啊
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.
你好,
请参考《TMS320DM644x DMSoC Inter-Integrated Circuit (I2C) Peripheral User's Guide (Rev. F)》的描述:
No-acknowledge interrupt (NACK): Generated when the master I2C does not receive any acknowledge from the receiver
链接:http://www.ti.com/lit/ug/sprue27f/sprue27f.pdf
你的I2C是在其他芯片上验证过的吗?
如果在其他的I2C外设上好的,建议去查查地址是否正确,以及该RTC芯片是否支持你当前的I2C速率?
最后要仔细确认一下I2C的时序是否正确,以及该RTC的时序是不是有特殊的地方