A2. [PM] El light sleep no tiene efecto: falta CONFIG_FREERTOS_USE_TICKLESS_IDLE #3
Labels
No labels
bug
energia
firmware
hardware
ux
v1-bloqueante
v2
validacion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dacowars/GPS_tracker_esp#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Corrección respecto a lo que teníamos anotado:
CONFIG_PM_ENABLE=ysí está activado(
sdkconfig:1077). El problema es distinto.main.c:1066-1072solicita light sleep automático:Pero
sdkconfig:1364tiene# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set. El lightsleep automático de ESP-IDF depende del tickless idle de FreeRTOS: sin él, el campo
light_sleep_enablese ignora y el chip nunca entra en light sleep. Solo queda activo elescalado de frecuencia (DFS).
Segundo punto a verificar en la misma revisión:
max_freq_mhz = 240frente aCONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160(sdkconfig:2172). Conviene alinear ambos valoreso confirmar cuál gobierna en la práctica.
Criterio de cierre
CONFIG_FREERTOS_USE_TICKLESS_IDLEactivadoCONFIG_PM_PROFILINGactivado temporalmente para confirmar entradas reales en sleepmax_freq_mhzyCONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