Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Cantonius99
Posts: 7
Joined: Fri Jun 05, 2020 1:40 am

Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Postby Cantonius99 » Sun Jan 02, 2022 9:19 am

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!
Last edited by Cantonius99 on Sun Jan 02, 2022 5:34 pm, edited 1 time in total.

Cantonius99
Posts: 7
Joined: Fri Jun 05, 2020 1:40 am

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Postby Cantonius99 » Sun Jan 02, 2022 5:39 pm

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.

Cantonius99
Posts: 7
Joined: Fri Jun 05, 2020 1:40 am

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Postby Cantonius99 » Sun Jan 02, 2022 7:41 pm

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.

ESP_Sprite
Posts: 9577
Joined: Thu Nov 26, 2015 4:08 am

Re: Bootloader OTA GPIO Trigger Factory Reset Increase Power Consumption

Postby ESP_Sprite » Mon Jan 03, 2022 12:03 am

Your first 3 posts need to be approved my a mod first, indeed. Glad you got it resolved!

Who is online

Users browsing this forum: No registered users and 405 guests