Description
Board
ESP32
Device Description
plain ESP32 WROOM 32UE module with HT7833 LDO
Hardware Configuration
nothing else is attached
Version
v2.0.9
IDE Name
Arduino
Operating System
Ubuntu 22
Flash frequency
40MHz
PSRAM enabled
no
Upload speed
115200
Description
I've got a complex application running web server, web SSL client, MQTT client, OneWire scanning and more. All Arduino cores from 1.0.0 to 2.0.9 work correctly and can run my app stable for hours, days and months.
However, every Arduino core from 2.0.11 up to 2.0.17 causes Brownout detection randomly within seconds after powering the device up (please note that Arduino core 2.0.10 cannot compile so it's not listed). Sometimes it ends up in kind of a boot loop where it brownouts several times in a row, sometimes it runs semi-stable for two-three minutes and then brownouts.
It seems related to underlying SDK change (4.4.4 for 2.0.9, 4.4.5+ for 2.0.10+).
It looks like a change in SDK caused higher current spikes in Arduino core 2.0.10+ that my LDO does not handle well and the voltage drops below brownout level. So it is partially a hardware fault but can be fixed easily by downgrading the Arduino core to 2.0.9 or below.
I wish to find out what has changed in SDK 4.4.5+ or Arduino core 2.0.10+ and change it back so that the application running on my hardware would be stable again and I could use the latest Arduino core features and bug fixes.
Perhaps WiFi TX Power has changed in the SDK 4.4.5+ that causes it? I've noticed there used to be
CONFIG_ESP_PHY_REDUCE_TX_POWER defined in sdkconfig.h in Arduino core 2.0.9 but it is no longer defined in newer cores. Could this be a hint?
Sketch
Unfortunately I don't have a minimal sketch. Even if I had you wouldn't have the hardware with LDO I've got so it wouldn't help, anyway.
Debug Message
Brownout detection
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.