mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(esp_pm): add DCDC always on config
This commit is contained in:
parent
e863e6069c
commit
35180988b5
@ -281,6 +281,8 @@ menu "Hardware Settings"
|
||||
|
||||
endmenu
|
||||
|
||||
orsource "./port/$IDF_TARGET/Kconfig.dcdc"
|
||||
|
||||
orsource "./port/$IDF_TARGET/Kconfig.ldo"
|
||||
|
||||
# Invisible bringup bypass options for esp_hw_support component
|
||||
|
29
components/esp_hw_support/port/esp32p4/Kconfig.dcdc
Normal file
29
components/esp_hw_support/port/esp32p4/Kconfig.dcdc
Normal file
@ -0,0 +1,29 @@
|
||||
menu "DCDC Regulator Configurations"
|
||||
depends on SOC_GP_LDO_SUPPORTED
|
||||
|
||||
config ESP_SLEEP_KEEP_DCDC_ALWAYS_ON
|
||||
bool "Keep DC-DC power always on during light-sleep"
|
||||
default y
|
||||
help
|
||||
ESP32P4 will switch the power supply to LDO before sleeping, and switch to DCDC after waking up.
|
||||
These two processes take a long time and may bring some risks for some short duration
|
||||
light sleep. (DCDC -> LDO: 2.5ms (max), LDO -> DCDC: 1.2 ms)
|
||||
Enabling this option will make chip powered by DCDC during light sleep to reduce some power switch
|
||||
risks, this will also increase the power consumption during the light sleep.
|
||||
|
||||
DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.
|
||||
|
||||
config ESP_SLEEP_DCM_VSET_VAL_IN_SLEEP
|
||||
int "DCDC voltage parameter during sleep"
|
||||
default 14
|
||||
range 0 31
|
||||
depends on ESP_SLEEP_KEEP_DCDC_ALWAYS_ON
|
||||
help
|
||||
This value determines the voltage of the DCDC chip during sleep. The same parameter value may
|
||||
correspond to different voltage values on different models of DCDC chips. Please update this
|
||||
value according to the model of external DCDC selected in your hardware solution.
|
||||
|
||||
For the DCDC chip model recommended by ESP, the recommended configuration
|
||||
valuesare listed below:
|
||||
- TI-TLV62569/TLV62569P: 14
|
||||
endmenu
|
Loading…
Reference in New Issue
Block a user