2162962_zh-CN

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

2162962_zh-CN

2162962_zh-CN

自定义 lx2160 板中的 i2c 总线问题

你好,
我在两条 i2c 总线 I2C3 和 I2C4 上遇到了一个问题,我无法执行任何 i2c 交易。我已经在设备树中启用了两个 i2c。还是没法把总线开上去。谁能帮帮我?我附上了我的设备树和 i2c 交易的结果。

LX2160A-RDB

QorIQ LS2 设备Re: i2c bus issue in custom lx2160 board

你好,Oswalag,
,我已经修改了 RCW 文件,现在 i2c 已经启动。感谢你们的支持。我将在此附上更新后的 rcw 文件内容。



Re: i2c bus issue in custom lx2160 board

还请检查一下您的 RCW,在您分享的最后一个文件中有一个错误

Oswalag_0-1757542588687.png

将这些字段用作 IIC 时,其值为 0b000。

Oswalag_1-1757542639413.png


Re: i2c bus issue in custom lx2160 board你好,
但我正在修改和使用来自 /HOME/bs-user01/5gbbpc/flexbuild_lsdk2108_github/components/linux/linux/arch/arm64/boot/DTS/Freescale 中的设备树
Re: i2c bus issue in custom lx2160 board

您的问题可能与您的 dts 配置有关,请仔细检查并只包含您正在使用的配置。

您的日志中有警告:错误:设备树无效

请使用 LX2160ARDB 的那个作为参考:

https://github.com/nxp-qoriq/u-boot/blob/lf_v2024.04/arch/arm/dts/fsl-lx2160a-rdb.dts


Re: i2c bus issue in custom lx2160 board

您好,
我创建了自己的自定义 rcw 文件。敬请查看 .

Re: i2c bus issue in custom lx2160 board

您好 ,
对不起,我分享了错误的 rcw 文件。 在此附上正确的 RCW

Re: i2c bus issue in custom lx2160 board

我也在共享 rcw 文件

Re: i2c bus issue in custom lx2160 board

你好 Oswalag,
我正在向你分享 uboot 和内核的启动日志。请看一看。我们使用的是带有 flexbuilder 的 NXP LSDK 21.08。

Re: i2c bus issue in custom lx2160 board

你好

请共享您正在使用的 RCW 配置,还要先在 u-启动 上测试 I2C,然后在 .txt 中共享完整的日志文件格式。

你在使用电路板支持包吗?什么版本?

Tags (1)
No ratings
Version history
Last update:
‎11-20-2025 01:40 PM
Updated by: