I2C transmission error problem

Hi all,

I have interfaced LIS302DL accelerometer sensor with the beagle board
through I2C interface. using 23 and 24 pins of Expansion pins. In this
interface I have connected gpio_pin 136 that is pin number 9 on
Expansion connector to the INT1 of LIS302DL.

While running whenever I change the orientation of lis302dl it is
getting into interrupt handler but when iam trying to write and read
any data from the lis302dl it is giving failed to transmit
instructions to lis302,

If any body have already done the similar kind of implementation
please help me out to get out of this problem.

the output is coming like

LIS302Dl: Iam in interrupt handler for int1
LIS302Dl: Iam in interrupt handler for int1
<3>lis302dl 2-001d: failed to transmit instructions to lis302.
lis302dl 2-001d: failed to transmit instructions to lis302.
<3>lis302dl 2-001d: failed to transmit instructions to lis302.
lis302dl 2-001d: failed to transmit instructions to lis302.
<3>lis302dl 2-001d: failed to transmit instructions to lis302.
lis302dl 2-001d: failed to transmit instructions to lis302.
<3>lis302dl 2-001d: failed to transmit instructions to lis302.
lis302dl 2-001d: failed to transmit instructions to lis302.
<3>lis302dl 2-001d: failed to transmit instructions to lis302.
lis302dl 2-001d: failed to transmit instructions to lis302.

Regards,
Dileep

may be you first play with this IC with i2c-tools to ensure that at least HW works fine?

2010/12/8 dileep panjala <dkpanjala@gmail.com>

see this: http://elinux.org/index.php?title=BeagleBoard_Trainer_Nunchuk
for some uses of I2c tools.

djlewis

Hi all,

Thank you all for the response to this mail. Sensor Interface circuit
is working fine with the controller. Whenever I connect to beagle
board it is giving problem. I have already installed i2c-tools in my
file system. And I even tried using i2cdetect tool for detection but I
am not getting any result in that.....

Did you forget to configure the pin mux for the I2C port on the expansion header?

Maybe you level shifting doesn't work properly, BB generating 1.8V on I2C.