I2C Slave address masking

HasseM
Posts: 3
Joined: Wed Apr 19, 2017 3:46 pm

I2C Slave address masking

Postby HasseM » Tue Mar 19, 2019 11:44 am

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

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: I2C Slave address masking

Postby WiFive » Tue Mar 19, 2019 2:17 pm

It doesn't look possible, but maybe you could use both i2c peripherals on the same pins to get 2 addresses.

erikha
Posts: 7
Joined: Wed Feb 23, 2022 8:59 am

Re: I2C Slave address masking

Postby erikha » Mon Oct 24, 2022 2:18 pm

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.

pctj101
Posts: 23
Joined: Wed Aug 23, 2017 3:20 pm

Re: I2C Slave address masking

Postby pctj101 » Mon Oct 24, 2022 2:44 pm

Might be difficult due to the way the hardware has an address filter that only watches for a single address.

Who is online

Users browsing this forum: No registered users and 82 guests