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 lockup with DM814x

I'm using the latest PSP (4.01.00.06) on a DM814x EVM board (PG2.1).  I'm trying to talk to a simple i2c slave using /dev/i2c-1 from userspace.

After a few dozen simple reads, I see the following error:
omap_i2c omap_i2c.1: controller timed out

Then any further reads always fail with this error:
omap_i2c omap_i2c.1: timeout waiting for bus ready

The only way to clear this is a hard powercycle.  A soft reboot is not sufficient.

This code runs just fine on a DM816x EVM, so somehow the problem appears specific to the DM814x.

Anyone seen this kind of problem?  Any ideas?

 

  • This is actually fairly ridiculous - simply sending the i2c value 89 then 90 causes the driver/hardware to lock up... no stop bit is sent and the bus is dead.

    This is causing me huge problems.  Surely someone must have seen this fault with the DM814x before?