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
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!
-----------------------------------------------------------------------------------------------------------------------