• STM32-base
  • Home
  • Overview
  • Roadmap and scope
  • About this project
  • Guides
  • Getting started with STM32
  • Setting up STM32-base
  • Flashing
  • Boards
  • Boards overview
  • Blue pill (STM32F103C8T6)
  • Black pill (STM32F103C8T6)
  • Cheatsheets
  • Linker: Memory regions
  • Device name mapping
  • Makefile options
  • External
  • STM32-base project
  • STMicroelectronics
  • STM32F103C8T6 - Blue Pill

    Blue Pill Variations


    Board Name Blue Pill
    Brand Unknown
    Origin AliExpress, China
    Microcontroller Part STM32F103C8T6
    Package LQFP48
    Core Cortex-M3
    FLASH 64KB
    SRAM 20KB
    Max. Clock Speed 72MHz
    Crystals HSE (High Speed External) 8MHz
    LSE (Low Speed External) 32.768kHz
    Power Sources Any +3.3V pin (+3.3V)
    Any +5V pin (+5V)
    USB connector (+5V)
    Regulator manufacturer Shanghai TX Electronics Sci-Tech Co., Ltd
    Regulator part number TX6211B (DE=A1D)
    Regulator package SOT353
    Output +3.3V @ 300mA
    Battery holder No
    Connectivity Headers 2x 1x20 male dupont (2.54mm)
    Specific None
    Debug SWD (1x4 male dupont (2.54mm))
    USB Micro
    I/O LEDs Power LED (PWR, +3.3V)
    User LED (PC13, PC13, sink)
    Buttons, switches and jumpers Reset button (RESET, NRST, active low)
    2-way jumper (BOOT0)
    2-way jumper (BOOT1)
    Other devices None
    PCB Colour Blue
    Size 53mm x 23mm
    Mounting Breadboard
    • Warning: The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time.
    • Warning: This board may have a wrong value of resistor on the USB D+ pin. Instead of a 1.5kΩ it has either a 10kΩ or 4.7kΩ resistor. This can be solved by replacing the resistor with the right value.
    • Trivia: This board might be one of the most populair Chinese STM32 development boards currently available. This board is based on the Maple Mini.
    • Trivia: This board got its name from a forum post at the STM32duino forums and is a reference to the movie The Matrix.
    • Trivia: This board is also available with an STM32F051C8T6 microcontroller, although slightly different.



    Blue Pill

    Blue Pill Top view

    Blue Pill Bottom view

    Header 1

    Pin Connected to
    G Ground plane
    G Ground plane
    3.3 +3.3V rail
    R NRST
    B11 PB11
    B10 PB10
    B1 PB1
    B0 PB0
    A7 PA7
    A6 PA6
    A5 PA5
    A4 PA4
    A3 PA3
    A2 PA2
    A1 PA1
    A0 PA0
    C15 PC15
    C14 PC14
    C13 PC13

    Header 2

    Pin Connected to
    3.3 +3.3 rail
    G Ground plane
    5V +5V rail
    B9 PB9
    B8 PB8
    B7 PB7
    B6 PB6
    B5 PB5
    B4 PB4
    B3 PB3
    A15 PA15
    A12 PA12
    A11 PA11
    A10 PA10
    A9 PA9
    A8 PA8
    B15 PB15
    B14 PB14
    B13 PB13
    B12 PB12


    Pin Connected to
    VCC +5V rail
    D- PA11
    D+ PA12
    ID N.C.
    GND Ground plane


    Pin Connected to
    GND Ground plane
    CLK PA14
    DIO PA13
    3V3 +3.3V rail