I2cdetect -y

Which system do you use? Android, Ubuntu, OOWOW or others?

Khadas vim3 Ubuntu

Which version of system do you use? Please provide the version of the system here:

20.04

Please describe your issue below:

When reading adc on i2c line, sometimes the device does not respond. When trying to debug by using i2c detect multiple times, the table returned is different sometimes. I have attached the output, if you ctrl f error it shows where the table response is different from expected. I expect there to be 3 devices returned on address 0x20, 0x21 and 0x68. However, as you can see, sometimes 0x68 is missing and sometimes there are devices responding on 0x0e and 0x0f even though I have no devices there.

Thank you.

i2cdetect_output.txt (59.0 KB)

Hello @ericz9002

Could you check with latest image? https://dl.khadas.com/products/vim3/firmware/ubuntu/emmc/ubuntu-24.04/vim3-ubuntu-24.04-gnome-linux-5.15-fenix-1.7.5-250925-emmc.img.xz

Hi @numbqq

I tried with the latest image but still the adc on 0x68 doesn’t respond sometimes as you can see.

It seems the port expanders on 0x20 and 0x21 always respond though.

Thank you.

Hello @ericz9002

Could you check on other I2C bus? Or you can try to reduce the I2C frequency.