i2c bus issue in custom lx2160 board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i2c bus issue in custom lx2160 board

ソリューションへジャンプ
1,508件の閲覧回数
vilas_shetty
Contributor III

Hello ,
I am facing an issue wrt two i2c buses I2C3 and I2C4 where i am not able to perform any i2c transaction. I have enabled both i2c in device tree. still am not able to bring the bus up. Can anyone help me out in this. am attaching my device tree and result of i2c transaction.

LX2160A-RDB 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,148件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Please also check your RCW, in the last one you shared there is a mistake 

Oswalag_0-1757542588687.png

The value of those field to use them as IIC is 0b000.

Oswalag_1-1757542639413.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
1,085件の閲覧回数
vilas_shetty
Contributor III

Hello Oswalag,
I have already changed RCW file and now i2c is up. Thank you for youur support. i will attach the updated rcw file content here.

 

 

0 件の賞賛
返信
1,460件の閲覧回数
vilas_shetty
Contributor III

Hello,
I have created my own custom rcw file. kindly do have a look . 

0 件の賞賛
返信
1,441件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Your issue could be related with your dts configuration, please double check it and only include the ones you are using. 

In your log there is a warning: ERROR: invalid device tree 

Please use the one for the LX2160ARDB as reference:

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

 

1,434件の閲覧回数
vilas_shetty
Contributor III
Hello ,
But am modifying and using device tree from /home/bs-user01/5GBBPC/flexbuild_lsdk2108_github/components/linux/linux/arch/arm64/boot/dts/freescale
0 件の賞賛
返信
1,149件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Please also check your RCW, in the last one you shared there is a mistake 

Oswalag_0-1757542588687.png

The value of those field to use them as IIC is 0b000.

Oswalag_1-1757542639413.png

 

0 件の賞賛
返信
1,473件の閲覧回数
vilas_shetty
Contributor III

Hello ,
Sorry i shared the wrong rcw file.  am attaching the correct  rcw here

0 件の賞賛
返信
1,475件の閲覧回数
vilas_shetty
Contributor III

Am also sharing rcw file

0 件の賞賛
返信
1,477件の閲覧回数
vilas_shetty
Contributor III

Hello Oswalag,
I am sharing you the boot log of uboot and kernel . kindly do have a look. we are using NXP LSDK 21.08 with flexbuilder.

0 件の賞賛
返信
1,487件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please share the RCW configuration you are using, also test the I2C first on u-boot and share the complete log file in a .txt format.

Are you using the BSP ? what version?