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.
您好,
I2C 接了个TMP441温度传感器,读写时总是出现:
I2C wait following flag timeout at device 0x98:
Transmit-ready
Current I2C state is:
Transmit Underflow
Bus busy
I2C expected speed = 400KHz, effective speed = 392KHz
//////////////////////////////////////////////////////////////////////////////////////
I2C wait following flag timeout at device 0x98:
Receive-data-ready
Current I2C state is:
Transmit-ready
Transmit Underflow
Bus busy
I2C expected speed = 400KHz, effective speed = 392KHz
请问这是什么原因?(FPGA也接了该温度传感器,FPGA能读取温度)
谢谢!
总线忙可能是硬件信号问题,有测信号吗?
DSP I2C是1.8V电平,连传感器有用电平转换吗?
会不会和FPGA访问冲突?
另外,我们的例程里有访问TMP101的例子可以参考一下:
Brighton Feng,您好
问个非DSP的问题,我在tmp441 DXP和DXN引脚接了个温度传感器,通过读取tmp441的remote temperature 发现测室温时读出的竟然是50来度,对温度传感器升温,读出的温度会相应升高。我想问您对这个有相关的经验吗,为何读出来的起始温度会这么高?
非常感谢
我对温度传感器没有什么研究。
不过我觉得,如果是在一个封闭的机框里,50C的温度还算正常.
另外,能不能介绍一下你原来问题怎么解决的?希望对其它同学能有所帮助。
谢谢!
Brighton Feng,您好
还是非常感谢!
原来出现的问题实属个人问题,与思维定式有关吧。我这里tmp441 7bit 地址是1001 100 ,我们应该传递的slaver address应该是4ch,我却传成了98h