Smart Home Automation Forum
Multiple I2C PORTs. - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module (https://www.kincony.com/forum/forumdisplay.php?fid=53)
+--- Thread: Multiple I2C PORTs. (/showthread.php?tid=3479)



Multiple I2C PORTs. - djconcept - 11-07-2023

Hello, I would like to understand the logic, on the board, I find 3 I2C ports:

I2C-0
I2C-1
I2C-10

When i make this: 
Code:
ls /dev/*i2c*

I receive this
Code:
/dev/i2c-1  /dev/i2c-20  /dev/i2c-21

what exactly is the link?

Thank you in advance for your support.


RE: Multiple I2C PORTs. - admin - 11-22-2023

that's 3 i2c bus interface by raspberry pi CM4.
i2c-0,1,2 just for our mark on PCB.


RE: Multiple I2C PORTs. - admin - 11-25-2023

if you want to use i2c device extend GPIOs or sensor. please use I2C-1 port. just green terminal on the PCB.
--------------------------------------------------------------------
i2c-0: IDSDA,IDSCL default have connected with CSI0 and DSI0 camera and displayer.
IDSCL: (BCM2711 GPIO 1) GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V
ID_SDA: (BCM2711 GPIO 0) GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V
--------------------------------------------------------------------
i2c-10:
SDA0: I2C Data pin (BCM2711 GPIO44): typically used for Camera and Display. Internal 1.8kΩ pull up to CM4_3.3V
SCL0: I2C clock pin (BCM2711 GPIO45): typically used for Camera and Display. Internal 1.8kΩ pull up to CM4_3.3V