I2C issue on imx6q

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C issue on imx6q

959件の閲覧回数
alexisfronteau
Contributor III

Hi,

I'm using an imx6 conected to a fpga by I2C and i notice a problem. If I read several bytes from fpga, it does not work but if I add a delay in imx-i2c driver between the interrupt of receive data and the read of  I2C_I2DR, I read correct data. Do the interrupt occurs after or before I2C_I2DR register is loaded with received data ?

Thanks

ラベル(2)
0 件の賞賛
返信
1 返信

844件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Alexis

to check if that is caused by some issues with operating system delays, one can test

it with baremetal tests :

Github SDK
https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信