Spark Logic

Black Pill connection guide

Black Pill (WeAct MiniF4 V3.1) 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 USB-C as the single power source. With SB1 open, VBUS feeds the board’s 5 V rail through D4. With SB1 closed, VBUS and the 5 V rail are directly connected. Leave external power headers disconnected. Check the 3.3 V rail before attaching the debug probe.

  • USB power input
    • USB host VBUS
    • Board USB-C VBUS
  • USB return
    • USB host ground
    • Board USB-C 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.

WeAct MiniF4 V3.1 connector map

Connection scenarios

WeAct MiniF4 V3.1 wiring map

External wiring example · Power the board from USB

Highlighted contacts are used in this circuit. Select a contact to highlight its wiring nets.

Connector contacts

The guide uses H1, H2 and H3 for schematic connectors P1, P2 and P3 respectively. Match pin 1 to the board markings.

Selected pin details

H1-1 · 5V

Power · Power

Board 5 V rail and regulator input. USB VBUS feeds it through D4 with SB1 open. Closing SB1 bypasses D4 and ties the rails together. Disconnect USB before feeding 5 V here.

WeAct MiniF4 V3.1 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.

WeAct MiniF4 V3.1
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.