Fabio Fabio

imx23 and i2c general issue

Discussion created by Fabio Fabio on Nov 16, 2011
Latest reply on Nov 23, 2011 by Fabio Fabio


maybe this question is very basic, but unfortunately I was not able to find a solution, neither in this forum, nor elsewhere.

My goal is: to let the I2C working on the EVK and on our custom board with iMX23.


I have configured ltib in such a way to support I2C as master.

After correctly booting from SD:

1) modprobe i2c-dev:

>>>>> i2c /dev entries driver

2) echo "a" > /dev/i2c-0


and all that i get is that the SCK line toggles correctly while the SDA still remain pulled up to VDDIO.


The same behaviour appear also if i run this simple program:

int fds;

char buf[2];

fds = open("/dev/i2c-0", O_RDWR);


buf[0] = 0xAA;  buf[1] = 0xBB;



Could anyone can help me to understand what I miss to do or to find an error?


Thanks in advance,