Spark Logic

Black Pill connection guide

Black Pill (STM32F103C8T6 Black Pill) connection guide. Power the board from USB. Attach an SWD probe.

PackageContactsDetails
STM32F103C8T6 Black Pill 43 This STM32F103 board uses a four-contact SWD connector with GND, CLK, DIO and 3V3 in that order. Its debug connector differs from the Blue Pill and WeAct MiniF4.
WeAct MiniF4 V3.1 44 Match the V3.1 marking on the underside of the WeAct MiniF4. The map follows headers P1 and P2 and SWD connector P3 in the V3.1 schematic.

STM32 development boards

Power the board from USB

Required

Use a single USB cable to power the board through its native connector. 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 Black Pill connector map

Connection scenarios

Connect a 3.3 V UART console

Use an external 3.3 V logic-level adapter and keep the board on USB power. Cross transmit and receive, share ground and match the serial framing.

  • Board transmit
    • →
    • Adapter RX
  • Board receive
    • →
    • Adapter TX
  • Ground
    • Adapter GND

Bench checks

  • Leave the adapter’s supply output disconnected.
  • Enable USART1 on PA9/PA10 and verify that the host receives a known test string.

STM32F103C8T6 Black Pill connector map

STM32F103C8T6 Black Pill wiring map

External wiring example · Connect a 3.3 V UART console

Highlighted contacts are used in the required step or selected circuit. Select a contact to highlight its wiring nets.

Connector contacts

H-prefixed contact IDs are references used in this guide. Match the actual markings and connector orientation to the board documentation.

Selected pin details

H1-1 · GND

Return · Ground

Connects to the board’s ground plane.

STM32F103C8T6 Black Pill connector map

Electrical limits · Pin in the reference

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 Black Pill
This STM32F103 board uses a four-contact SWD connector with GND, CLK, DIO and 3V3 in that order. Its debug connector differs from the Blue Pill and WeAct MiniF4.