Deep sleep GPIO wake up method that consumes the least power

obones
Posts: 3
Joined: Mon May 17, 2021 12:53 pm

Deep sleep GPIO wake up method that consumes the least power

Postby obones » Tue Mar 12, 2024 1:18 pm

Hello,

I'm using an external trigger to wake up my ESP32-S3 from deep sleep started with esp_deep_sleep_start
To configure the GPIO to use, I wrote that code:

Code: Select all

esp_sleep_enable_ext0_wakeup(GPIO_NUM_9, 0);
And this works just fine.
But reading the documentation about esp_sleep_enable_ext0_wakeup I saw the esp_sleep_enable_ext1_wakeup method that has this description:
Unlike ext0, this wakeup source supports wakeup even when the RTC peripheral is powered down

Does this mean the ESP32 would consume even less power if I was to use esp_sleep_enable_ext1_wakeup?

Also, I read about increased power consumption if esp_sleep_enable_timer_wakeup() is not called, as reported here

Is this applicable to my use case?

I'm using the arduino framework with PlatformIO and no variables have the RTC_DATA_ATTR attribute applied to them.

Thanks for any suggestion here.

Who is online

Users browsing this forum: aygh4266 and 137 guests