
EmbeddedGuide
The Complete Guide to Low-Power Firmware on Microcontrollers
Learn low-power firmware from the energy model to sleep modes, clocks, pins, wake-up sources, measurement and battery budgets, with a complete STM32 example.
26 min read
Tag
16 posts

Learn low-power firmware from the energy model to sleep modes, clocks, pins, wake-up sources, measurement and battery budgets, with a complete STM32 example.

Learn I2C from the open-drain wires up: addresses, ACK, repeated start, pull-up sizing, STM32 register code, bus scans, clock stretching and recovery.

A practical guide to USB device firmware: enumeration, descriptors, endpoints, device classes, stacks, hardware, a first STM32 device, debugging and updates.

Learn GPIO from the pin up: modes, pull resistors, drive strength, interrupts, debouncing, alternate functions and loads, with STM32 code and cross-chip notes.