Hi,
I bought :
I tested I2C1 and I2C2 with the processor board on the development board with i2cdetect, and it sees all connected chips on both buses.
Then I made my own board. I2C1 passes the test. But at some point, while the Linux kernel is loading, the I2C2_SCL line goes low, and stays low forever. I2C2_SDA is high all the time. A reboot doesn't bring SCL back high again, only a power cycle. When I take the processor board from my home made board to the development board, I2C2 works OK.
What I did on my home made board :
So, now, I'm desperately running out of ideas...
Regards
已解决! 转到解答。
Hi dplamp
one can try to narrow down issue, if this is caused by hardware or linux running baremetal sdk test
https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/i2c
https://community.nxp.com/t5/i-MX-Processors/SMP-Enable-in-IMX6/m-p/542111
Best regards
igor