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.

Linux/TMS320DM8148: how to open i2c bus 3

Part Number: TMS320DM8148

Tool/software: Linux

Hi 

  I want to use i2c bus_3,

  and i added  follow code :

            omap_register_i2c_bus(3, 200,NULL,0);

  but console response controller timeout.

  how should i do?

my console :

root@48HD401_:~# i2cdetect -y -a -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: UU 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
root@48HD401_:~#
root@48HD401_:~# i2cdetect -y -a -r 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
root@48HD401_:~#
root@48HD401_:~# i2cdetect -y -a -r 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out
-- omap_i2c omap_i2c.3: controller timed out

root@48HD401_:~#