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

Interfacing (DSI, CSI, I2C, etc.) • multiple PCA9548s on same I2C port

$
0
0
Greetings,

Trying to hook up two PCA9845A on the same SCL1/SDA1 port.

I got it working with one, adding

Code:

dtoverlay=i2c-mux,pca9548,addr=0x70
to the config.txt file.

I figured just adding another line with

Code:

dtoverlay=i2c-mux,pca9548,addr=0x77
but a different address would work.

After reboot, I still only show the 8 buses for 0x70. My 2nd PCA9845 seems to be working, however, because I see it's address inside the grid of 0x77:

Code:

Helios@HeliosRPi4:~ $ i2cdetect -y 29     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- -- -- -- --10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --20: -- -- -- -- -- -- -- -- 28 -- -- -- -- -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: -- -- -- 63 64 -- 66 -- -- -- -- -- -- -- -- --70: UU -- -- -- -- -- -- 77
.

I'm on a Raspberry Pi 4B with latest Debian

Code:

Linux HeliosRPi4 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64
.

Any Help youw be appreciated

Statistics: Posted by TriLife — Wed Mar 13, 2024 12:10 am



Viewing all articles
Browse latest Browse all 4844

Trending Articles