I2C communication in light sleep mode in ESP32-S3

Hello,

I am currently working with ESP32-S3-WROOM-1. I want to use I2C communication in light-sleep or in deep-sleep mode. Is there any libraries which can do it? Is it possible to use this function in arduino IDE?

Thank you for the guidance & help.

Could you clarify what you mean ?

If I remember correctly, when the ESP32 is sleeping, the CPU, most peripherals, and the I2C controller are powered down, so I2C communication is not possible in this state.

if you can wake up from a GPIO interrupt or timer event, then you can resume with the peripherals.

The idle state of both the SCL and SDA lines is high. During communication, a start condition occurs when SDA is pulled low while SCL is high so may be SDA could be used as such a wakeup pin but you would likely loose this I2C communication by the time the ESP wakes up.


EDIT: just noticed the S3 part. Yes, the ESP32-S3 does have a special feature for I2C communication during light sleep, which other ESP32 models do not have. I'm not aware of any library using that though.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.