AnsweredAssumed Answered

I2C clock not working in imx6ul

Question asked by chandra sekhar on Feb 9, 2017
Latest reply on Feb 13, 2017 by chandra sekhar

Hi All,

 

we are using imx6ul based custom board with Linux version 3.14.38-6UL. We interfaced ST7036 LCD driver to i2c3. 

When we tried i2cdetect by giving ./i2cdetect -y 2 below is the output

root@imx6ulevk:/# ./i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

 

When we probed the SDA and SCL lines there is no clock pulse on SCL line. The SCL line is always High. 

How to resolve this

EDIT1:

Checked with imx6ul development board

root@imx6ulevk:/# ./i2cget 1 0x1e 0x1e c
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will read from device file /dev/i2c-1, chip address 0x1e, data address
0x1e, using write byte/read byte.
Continue? [Y/n] y
Warning - write failed
Error: Read failed

With Development board also it is not successful

Outcomes