I2c issues tx2 nx

when i run i2cdetect -y -r 1 I dont get the expected output.
this is what i see when i run the command.

-- [  576.221141] tegra-i2c c240000.i2c: no acknowledge from address 0x39
-- [  576.227726] tegra-i2c c240000.i2c: no acknowledge from address 0x3a
-- [  576.234592] tegra-i2c c240000.i2c: no acknowledge from address 0x3b
-- [  576.241453] tegra-i2c c240000.i2c: no acknowledge from address 0x3c
-- [  576.248025] tegra-i2c c240000.i2c: no acknowledge from address 0x3d
-- [  576.254949] tegra-i2c c240000.i2c: no acknowledge from address 0x3e
-- [  576.261847] tegra-i2c c240000.i2c: no acknowledge from address 0x3f
--
40: [  576.268430] tegra-i2c c240000.i2c: no acknowledge from address 0x40
-- [  576.275851] tegra-i2c c240000.i2c: no acknowledge from address 0x41
-- [  576.282677] tegra-i2c c240000.i2c: no acknowledge from address 0x42
-- [  576.289270] tegra-i2c c240000.i2c: no acknowledge from address 0x43
-- [  576.295853] tegra-i2c c240000.i2c: no acknowledge from address 0x44
-- [  576.302679] tegra-i2c c240000.i2c: no acknowledge from address 0x45
-- [  576.309561] tegra-i2c c240000.i2c: no acknowledge from address 0x46
-- [  576.316127] tegra-i2c c240000.i2c: no acknowledge from address 0x47
-- [  576.322959] tegra-i2c c240000.i2c: no acknowledge from address 0x48
-- [  576.329808] tegra-i2c c240000.i2c: no acknowledge from address 0x49
-- [  576.336408] tegra-i2c c240000.i2c: no acknowledge from address 0x4a
-- [  576.342990] tegra-i2c c240000.i2c: no acknowledge from address 0x4b
-- [  576.349821] tegra-i2c c240000.i2c: no acknowledge from address 0x4c
-- [  576.356675] tegra-i2c c240000.i2c: no acknowledge from address 0x4d
-- [  576.363232] tegra-i2c c240000.i2c: no acknowledge from address 0x4e
-- [  576.370064] tegra-i2c c240000.i2c: no acknowledge from address 0x4f
--
50: [  576.376931] tegra-i2c c240000.i2c: no acknowledge from address 0x50
-- [  576.383912] tegra-i2c c240000.i2c: no acknowledge from address 0x51
-- [  576.390499] tegra-i2c c240000.i2c: no acknowledge from address 0x52
-- [  576.397093] tegra-i2c c240000.i2c: no acknowledge from address 0x53
-- [  576.403678] tegra-i2c c240000.i2c: no acknowledge from address 0x54
-- [  576.410543] tegra-i2c c240000.i2c: no acknowledge from address 0x55
-- [  576.417379] tegra-i2c c240000.i2c: no acknowledge from address 0x56
-- [  576.423926] tegra-i2c c240000.i2c: no acknowledge from address 0x57
-- [  576.430762] tegra-i2c c240000.i2c: no acknowledge from address 0x58
-- [  576.437668] tegra-i2c c240000.i2c: no acknowledge from address 0x59
-- [  576.444234] tegra-i2c c240000.i2c: no acknowledge from address 0x5a
-- [  576.450812] tegra-i2c c240000.i2c: no acknowledge from address 0x5b
-- [  576.457657] tegra-i2c c240000.i2c: no acknowledge from address 0x5c
-- [  576.464510] tegra-i2c c240000.i2c: no acknowledge from address 0x5d
-- [  576.471061] tegra-i2c c240000.i2c: no acknowledge from address 0x5e
-- [  576.477959] tegra-i2c c240000.i2c: no acknowledge from address 0x5f
--
60: [  576.484886] tegra-i2c c240000.i2c: no acknowledge from address 0x60
-- [  576.491828] tegra-i2c c240000.i2c: no acknowledge from address 0x61
-- [  576.498685] tegra-i2c c240000.i2c: no acknowledge from address 0x62
-- [  576.505543] tegra-i2c c240000.i2c: no acknowledge from address 0x63
-- [  576.512087] tegra-i2c c240000.i2c: no acknowledge from address 0x64
-- [  576.518942] tegra-i2c c240000.i2c: no acknowledge from address 0x65
-- [  576.525806] tegra-i2c c240000.i2c: no acknowledge from address 0x66
-- [  576.532374] tegra-i2c c240000.i2c: no acknowledge from address 0x67
-- [  576.539219] tegra-i2c c240000.i2c: no acknowledge from address 0x68
-- [  576.546031] tegra-i2c c240000.i2c: no acknowledge from address 0x69
-- [  576.552583] tegra-i2c c240000.i2c: no acknowledge from address 0x6a
-- [  576.559412] tegra-i2c c240000.i2c: no acknowledge from address 0x6b
-- [  576.566240] tegra-i2c c240000.i2c: no acknowledge from address 0x6c
-- [  576.572858] tegra-i2c c240000.i2c: no acknowledge from address 0x6d
-- [  576.579401] tegra-i2c c240000.i2c: no acknowledge from address 0x6e
-- [  576.585977] tegra-i2c c240000.i2c: no acknowledge from address 0x6f
--
70: [  576.592593] tegra-i2c c240000.i2c: no acknowledge from address 0x70
-- [  576.599666] tegra-i2c c240000.i2c: no acknowledge from address 0x71
-- [  576.606409] tegra-i2c c240000.i2c: no acknowledge from address 0x72
-- [  576.613164] tegra-i2c c240000.i2c: no acknowledge from address 0x73
-- [  576.619707] tegra-i2c c240000.i2c: no acknowledge from address 0x74
-- [  576.626592] tegra-i2c c240000.i2c: no acknowledge from address 0x75
-- [  576.633416] tegra-i2c c240000.i2c: no acknowledge from address 0x76
-- [  576.639961] tegra-i2c c240000.i2c: no acknowledge from address 0x77
--

