Embedded Garage

PCB design

I lay out the boards my firmware runs on, in Altium Designer, and I carry what I find during bring-up into the next revision.

What I design

  • Microcontroller boards around STM32 and ESP32.
  • Power stages and their supplies.
  • Sensor and analogue front ends.
  • Multi-layer layouts, from schematic capture to manufacturing files.
  • Wiring harnesses and the wiring of the complete system.

How I bring a board up

  1. Power rails first. Every supply is measured before anything else is trusted.
  2. Clocks next. I confirm the oscillator starts and the PLL locks.
  3. Then the debug link, over SWD or JTAG.
  4. Peripherals one at a time, with register settings checked against the datasheet.
  5. Communication last, watched on the wire with an oscilloscope.
  6. Every fault found goes into the notes for the next board revision.

Why firmware and layout together

Many bring-up faults sit on the line between hardware and firmware: a crystal the clock circuit cannot start, a transceiver rail that is not powered, a register bit in the wrong position, a message filter set up wrongly. Doing both sides means I can tell which one is at fault, and fix it in the right place.