Page 1 of 1

Question about the API and implementation for I2C driver

Posted: Wed Nov 08, 2023 2:58 am
by axellin
I notice below warning during boot when test my esp32c6 in master/v5.2 branches:
W (927) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

some questions:
1. Any new features supported in the new i2c driver implementation?
What's the benefit of using new i2c driver?
e.g.
Does the new i2c driver implementation supports light-sleep peripheral power down?

2. Is there any document/example to convert existing code to use new i2c driver?