Page 1 of 1

ESP32-S3 Console Component with Automatic Light Sleep

Posted: Thu Jul 04, 2024 2:58 pm
by iParcelBox
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?