Page 1 of 1

I2C Slave address masking

Posted: Tue Mar 19, 2019 11:44 am
by HasseM
Hi,

I want my esp32 to respond to multiple slave addresses in I2c. Most processors have a way to mask the slave address to respond to. In the esp32 API this is missing so it seems. This does, however, not mean that the core does not have this functionality.

Can you please tell me how I can get the ESP32 to respond to multiple slave addresses?

Kind regards,
HasseM

Re: I2C Slave address masking

Posted: Tue Mar 19, 2019 2:17 pm
by WiFive
It doesn't look possible, but maybe you could use both i2c peripherals on the same pins to get 2 addresses.

Re: I2C Slave address masking

Posted: Mon Oct 24, 2022 2:18 pm
by erikha
Hello,

I want to use the two i2c peripherals on the same set of pins, but that doesn't seems to work. Is there any other way to 'listen' to two slave addresses on one set of pins?

Thank you in advance.

Re: I2C Slave address masking

Posted: Mon Oct 24, 2022 2:44 pm
by pctj101
Might be difficult due to the way the hardware has an address filter that only watches for a single address.