So far, I’ve connected my i2c device to the CAM_I2C (3.3V) (i2c-2). When I try to use i2cdetect on bus 2 to find my device:
$ sudo i2cdetect -r 2
The scanning is very long and I get this kernel messages:
[ 553.493850] tegra-i2c tegra12-i2c.2: i2c transfer timed out, addr 0x0003, data 0x00
Is there anything I have to do to be able to communicate with my device through this i2c? Do I have to enable something to start the i2c communication?
Moreover, if i try to scan the other i2c’s (i2c-0 for example) the scanning is done as fast as usual (2-3 seconds) without any kernel message. So I’m wondering if there is something special about this i2c-2 in particular.
You might have a hardware issue on your I2C connection.
Using the grinch kernel 19.3.6 and i2ctools I had no trouble programming an EEPROM over HDMI or running detect on the various busses.
From what I see, I should have 18V on pin 29 (LDO_1) but I’m measuring 0V. I’m wondering if there is something I forgot to enable. A GPIO or specific register to enable the camera I2C?
BTW, what do you mean by “programming an EEPROM over HDMI” ? How is it related to I2C?