Spark Logic

BluePill F4 pinout

The prototype schematic fits STM32F405RGT6 and uses separate 3.3 V digital and analog regulators. Confirm the PCB revision before applying these header numbers.

BluepillF405 prototype

54 contacts Current package

STM32duino community project · The prototype schematic fits STM32F405RGT6 and uses separate 3.3 V digital and analog regulators. Confirm the PCB revision before applying these header numbers.

BluepillF405 prototype pinout

Header · J5
Use the board connector marking and locate contact 1 before wiring.
Header · J6
Use the board connector marking and locate contact 1 before wiring.
SWD header · J1
Use the board connector marking and locate contact 1 before wiring.
USB connector · J2
Use the board connector marking and locate contact 1 before wiring.
Boot header · J3
Use the board connector marking and locate contact 1 before wiring.
Selected pin details

J5-16 · PA0

Configurable I/O · GPIO

Routes to MCU PA0. Choose the applicable GPIO or peripheral function in the MCU documentation.

BluepillF405 prototype connector map

Electrical limits · Link to this pin

All 54 pins

PinSignalDirectionFunction
J5-1GND ReturnReturn Connects to the board’s ground plane.
J5-2GND ReturnReturn Connects to the board’s ground plane.
J5-3VCC3V3 PowerPower Connects to 3V3. Use the specified board power connection.
J5-4RESET Active-low resetActive-low reset Connects to MCU NRST. Use a compatible open-drain reset signal.
J5-5PB11 Configurable I/OConfigurable I/O Routes to MCU PB11. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-6PB10 Configurable I/OConfigurable I/O Routes to MCU PB10. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-7PB1 Configurable I/OConfigurable I/O Routes to MCU PB1. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-8PB0 Configurable I/OConfigurable I/O Routes to MCU PB0. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-9PA7 Configurable I/OConfigurable I/O Routes to MCU PA7. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-10PA6 Configurable I/OConfigurable I/O Routes to MCU PA6. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-11PA5 Configurable I/OConfigurable I/O Routes to MCU PA5. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-12PA4 Configurable I/OConfigurable I/O Routes to MCU PA4. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-13PA3 Configurable I/OConfigurable I/O Routes to MCU PA3. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-14PA2 Configurable I/OConfigurable I/O Routes to MCU PA2. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-15PA1 Configurable I/OConfigurable I/O Routes to MCU PA1. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-16PA0 Configurable I/OConfigurable I/O Routes to MCU PA0. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-17PC15 Configurable I/OConfigurable I/O Routes to MCU PC15. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-18PC14 Configurable I/OConfigurable I/O Routes to MCU PC14. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-19PC13 Configurable I/OConfigurable I/O Routes to MCU PC13. Choose the applicable GPIO or peripheral function in the MCU documentation.
J5-20VBAT PowerPower Connects to VBAT. Use the specified board power connection.
J6-1VCC3V3A PowerPower Connects to Analog regulator output. Use the specified board power connection.
J6-2GNDA ReturnReturn Connects to the board’s ground plane.
J6-3+5V PowerPower Connects to 5V. Use the specified board power connection.
J6-4PB9 Configurable I/OConfigurable I/O Routes to MCU PB9. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-5PB8 Configurable I/OConfigurable I/O Routes to MCU PB8. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-6PB7 Configurable I/OConfigurable I/O Routes to MCU PB7. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-7PB6 Configurable I/OConfigurable I/O Routes to MCU PB6. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-8PB5 Configurable I/OConfigurable I/O Routes to MCU PB5. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-9PB4 Configurable I/OConfigurable I/O Routes to MCU PB4. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-10PB3 Configurable I/OConfigurable I/O Routes to MCU PB3. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-11PA15 Configurable I/OConfigurable I/O Routes to MCU PA15. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-12PA12 Configurable I/OConfigurable I/O Routes to MCU PA12. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-13PA11 Configurable I/OConfigurable I/O Routes to MCU PA11. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-14PA10 Configurable I/OConfigurable I/O Routes to MCU PA10. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-15PA9 Configurable I/OConfigurable I/O Routes to MCU PA9. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-16PA8 Configurable I/OConfigurable I/O Routes to MCU PA8. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-17PB15 Configurable I/OConfigurable I/O Routes to MCU PB15. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-18PB14 Configurable I/OConfigurable I/O Routes to MCU PB14. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-19PB13 Configurable I/OConfigurable I/O Routes to MCU PB13. Choose the applicable GPIO or peripheral function in the MCU documentation.
J6-20PB12 Configurable I/OConfigurable I/O Routes to MCU PB12. Choose the applicable GPIO or peripheral function in the MCU documentation.
J1-1GND ReturnReturn Connects to the board’s ground plane.
J1-2SWCLK Configurable I/OConfigurable I/O Routes to MCU PA14. Choose the applicable GPIO or peripheral function in the MCU documentation.
J1-3SWDIO DebugDebug Connects to MCU PA13 on the debug interface.
J1-4VCC3V3 PowerPower Connects to 3V3. Use the specified board power connection.
J2-1VBUS PowerPower Connects to VBUS. Use the specified board power connection.
J2-2D- BidirectionalBidirectional USB data line. PCB net destination is PA11 through 22 Ω.
J2-3D+ BidirectionalBidirectional USB data line. PCB net destination is PA12 through 22 Ω.
J2-4ID Circuit dependentCircuit dependent PCB net destination is PA10 through 1 kΩ. Check the connected circuit before driving the contact.
J2-5GND ReturnReturn Connects to the board’s ground plane.
J2-6Shield ReturnReturn Connects to the board’s ground plane.
J3-13V3 PowerPower Connects to 3V3. Use the specified board power connection.
J3-23V3 PowerPower Connects to 3V3. Use the specified board power connection.
J3-3BOOT0 Circuit dependentCircuit dependent PCB net destination is BOOT0 with 100 kΩ pull-down. Check the connected circuit before driving the contact.
J3-4BOOT1 Circuit dependentCircuit dependent PCB net destination is BOOT1 with 100 kΩ pull-down. Check the connected circuit before driving the contact.

Signal assignments

Serial Wire Debug

PA13 is SWDIO and PA14 is SWCLK. The 3.3 V board rail is a reference for a compatible probe.

USART1 on PA9/PA10

PA9 is TX and PA10 is RX in the default USART1 mapping. Select the matching firmware configuration.

Electrical limits

ParameterLimitConditions and source
Board logic rail3.3 V nominal3.3 V nominal Check the fitted regulator and MCU datasheet before attaching an external circuit. USB is the only supply used in the example. BluepillF405 prototype connector map
External high-speed oscillator8 MHz8 MHz Use the correct HSE frequency in firmware clock calculations. BluepillF405 prototype connector map

Models and documents

The maps follow the listed PCB variants. Match the board markings and connector positions to the referenced schematic before applying power.

BluepillF405 prototype
The prototype schematic fits STM32F405RGT6 and uses separate 3.3 V digital and analog regulators. Confirm the PCB revision before applying these header numbers.