Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4890

Interfacing (DSI, CSI, I2C, etc.) • Re: Using the i2c-10 to connect to arduino

$
0
0
You're mixing information for different versions of the Pi. This is why device tree exists, and hardware access should be through kernel device drivers.

Your output of i2cdetect -l says you're on a Pi5.

Earlier versions of the Pi had one I2C hardware block that was shared between the camera/display (i2c-10) and GPIOs 0&1 on the 40pin GPIO header (i2c-0). These have the device tree aliases i2c_csi_dsi (and i2c_csi_dsi1) and i2c_vc.

Pi5 has more I2C controllers, so there is no need to share. It also uses different GPIO numbers for the 2 camera/display ports, and each has an independent controller (default i2c-4 and i2c-6). These have the device tree aliases i2c_csi_dsi1 and i2c_csi_dsi0 (I forget which way around).
Thank you, I was able to connect to the i2c from the dsi port by using enabling dtoverlay=i2c4.

Statistics: Posted by help_bio — Thu Nov 07, 2024 6:06 pm



Viewing all articles
Browse latest Browse all 4890

Trending Articles