Hi AlexW,

Are you using the devkit or custom board for TX2?

Could you help to provide the dmesg for further check?

And also provide the result of the following command.

$i2cdetect -l
[    0.000000] Linux version 4.9.299-tegra (buildbrain@mobile-u64-5494-d8000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Tue Nov 22 09:24:30 PST 2022
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] OF: fdt: - f0200000 ,  85600000
[    0.000000] OF: fdt: - 175e00000 ,  200000
[    0.000000] OF: fdt: - 176600000 ,  200000
[    0.000000] OF: fdt: - 177000000 ,  200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] Found tegra_fbmem: 00800000@96085000
[    0.000000] Found lut_mem: 00002008@96081000
[    1.352784] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.360360] imx219 9-0010: board setup failed
[    1.388334] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.395962] imx219 10-0010: board setup failed
[    1.923682] cgroup: cgroup2: unknown option "nsdelegate"
[    2.942048] using random self ethernet address
[    2.960357] using random host ethernet address
[    3.321757] random: crng init done
[    3.325165] random: 7 urandom warning(s) missed due to ratelimiting
[    3.519125] using random self ethernet address
[    3.523705] using random host ethernet address
[    5.045959] Bridge firewalling registered

Ubuntu 18.04.6 LTS alex-desktop ttyS0

alex-desktop login:

I see that during boot.

alex@alex-desktop:~$ i2cdetect -l
i2c-3   i2c             3190000.i2c                             I2C adapter
i2c-1   i2c             c240000.i2c                             I2C adapter
i2c-101 i2c             15210000.nvdisplay                      I2C adapter
i2c-8   i2c             31e0000.i2c                             I2C adapter
i2c-6   i2c             31c0000.i2c                             I2C adapter
i2c-4   i2c             Tegra BPMP I2C adapter                  I2C adapter
i2c-2   i2c             3180000.i2c                             I2C adapter
i2c-0   i2c             3160000.i2c                             I2C adapter
i2c-9   i2c             i2c-2-mux (chan_id 0)                   I2C adapter
i2c-10  i2c             i2c-2-mux (chan_id 1)                   I2C adapter
i2c-7   i2c             c250000.i2c                             I2C adapter
i2c-5   i2c             31b0000.i2c                             I2C adapter

running i2cdetect -y -r 1 still gives the same output i mentioned early.

I can’t reproduce the same issue as yours on the Jetson TX2 with R32.7.3.

$ sudo i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- UU -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: UU UU -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- 74 -- -- --

Are you using the devkit or custom board for TX2?
What’s your Jetpack version in use?

I am using jetpack 4.6, the som is a tx2nx being used with an a203v2 carrier board.
dmesg.log (54.5 KB)

root@alex-desktop:/home/alex# cat /etc/nv_tegra_release

R32 (release), REVISION: 7.3, GCID: 31982016, BOARD: t186ref, EABI: aarch64, DATE: Tue Nov 22 17:32:54 UTC 2022

It seems you are using the custom board from Seeed Studio.

Do you have any modification about i2c or the design different from the devkit?

All of your I2C bus seems not worked as normal.

[    1.351951] i2c /dev entries driver
[    1.353597] i2c i2c-2: Added multiplexed i2c bus 9
[    1.353870] i2c i2c-2: Added multiplexed i2c bus 10
[    1.353875] i2c-mux-gpio cam_i2cmux: 2 port mux on 3180000.i2c adapter
[    1.354284] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[    1.377629] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[    1.377668] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.385236] imx219 9-0010: board setup failed
[    1.389649] imx219: probe of 9-0010 failed with error -121
[    1.389956] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[    1.413155] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[    1.413215] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.420837] imx219 10-0010: board setup failed
[    1.425331] imx219: probe of 10-0010 failed with error -121

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