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.

[参考译文] DRA821U:我们如何初始化 MCAN0器件

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1505445/dra821u-how-can-we-initialise-mcan0-device

器件型号:DRA821U

工具/软件:

TI 团队大家好、

我们正在尝试初始化 MCAN0总线。

我们无法 在主 i2c 总线0上检测 TCA6424ARGJR、并且我们怀疑 MCAN0_EN 需要启用才能执行相同的操作 。

如所示、我们可以看到 I2C 总线0仅检测0x51、0x52和0x54、但预期检测0x22 (TCA6424ARGJR  )。 我们甚至怀疑检测到的总线是 Main i2c0。

root@j7200-evm:/sys/firmware/devicetree/base i2cdetect -l
I2C-0 I2C OMAP I2C 适配器 I2C 适配器
I2C-1 I2C OMAP I2C 适配器 I2C 适配器
I2C-2 I2C OMAP I2C 适配器 I2C 适配器
root@j7200-evm:/sys/firmware/devicetree/base

i2cdetect -y 0
警告:无法使用 SMBus 快速写入命令、将跳过一些地址
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
第30章:你是我的女人 -----
40:
50:50 51 ---- 54 ---- ----- --
60:
70

您能帮助我们启用 MCAN0器件吗?

如果您需要任何其他信息、请告知我们  

此致