Getting ESP32 to 12µA Sleep Current
Documented the process of optimizing deep sleep mode. Mostly power domain tweaks and GPIO configuration.
I write bare metal code, optimize performance, and occasionally break things. This is where I document what I learn.
Mostly microcontrollers and getting them to do more with less
RTOS implementations, interrupt-driven code, trying to keep timing deterministic on tiny MCUs
Sometimes Assembly, DMA when it makes sense, profiling with cycle counters
BLE, LoRa, ESP-NOW. Usually trying to reduce power consumption or increase throughput
Direct register access, custom bootloaders, avoiding HAL libraries when they get in the way
Things I've been working on lately
Documented the process of optimizing deep sleep mode. Mostly power domain tweaks and GPIO configuration.
Set up circular DMA buffer for 2 MSPS sampling. Managed to keep CPU mostly idle during acquisition.
Wrote a bootloader from scratch. No vendor SDK, just startup code and linker scripts.