|
|
@@ -105,13 +105,23 @@ menu "Power Management"
|
|
|
cache configuration, if this option is enabled, it will consume up to 9 KB of internal RAM.
|
|
|
|
|
|
config PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
|
|
|
- bool "Power down Digital Peripheral in light sleep"
|
|
|
+ bool "Power down Digital Peripheral in light sleep (EXPERIMENTAL)"
|
|
|
depends on SOC_PAU_SUPPORTED
|
|
|
default n #TODO: enable by default if periph init/deinit management supported (WIFI-5252)
|
|
|
help
|
|
|
- If enabled, the minimum digital peripheral register context to keep the system running is saved
|
|
|
- and will reduce sleep current consumption by about 100 uA. enabling this option will consume
|
|
|
- at least 4.55 KB of internal RAM.
|
|
|
+ If enabled, digital peripherals will be powered down in light sleep, it will reduce sleep
|
|
|
+ current consumption by about 100 uA. Chip will save/restore register context at sleep/wake
|
|
|
+ time to keep the system running. Enabling this option will increase static RAM and heap usage,
|
|
|
+ the actual cost depends on the peripherals you have initialized. In order to save/restore the
|
|
|
+ context of the necessary hardware for FreeRTOS to run, it will need at least 4.55 KB free heap
|
|
|
+ at sleep time. Otherwise sleep will not power down the peripherals.
|
|
|
+
|
|
|
+ Note: Please use this option with caution, the current IDF does not support the retention of
|
|
|
+ all peripherals. When the digital peripherals are powered off and a sleep and wake-up is completed,
|
|
|
+ the peripherals that have not saved the running context are equivalent to performing a reset.
|
|
|
+ !!! Please confirm the peripherals used in your application and their sleep retention support status
|
|
|
+ before enabling this option, peripherals sleep retention driver support status is tracked in
|
|
|
+ power_management.rst
|
|
|
|
|
|
config PM_UPDATE_CCOMPARE_HLI_WORKAROUND
|
|
|
bool
|