ESP32-S3 Console Component with Automatic Light Sleep

iParcelBox
Posts: 23
Joined: Sun Oct 27, 2019 3:12 pm

ESP32-S3 Console Component with Automatic Light Sleep

Postby iParcelBox » Thu Jul 04, 2024 2:58 pm

I'm trying to test the console component on a device with automatic light sleep enabled, without success. (IDF 5.2.2).

If I disable light sleep, everything works fine, however as soon as I include the following in my code, the line noise prompt never appears:

// Enable automatic light sleep
esp_pm_config_t pm_config = {
.max_freq_mhz = 160,
.min_freq_mhz = 10, // Minimum frequency for light sleep
.light_sleep_enable = true};
ESP_ERROR_CHECK(esp_pm_configure(&pm_config));


What can I do to make console commands work when my device is in auto-sleep mode?

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], ShinyGlossy and 247 guests