I2C Bus 1 Not Working

Jetpack Version: 5.1
When I run i2cdetect -y -r 1, it is really slow and there is a i2c transfer time out. I did not connect any device to this bus. This bus worked normally before.
Here is the kernel message:

[ 2865.062967] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.166944] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.270968] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.375972] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.478968] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.582981] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.686994] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.790988] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.895012] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2865.999002] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.103027] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.207002] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.311036] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.415026] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.519025] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.623032] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.727074] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.831071] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2866.935070] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2867.039081] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2867.143100] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2867.247096] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2867.351105] tegra-i2c c240000.i2c: I2C transfer timed out
[ 2867.455108] tegra-i2c c240000.i2c: I2C transfer timed out

Hi jxc5658,

Are you using the devkit or custom board?
Could you verify with the latest JP5.1.2(R35.4.1)?

Do you have any modification in device tree or anything may cause it not work?

Please also share the dmesg for further check.

I am using the devkit. I didn’t modify any device tree only applied the RT patch. This i2c-1 bus just worked normally last morning. Do you think that it may be a hardware issue?

It may be but I’m not sure for that because I don’t get exact reason how you get the I2C error but it recovered by itself.
I would suggest you using the latest release(JP5.1.2 - R35.4.1) and monitor if you would hit the issue again.

Hi, I tried with the latest release(JP5.1.2 - R35.4.1) and a new carrier board. Neither of them worked. Still the same transfer timeout error. Both the i2c bus 1 and i2c bus 8 give me this error.

Do you mean that you hit the issue on another devkit board?
Or you are using the custom carrier board?

If you are using the devkit, please use SDKM to flash clean JP5.1.2(R35.4.1) and check if there’s any I2C error.

I always have that issue. I used the same developer kit with R35.4.1 flashed from sd card.

After that, I also changed a new seeed A206 carrier board to verify whether the issue came from the carrier board. Still the same issue.

I could not reproduce you issue on the Xavier NX devkit with R35.4.1.

Please share the full dmesg and the device tree in use for further check.

device_tree.txt (384.7 KB)
dmesg.txt (76.7 KB)
I just restored to Jetpack 5.1 and switch to original Xavier NX developer kit. The attached file is the detailed device tree and dmesg information. Thanks!

Let’s focus on the devkit board first.

[   21.288480] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[   21.299233] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[   21.304556] imx219 9-0010: board setup failed
..
[ 3121.827015] tegra-i2c c240000.i2c: I2C transfer timed out

Are you connecting IMX219 module on the devkit?

If not, please disable or remove the cam_i2cmux { in your device tree.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.