Blue Pill connection guide
Blue Pill (STM32F103C8T6 Blue Pill) connection guide. Power the board from USB. Attach an SWD probe.
STM32F103C8T6 Blue Pill
55 contacts Current packagePower the board from USB
RequiredMicro-USB VBUS and H2-3 share the 5 V rail directly, with no isolation between them. The onboard RT9193-33 regulator supplies the 3.3 V rail. Leave external power headers disconnected. Check the 3.3 V rail before attaching the debug probe.
- USB power input
- USB host VBUS
- USB return
- USB host ground
- Board logic rail
- 3.3 V measurement point
Bench checks
- Identify the USB power input and ground in the documentation for your PCB revision.
- Measure roughly 3.3 V between the board logic rail and ground. Check for a short or wrong connector if the rail is low.
STM32F103C8T6 Blue Pill connector map
Connection scenarios
Attach an SWD probe
Use the USB supply from the required step. Configure the probe for a powered 3.3 V target. Connect the probe’s reference input to the board logic rail, then wire SWDIO, SWCLK and ground.
- Target reference
- Probe VTref input
- Ground
- Probe ground
- SWD data
- ↔
- Probe SWDIO
- SWD clock
- →
- Probe SWCLK
Bench checks
- Check pin 1 orientation and verify each connection with the cable unplugged.
- Select the exact MCU and use a low SWD clock for the first connection.
STM32F103C8T6 Blue Pill connector map
STM32F103C8T6 Blue Pill wiring map
Connector contacts
H2-2 · G
Connects to the board’s ground plane.
Models and documents
The maps follow the listed PCB variants. Match the board markings and connector positions to the source for your PCB revision before applying power.
- STM32F103C8T6 Blue Pill
- This map follows the vcc-gnd.com Blue Pill schematic dated 2016-01-26. Check the wiring and fitted parts on other Blue Pill boards.
- STM32-base · STM32F103C8T6 Blue Pill· Board identification, connector numbering and documented net destinations.
- STMicroelectronics MCU datasheet· MCU electrical specifications and package pin functions.
- STM32F103C8T6 Blue Pill schematic· PCB power, debug, connector and peripheral wiring.
- STMicroelectronics RM0008 reference manual· Boot settings (section 3.4), timer modes, DMA and USB registers.
