I2C1 access timeout on Orin NX

Hi,

We used Orin NX 16G SOM, and pinmux config as “Jetson_Orin_NX_Series_+HDMI A03”, which is from Jetson_Orin_NX_series_and_Orin_Nano_series_Pinmux_Config_Template.


However, It got no device and report " I2C transfer timed out"

orin@orin_nx:~$ i2cdetect -y 7
Warning: Can’t use SMBus Quick Write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
30: – – – – – – – –
40:
50: – – – – – – – – – – – – – – – –
60:
70:
orin@orin_nx:~$ sudo dmesg | tail -n 20
[sudo] password for lenovo:
[ 3545.595038] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3545.699007] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3545.803003] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3545.907013] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.011015] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.115023] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.219006] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.323055] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.427003] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.530993] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.635003] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.739001] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.842984] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3546.946980] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3547.050979] tegra-i2c c250000.i2c: I2C transfer timed out
[ 3547.155231] tegra-i2c c250000.i2c: I2C transfer timed out

hello weileng,

what exactly device is on i2c@c250000? had you update device tree to assign regulator settings?

Hi Jerry

such as MCU controller. Normally, command ‘i2cdetect’ should find such device.
If replace Orin NX with Xavier NX som, command ‘i2cdetect’ can find such MCU deivce.

Also I found Xaviver NX I2C1 is configured as:

hdr40_i2c1: i2c@31e0000 {
    pinctrl-names = "default";
    pinctrl-0 = <&dpaux_default>;
};

While for Orin NX I2C1 is configured as:

hdr40_i2c1: i2c@c250000 { };

I’m not clear how to update device tree as your mentioned. could you please give out more comments how to “assign regulator settings”? Thanks.

hello weileng,

please refer to [Jetson Orin NX Series and Orin Nano Series Design Guide] for [Figure 12-1. I2C Connections].
so, it should be used for 3.3V I2C devices, and internal signal is using gen8_i2c.

Hi Jerry

Thanks for your share Guide. I found such note:


It need to enable RCV_33_18_SEL option, is it as ‘3.3V Tolerance Enable’ setting, right?

yes, please give it a try.

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