jirish
Posts: 1
Joined: Fri Sep 01, 2017 3:53 pm

problem with the I2C multiplexer PCA9544D and Pi4J

Fri Sep 01, 2017 3:58 pm

Hello,

I have connected an I2C multiplexer (PCA9544D) to address 0x70 of the I2C bus. With the wiringpi tools can with

ic2set -y 1 0x70 0x04 0x04 for mux channel 0,
ic2set -y 1 0x70 0x04 0x04 for mux channel 1,
ic2set -y 1 0x70 0x04 0x04 for mux channel 2,
ic2set -y 1 0x70 0x04 0x04 for mux channel 3

are switched back and forth between the multiplex channels.

How can I now e.g. a device that is connected to multiplexer channel 0, address 0x22 in Pi4J as a device:

I2CBus i2cBus = I2CFactory.getInstance (I2CBus.BUS_1);
final I2CDevice device;
device = i2cBus.getDevice (?????);

best regards
jirish

clicky
Posts: 211
Joined: Thu Oct 25, 2012 7:34 am

Re: problem with the I2C multiplexer PCA9544D and Pi4J

Thu Sep 07, 2017 3:41 pm

It seems that it is not implemented.

Return to “Java”

Who is online

Users browsing this forum: No registered users and 2 guests