Hi,
We added some I2C devices to the buses i2c-3, i2c-5 and i2c-6 on our custom board, but it is not possible to access them. We checked the development kit (with unmodified load written via SDK Manager) and saw the same behavior.
Every address query on those buses returns an error similar to that one:
agx@agx:~$ sudo i2cdetect -y 6
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: [ 2833.139823] tegra-i2c 31c0000.i2c: pio timed out addr: 0x30 tlen:12 rlen:4
[ 2833.140026] tegra-i2c 31c0000.i2c: --- register dump for debugging ----
[ 2833.140193] tegra-i2c 31c0000.i2c: I2C_CNFG - 0x22c00
[ 2833.140304] tegra-i2c 31c0000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 2833.140438] tegra-i2c 31c0000.i2c: I2C_FIFO_CONTROL - 0x0
[ 2833.140544] tegra-i2c 31c0000.i2c: I2C_FIFO_STATUS - 0x800080
[ 2833.140688] tegra-i2c 31c0000.i2c: I2C_MST_FIFO_CONTROL - 0x70000
[ 2833.140823] tegra-i2c 31c0000.i2c: I2C_MST_FIFO_STATUS - 0x800000
[ 2833.140942] tegra-i2c 31c0000.i2c: I2C_MST_PACKET_TRANSFER_CNT - 0x0
[ 2833.141068] tegra-i2c 31c0000.i2c: I2C_INT_MASK - 0x7d
[ 2833.141171] tegra-i2c 31c0000.i2c: I2C_INT_STATUS - 0x2
[ 2833.141311] tegra-i2c 31c0000.i2c: i2c transfer timed out addr: 0x30
-- [ 2843.379549] tegra-i2c 31c0000.i2c: pio timed out addr: 0x31 tlen:12 rlen:4
[ 2843.379755] tegra-i2c 31c0000.i2c: --- register dump for debugging ----
[ 2843.379932] tegra-i2c 31c0000.i2c: I2C_CNFG - 0x22c00
[ 2843.380033] tegra-i2c 31c0000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 2843.380166] tegra-i2c 31c0000.i2c: I2C_FIFO_CONTROL - 0x0
[ 2843.380273] tegra-i2c 31c0000.i2c: I2C_FIFO_STATUS - 0x800080
[ 2843.380408] tegra-i2c 31c0000.i2c: I2C_MST_FIFO_CONTROL - 0x70000
[ 2843.380545] tegra-i2c 31c0000.i2c: I2C_MST_FIFO_STATUS - 0x800000
[ 2843.380671] tegra-i2c 31c0000.i2c: I2C_MST_PACKET_TRANSFER_CNT - 0x0
[ 2843.380794] tegra-i2c 31c0000.i2c: I2C_INT_MASK - 0x7d
[ 2843.380900] tegra-i2c 31c0000.i2c: I2C_INT_STATUS - 0x2
[ 2843.381039] tegra-i2c 31c0000.i2c: i2c transfer timed out addr: 0x31
-- ^C^C
Use of “-r” and “-a” keys with i2cdetect didn’t change anything.
Could you please comment on this?
Best,
Mustafa

