imx 6 i2c scl not respond

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx 6 i2c scl not respond

1,524 Views
xmphoenix
Contributor I

board type:sabresd

want  :

       i want to move a new tp chip into linux kernel 3.0.5  by i2c2 control .when i can not read any information form my i2c device (tp), so i test imx6 i2c2 control scl(gpio), but i can not find any wave in the i2c control scl gpio by oscilloscope。at last i change the i2c-imx.c file function :static int __init i2c_imx_probe(struct platform_device *pdev) 

           and enable very i2c control clock ,but i realy can not find any wave in  i2c control scl gpio by  the oscilloscope.

          thank you very for answer !

0 Kudos
Reply
3 Replies

1,041 Views
jamesbone
NXP TechSupport
NXP TechSupport

If you try a different I2C port you can see perfect the signals in the oscilloscope,  have you try to modify the  iomux-v3.c,

<ltib_dir>/rpm/BUILD/linux/arch/arm/mach-mx6

1,041 Views
xmphoenix
Contributor I

thank you very much for help ! the main question is that my i2c2 dev num is 2 in Schematics ,but in the kernel the i2c control num is 1.i change my i2c num ,so i can see the wave and connection my tp chip

0 Kudos
Reply

1,041 Views
fabio_estevam
NXP Employee
NXP Employee

Yes, kernel starts counting devices from 0.

The hardware port names on mx6 usually starts with 1.

0 Kudos
Reply