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.

如何将am335x 变成i2c的从设备(i2c slave mode)

查看了i2c_omap.c 驱动,好像只支持master mode,平台上也很好介绍到slave mode,

从这里e2e.ti.com/.../34910我以为找到了可以解决的办法,

Hi Youssef,

spontaneously I haven't found the 2.6.29-rc3-omap1 kernel source code - so a driver patch might break because of little differences between your actual kernel and my version. I have adapted my current driver version to the interfaces provided by the 2.6.29-omap1 driver (which are probably / hopefully compatible to your rc3-version). You can download the driver file, a little application example and a readme from www-user.tu-chemnitz.de/.../i2c_omap_slave.tar.gz . Just try whether it compiles without errors... If you notice a bug please post again

但是时间关系,文件已经找不到了。所以我想这个社区里面能够提供帮助的。在此非常感谢了。