i2c bus issue in custom lx2160 board

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

i2c bus issue in custom lx2160 board

Jump to solution
1,413 Views
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 

Labels (1)
0 Kudos
Reply
1 Solution
1,053 Views
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

 

View solution in original post

0 Kudos
Reply
9 Replies
990 Views
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 Kudos
Reply
1,365 Views
vilas_shetty
Contributor III

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

0 Kudos
Reply
1,346 Views
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,339 Views
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 Kudos
Reply
1,054 Views
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 Kudos
Reply
1,378 Views
vilas_shetty
Contributor III

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

0 Kudos
Reply
1,380 Views
vilas_shetty
Contributor III

Am also sharing rcw file

0 Kudos
Reply
1,382 Views
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 Kudos
Reply
1,392 Views
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?