Page 1 of 1

Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Posted: Sun Jan 02, 2022 9:19 am
by Cantonius99
Hello,

I'm working on OTA and set the GPIO Triggers Factory Reset Flag in the Bootloader (in MenuConfig).

However, I now notice that the power consumption has increased from 58uA to 200uA. Is this expected behaviour and is there a way to decrease the amount somehow?

Thank you!

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Posted: Sun Jan 02, 2022 5:39 pm
by Cantonius99
Sorry about that!

When in deep sleep it used to be 58uA. But when GPIO Trigger Factory Reset is On, power consumption is 200uA during deep sleep.

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Posted: Sun Jan 02, 2022 7:41 pm
by Cantonius99
Not sure what happened to my previous entries. Perhaps Mods need to verify it first. But looks like I have fixed the issue:

I was working on OTA and enabled GPIO Trigger Factory Reset. However, that same GPIO is used for external wakeup as well. Deep sleep measurements went from 58mA to 185mA after enabling this so was wondering what the cause was. Turns out it was the external circuit that was causing extra current flow.

rtc_gpio_isolate on that gpio helps to prevent the current flow.

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Posted: Mon Jan 03, 2022 12:03 am
by ESP_Sprite
Your first 3 posts need to be approved my a mod first, indeed. Glad you got it resolved!