SWD debug
P3-2 connects to PA13 and P3-3 connects to PA14.
The GD32F103CBT6 version of WeAct’s BluePill+ V1.1 board with 20-position side headers and a separate SWD header.
Serial Wire clock on PA14.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| P1-1 | VCC Supply input | Supply input | Board regulator input. The USB supply reaches this rail through the input protection path. |
| P1-2 | GND Return | Return | Connect to the board ground return. |
| P1-3 | 3V3 Regulated rail | Regulated rail | 3.3 V board rail. Verify it before connecting the debugger reference. |
| P1-4 | NRST Input | Input | Active-low reset with the onboard reset button. |
| P1-5 | PB11 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-6 | PB10 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-7 | PB1 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-8 | PB0 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-9 | PA7 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-10 | PA6 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-11 | PA5 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-12 | PA4 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-13 | PA3 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-14 | PA2 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-15 | PA1 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-16 | PA0 Bidirectional | Bidirectional | GPIO shared with the user button through a series resistor. |
| P1-17 | PC15 Output | Output | Shared with the fitted 32.768 kHz oscillator circuit. |
| P1-18 | PC14 Input | Input | Shared with the fitted 32.768 kHz oscillator circuit. |
| P1-19 | PC13 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P1-20 | VB Backup input | Backup input | RTC backup input through the schematic’s diode network. |
| P2-1 | PB12 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-2 | PB13 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-3 | PB14 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-4 | PB15 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-5 | PA8 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-6 | PA9 Bidirectional | Bidirectional | Default USART1 transmit assignment. |
| P2-7 | PA10 Bidirectional | Bidirectional | Default USART1 receive assignment. |
| P2-8 | PA11 Bidirectional | Bidirectional | GPIO shared with the USB D− line on this board. |
| P2-9 | PA12 Bidirectional | Bidirectional | GPIO shared with the USB D+ line on this board. |
| P2-10 | PA15 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-11 | PB3 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-12 | PB4 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-13 | PB5 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-14 | PB6 Bidirectional | Bidirectional | Default I²C1 clock assignment. |
| P2-15 | PB7 Bidirectional | Bidirectional | Default I²C1 data assignment. |
| P2-16 | PB8 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-17 | PB9 Bidirectional | Bidirectional | Microcontroller pad exposed directly on the expansion header. |
| P2-18 | VCC Supply input | Supply input | Board regulator input. The USB supply reaches this rail through the input protection path. |
| P2-19 | GND Return | Return | Connect to the board ground return. |
| P2-20 | 3V3 Regulated rail | Regulated rail | 3.3 V board rail. Verify it before connecting the debugger reference. |
| P3-1 | 3V3 Target reference | Target reference | Reference the probe to the board’s 3.3 V rail. |
| P3-2 | SWDIO Bidirectional | Bidirectional | Serial Wire data on PA13. |
| P3-3 | SWCLK Input | Input | Serial Wire clock on PA14. |
| P3-4 | GND Return | Return | Connect to the board ground return. |
P3-2 connects to PA13 and P3-3 connects to PA14.
P2-6 is TX and P2-7 is RX with the default pin mapping.
P2-14 is SCL and P2-15 is SDA with the default pin mapping.
| Parameter | Limit | Conditions and source |
|---|---|---|
| VCC regulator input3.3–5.5 V | 3.3–5.5 V | Range printed on the board schematic. Use 5 V USB Type-C as the sole source in this guide. WeAct Studio BluePill+ V1.1 schematic, 6 June 2022 |
| Digital signaling3.3 V nominal | 3.3 V nominal | Use 3.3 V adapter and debug levels. WeAct Studio BluePill+ V1.1 schematic, 6 June 2022 |
Covers P1, P2 and P3 on the WeAct Studio V1.1 PCB populated with GD32F103CBT6. Match the WeAct board marking and the header pin-1 index before wiring.