Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AXP2101 enableSleep() with esp_sleep_enable_timer_wakeup() #33

Open
gtom84 opened this issue Jan 8, 2025 · 1 comment
Open

AXP2101 enableSleep() with esp_sleep_enable_timer_wakeup() #33

gtom84 opened this issue Jan 8, 2025 · 1 comment

Comments

@gtom84
Copy link

gtom84 commented Jan 8, 2025

Hello,

the example shows AXP2101 sleep mode using external interrupt on PMU and ESP32.

Is it possible to use ESP32 deep sleep controlled by RTC wake up and AXP2101 sleep mode?

For example:

power.enableSleep();
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
esp_deep_sleep_start();
@lewisxhe
Copy link
Owner

lewisxhe commented Jan 9, 2025

Not affected by sleep pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants