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:如何打开 i2c 总线3.

Guru**** 2544660 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/606408/linux-tms320dm8148-how-to-open-i2c-bus-3

器件型号:TMS320DM8148

工具/软件:Linux

你(们)好  

我想使用 i2c bus_3、

我添加 了以下代码:

      omap_register_i2c_bus (3、200、NULL、0);

但控制台响应控制器超时。

我该怎么做?

我的控制台:

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:------------ ------------ ------------ --
根目录@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:------------ ------------ ------------ --
根目录@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:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时
-- OMAP-i2c OMAP-i2c.3:控制器超时

根目录@48HD401_:~#