AM335x 使用IIC通信的时候,出现以下问题:
[ 60.290204] omap_i2c omap_i2c.1: controller timed out
[ 60.310211] omap_i2c_recv error: -110
[ 61.310202] omap_i2c omap_i2c.1: controller timed out
[ 61.330216] omap_i2c_recv error: -110
[ 62.330201] omap_i2c omap_i2c.1: controller timed out
[ 62.350216] omap_i2c_recv error: -110
[ 63.350202] omap_i2c omap_i2c.1: controller timed out
[ 63.370211] omap_i2c_recv error: -110
[ 64.370210] omap_i2c omap_i2c.1: controller timed out
[ 65.410191] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 65.416318] omap_i2c_recv error: -110
[ 66.430189] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 66.436316] omap_i2c_recv error: -110
[ 67.460190] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 67.466320] omap_i2c_recv error: -110
[ 68.490192] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 68.496313] omap_i2c_recv error: -110
[ 69.510203] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 69.516326] omap_i2c_recv error: -110
[ 70.540189] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 70.546311] omap_i2c_recv error: -110
[ 71.560188] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 71.566308] omap_i2c_recv error: -110
[ 72.580189] omap_i2c omap_i2c.1: timeout waiting for bus ready
[ 72.586318] omap_i2c_recv error: -110
Steven Liu1:
请问你是在EVM板上做的测试吗?
怎么样进行的操作?对driver有修改吗?
xixiguo:
回复 Steven Liu1:
不是evm板子,是自己的做的主板,但是跟evm类似
没有对driver进行修改,是跟IIC从设备进行通信,接收从设备发送的数据。从设备产生IIC的中断请求后,就出现了上面的两个错误。