Two I2C channels using the ESP32

lenhalio
Posts: 6
Joined: Mon Jun 10, 2019 2:11 pm

Two I2C channels using the ESP32

Postby lenhalio » Mon Jun 10, 2019 2:18 pm

Is it possible to create two separate I2C channels using the ESP32 module?

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

Re: Two I2C channels using the ESP32

Postby WiFive » Mon Jun 10, 2019 4:27 pm

There are two I2C controllers on board of the ESP32, each of which can be set to master mode or slave mode.
https://docs.espressif.com/projects/esp ... s/i2c.html

These answers are easy to find if you read the docs!

lenhalio
Posts: 6
Joined: Mon Jun 10, 2019 2:11 pm

Re: Two I2C channels using the ESP32

Postby lenhalio » Mon Jun 10, 2019 5:44 pm

Excellent.....that is what I had hoped for but some posts indicated that there was only one I2C controller per ESP32. Thank you.

Who is online

Users browsing this forum: No registered users and 125 guests