stm32-usbd-devboards
Breadboard-friendly development boards with dedicated USB device connectivity for STM32 microcontrollers.
Overview
Nucleo-32 boards have a problem: the only USB port is consumed by the built-in ST-Link programmer, leaving no independent USB connection for the microcontroller's device peripheral. These boards fix that -- a dedicated USB Mini-B connector wired straight to the MCU, separate from the SWD programmer, so you can develop USB firmware the way it should work.
Key highlights
- Independent USB Mini-B -- dedicated device port, not shared with the programmer
- USB DFU bootloader -- flash firmware over USB, no programmer required
- Breadboard-compatible -- 2.54 mm pitch headers, fits right into your prototyping setup
- Mostly through-hole -- designed for hand soldering with PTH components
- SWD header -- connect your hardware debugger when you need it
- On-board power and protection -- 5 V to 3.3 V LDO from USB, ESD protection on data lines
Hardware variants
Pick the microcontroller that fits your project.
STM32F0
STM32F0 PCB render
Cortex-M0 at 48 MHz. Crystal-free USB via HSI48 self-calibrated by the host -- solder two bridges and you get the crystal pins back as GPIO. The simplest option for straightforward USB projects.
STM32G4
STM32G4 PCB render
Cortex-M4F at 170 MHz with FPU and SWO trace output. Crystal-free USB via HSI48 self-calibrated by the host is possible, but the crystal is recommended. You get significantly more processing power and up to 128 KB of flash. The choice when your USB device needs to do real computation or deal with analog signals.
STM32C0
STM32C0 PCB render
Cortex-M0+ at 48 MHz. Crystal-free USB like the F0 variant, with 64 KB flash, 24 KB RAM, and the largest pin count of the three -- 28 GPIO + power pins across 2x 1x14 headers.
Explore further
- STM32F0 -- Cortex-M0 variant with crystal-free USB
- STM32G4 -- Cortex-M4F variant with FPU and SWO
- STM32C0 -- Cortex-M0+ variant with the largest pin count
- Build manual -- generic assembly and soldering instructions
- cmake-cmsis-stm32 -- CMake module for bare-metal STM32 firmware development
- Source files on GitHub -- KiCad schematics, PCB layouts, and Gerber files
Hardware released under CERN-OHL-S-2.0.