Loading source-backed pinouts…
The popular successor to the Blue Pill with a Cortex-M4F, USB-C, and a user key, widely used for keyboards (QMK), flight controllers, and STM32 learning.
USB at top, component side up, 2x20 headers on both edges
Simplified technical illustration. Pin data is source-backed; verify against the linked documentation before wiring.
Hover, tap, or focus a pad to inspect a pin. Use arrow keys to move between pins.
| # | Signal | Role | Net | Also / notes |
|---|---|---|---|---|
| 1 | Power | VBAT | ||
| 2 | GPIO | LED · Onboard LED (active low). | ||
| 3 | GPIO | OSC32_IN | ||
| 4 | GPIO | OSC32_OUT | ||
| 5 | GPIO | KEY / WKUP · Onboard KEY button (active low). | ||
| 6 | ADC | ADC1 | ||
| 7 | UART | UART | USART2_TX / ADC2 | |
| 8 | UART | UART | USART2_RX / ADC3 | |
| 9 | SPI | SPI | SPI1_NSS / ADC4 | |
| 10 | SPI | SPI | SPI1_SCK / ADC5 | |
| 11 | SPI | SPI | SPI1_MISO / ADC6 | |
| 12 | SPI | SPI | SPI1_MOSI / ADC7 | |
| 13 | ADC | ADC8 | ||
| 14 | ADC | ADC9 | ||
| 15 | System | BOOT1 | ||
| 16 | I2C | I2C | I2C2_SCL / SPI2_SCK | |
| 17 | System | NRST | ||
| 18 | Power | 3V3 | ||
| 19 | Ground | GND | ||
| 20 | Power | 5V | ||
| 40 | Power | 3V3 | ||
| 39 | Ground | GND | ||
| 38 | Power | 5V | ||
| 37 | I2C | I2C | I2C1_SDA | |
| 36 | I2C | I2C | I2C1_SCL | |
| 35 | I2C | I2C | I2C1_SDA | |
| 34 | I2C | I2C | I2C1_SCL | |
| 33 | SPI | SPI | SPI3_MOSI | |
| 32 | SPI | SPI | SPI3_MISO | |
| 31 | SPI | SPI | SPI3_SCK | |
| 30 | SPI | SPI | SPI1_NSS | |
| 29 | Alt | USB_D+ · Shared with USB D+. | ||
| 28 | Alt | USB_D- · Shared with USB D-. | ||
| 27 | UART | UART | USART1_RX | |
| 26 | UART | UART | USART1_TX | |
| 25 | GPIO | TIM1_CH1 | ||
| 24 | SPI | SPI | SPI2_MOSI | |
| 23 | SPI | SPI | SPI2_MISO | |
| 22 | SPI | SPI | SPI2_SCK | |
| 21 | SPI | SPI | SPI2_NSS |
same microcontroller platform · 7 shared interfaces
same microcontroller class · same microcontroller platform
same microcontroller platform · 7 shared interfaces
same microcontroller class · same microcontroller platform