
Find out about the course, what you'll learn, who this course is for, and who your instructor is.
Choice of MCU, adding decoupling capacitors, and VDDA filtering.
MCU configuration pin purpose and circuitry (NRST and BOOT0).
Using STM32CubeIDE to do pin-out planning for the MCU.
High-speed external crystal oscillator circuitry and how to choose load capacitors.
Adding USB connector, setting differential pair, and USB D+ pull-up resistor.
Low-dropout (LDO) regulator with bypass capacitors, power-on LED and current-limiting resistor.
Checking the schematic for errors via an electrical rules check (ERC) and setting component designators (annotation).
Selecting suitable PCB footprints for component symbols.
Setting up the PCB editor and filling in design rules.
Placing the MCU and surrounding decoupling capacitors.
Layout of USB circuitry and SWD connector.
How to change to a different footprint and adding a missing 3D model for the USB connector.
Placing GPIO connectors and fine-tuning layout.
Laying out the LDO regulator, bypass capacitors, and power-on LED.
After initial layout, placing mounting holes, and defining the board outline.
Routing critical traces first: decoupling capacitor and crystal connections.
Routing all remaining signals.
Routing power (+3V3), placing GND vias.
Adding silkscreen (text and logo), and performing a design rule check (DRC).
Preparing required files for manufacturing (Gerber, drill) and assembly (bill of materials, footprint position files).
Congratulations on finishing the course!
Learn how to use KiCad V6 and design your own printed circuit boards (PCBs) featuring STM32 microcontrollers. This course will give you a straightforward and complete way to moving from Arduino-based designs to your own, completely custom, STM32-based hardware. All the way from project creation, through to circuit design, PCB layout and routing, and final manufacturing file generation.
Lesson content:
1) Schematic
How to use KiCad V6 (free ECAD software), creating a schematic in KiCad, populating the schematic with relevant circuitry: STM32 microcontroller, required surrounding circuitry, decoupling capacitors, pin-out planning using STM32CubeIDE, USB 2.0 FS, power supply using an LDO regulator. How to perform an electrical rules check and annotate the schematic, as well as assigning footprints.
2) PCB Layout
Setting up the KiCad V6 PCB editor, finding manufacturer capabilities and importing them into KiCad. Using the 3D viewer. Initial rough layout: placing the MCU, decoupling capacitors, and crystal circuitry. Adding USB, SWD, and GPIO connectors. Changing footprints and adding 3D models. Fine tuning placement and layout. Simple LDO power supply layout. Adding mounting holes and defining the board outline.
3) PCB Routing
Routing order and priorities. Best practices for decoupling capacitors, crystals, and sensitive traces. Signal routing, ground planes, vias, and power routing. Finishing touches with custom silkscreen and custom logo. Design rule check and final project checks.
4) Manufacturing
Producing the files in KiCad required by PCB manufacturers for assembly and production.