Decoupling Capacitors: Where They Belong and Why It Matters
A capacitor placed near the pin it serves is not the same component as one placed nearby. How return paths, loop area and inrush current decide whether a rail stays quiet.
Jamaludin
Embedded & Firmware Engineer
01 Blog
Working notes on firmware and board design, written after the problem showed up rather than before. The reasoning matters more than the conclusion.
A capacitor placed near the pin it serves is not the same component as one placed nearby. How return paths, loop area and inrush current decide whether a rail stays quiet.
A priority inversion is a bug you can schedule. Walking through a real mutex-priority inversion on an STM32, then writing a test that reproduces it before you fix it.
A watchdog that only resets the MCU hides the fault it was meant to reveal. Feeding it correctly, logging before the reset, and the one reset reason that is always worth trusting.