• 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 - Ugly Board

    Ugly Board


    Board Name Ugly Board
    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)
    USB connector (+5V)
    Regulator manufacturer Advanced Monolithic Systems Inc.
    Regulator part number AMS1117
    Regulator package SOT223
    Output +3.3V @ 1000mA
    Battery holder No
    Connectivity Headers 1x 2x20 male dupont (2.54mm)
    Specific OLED (1x8 female dupont (2.54mm))
    Debug JTAG (20-pin IDC)
    USB Mini
    I/O LEDs Power LED (D2, +3.3V)
    User LED (D1, PB8, sink)
    Buttons, switches and jumpers Reset button (REST, NRST, active low)
    User button (KEY, PC13, active low)
    1-way jumper (BOOT0, active high)
    Other devices None
    PCB Colour Blue
    Size 60mm x 42mm
    Mounting None
    • 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.
    • Trivia: This board got its name from the STM32duino project's wiki page on this board.


    Ugly Board

    Ugly Board Top view

    Ugly Board Bottom view

    Header 1

    Pin Connected to
    3.3V +3.3V rail
    PB9 PB9
    PB8 PB8
    PB7 PB7
    PB6 PB6
    PB5 PB5
    PB4 PB4
    PB3 PB3
    PA15 PA15
    PA14 PA14
    PA13 PA13
    PA12 PA12
    PA11 PA11
    PA10 PA10
    PA9 PA9
    PA8 PA8
    PB15 PB15
    PB14 PB14
    PB13 PB13
    PB12 PB12

    Header 2

    Pin Connected to
    GND Ground plane
    GND Ground plane
    3.3V +3.3V rail
    3.3V +3.3V rail
    3.3V +3.3V rail
    PB11 PB11
    PB10 PB10
    PB2 PB2
    PB1 PB1
    PB0 PB0
    PA7 PA7
    PA6 PA6
    PA5 PA5
    PA4 PA4
    PA3 PA3
    PA2 PA2
    PA1 PA1
    PA0 PA0
    PC13 PC13
    3.3V +3.3V rail


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


    Pin Connected to JTAG SWD
    1 +3.3V rail VCC -
    2 +3.3V rail VCC -
    3 PB4 TRST -
    4 Ground plane GND -
    5 PA15 TDI -
    6 Ground plane GND -
    7 PA13 TMS SWDIO
    8 Ground plane GND -
    10 Ground plane GND -
    11 N.C. RTCK -
    12 Ground plane GND -
    13 PB3 TDO SWO
    14 Ground plane GND -
    15 NRST RESET -
    16 Ground plane GND -
    17 N.C. N.C. -
    18 Ground plane GND -
    19 N.C. N.C. -
    20 Ground plane GND -


    Pin Connected to
    GND Ground plane
    VCC +3.3V rail
    PA5 PA5
    PA7 PA7
    PB0 PB0
    PB1 PB1
    PA4 PA4
    PB10 PB10