I'm doing some tests and I've noticed that by calling esp_sleep_enable_gpio_wakeup() my power consumption rises about 1.5mA, regardless of whether gpio_wakeup_enable has been called.
Is this expected?
Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
Re: Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
Hmm, this only happens if "adc_power_on();" has been called. "adc_power_on();" by itself does not cause it, its the combination... weird.
Re: Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
chegewara wrote: ↑Thu Jan 14, 2021 5:49 pmYou may want to read about power domain.
https://docs.espressif.com/projects/esp ... modes.html
https://docs.espressif.com/projects/esp ... d-memories
I don't see where those links explain why this happens:
Code: Select all
adc_power_on only: +0mA
gpio_wakeup only: +0.4mA
adc_power_on + gpio_wakeup: +1.5mA
Re: Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
The pins are grouped into four power domains: VDDA (analog power supply), VDD3P3_RTC
(RTC power supply), VDD3P3_CPU (power supply of digital IOs and CPU cores), VDD_SDIO
(power supply of SDIO IOs). VDD_SDIO is the output of the internal SDIO-LDO. The voltage of
SDIO-LDO can be configured at 1.8 V or be the same as that of VDD3P3_RTC. The strapping
pin and eFuse bits determine the default voltage of the SDIO-LDO. Software can change the
voltage of the SDIO-LDO by configuring register bits
Re: Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
I don't see where that explains why 0 + 0.4 = 1.5.
Re: Calling esp_sleep_enable_gpio_wakeup rises power comsumption about 1.5mA
Enabling "CONFIG_ADC_FORCE_XPD_FSM" on make menuconfig fixes this problem.
I don't understand why having this disabled only rises my power consumption when ADC is on *and* wake from gpio is on though.
I don't understand why having this disabled only rises my power consumption when ADC is on *and* wake from gpio is on though.
Who is online
Users browsing this forum: Bing [Bot] and 100 guests