ARM® Cortex®-M3 series Microcontroller IC 32-Bit 72MHz 64KB (64K x 8) FLASH
STM32F103C8T6 Blue Pill Development Board
STM32F103C8T6 is one of the mid-range microcontroller units of the STM32F103x8 family based on RISC architecture. An integrated Blue Pill Development Board was introduced as a low-cost board as an alternative to STMicroelectronics STM discovery boards.
STM32F103C8T6 microcontroller comes with GPIO pins, processor, memory, USB port, Analog to Digital Converters, and other peripherals. An ARM Cortex Core with an amazing speed of 72 MHz and remarkable power efficiency.
This tutorial is an introduction to the STM32F103C8T6 Blue Pill Development Board. All the features, specifications, pin configuration, GPIO pins and peripherals, and applications will be discussed here.
STM32F103C8T6 Blue Pill Development Board contains a 32-bit Cortex-M3 RISC ARM core with an internal oscillator of 4 -16 MHz. It is a CMOS flash technology chip. This chip has 37 GPIO pins and 10 Analog pins. It has some modern communication interfaces like a CAN and a USB port. The peripherals give outstanding control of the board as it operates at very low voltage, so it is suitable for low-power applications. It also comes with an integrated watchdog and a window watchdog timer for the proper execution of instructions.
STM32F103C8T6 Blue Pill Pinout
Following diagram shows the pinout of the STM32F103C8T6 Blue Pill Development Board:
STM32F103C8T6 Blue Pill Pin Configuration
Let us discuss the pinout of the STM32F103C8T6 Blue Pill Development Board. The pin configuration detail in tabular is mentioned below:
– 3.3 Volts
– 5 Volts
1. Operational Output Voltage
2. Power Supply from USB or 5V external source pin
3. Ground Pin
Inter-Integrated Circuit Serial Data and Clock pins
LED for Indication
External Interrupts: The hardware interrupts are operated to detect external signals.
PWM: A total of 15 pulse width modulations pins to generate analog voltage signals from digital PWM outputs.
RTS/CTS: Request-to-Send/Clear-to-Send is a protocol that tells about the transmission and reception of data to keep the flow of data and signals in check.
SPI: Serial Peripheral Interface to communicate between the Microcontroller Unit and peripherals.
CAN: A multi-serial bus also responsible for dual directional communication.
I2C: Another serial interface protocol for synchronized bit-wise data transmission.
Features and Specifications
Features and Peripherals
Serial wire Debug
72 MHz (max)
Number of Timers
-400C – 1050C
2.0V – 3.6V
Window watchdog timer (WWDT)
JTAG debug Interface
Some of the detailed features include :
A Cyclic Redundancy Check (CRC) for monitoring the data corruption
Three different boot options(through user flash or system memory or SRAM) to reorganize the Flash Memory through USART1
7 different timers for different sampling rates for analog signals
A JTAG(Joint Test Action Group) serial protocol for debugging and testing the microcontroller unit
A Phase-Locked Loop(PLL) clock for stability by phasing output and input signals
A Window watchdog timer for observing the errors in signal reception and transmission
STM32F103C8T6 Blue Pill Schematic Diagram
Following picture shows the schematic diagram for your reference. In case your Blue Pill got damaged, you can refer to this schematic diagram to replace faulty components: How to Program STM32F103C8T6 Development Board
There are two ways to program an STM32F103C8T6 Development Board. By using the following methods :
External USB or Serial Converter
There are many options for compilers and IDEs are available to write programs and flash code to STM32F10C8T6 Blue Pill. But these are two the are the most popular and easy to use compilers.
Softwares like Kiel/CubeMX and STLink’s software are also used to compile and upload programs. This is done through a single wire debug interface which is designed for ARM Cores for the transmissions and Memory access. You can refer to these getting started tutorials on Keil vision:
This MCU is compatible with Arduino Software. It can be programmed using Arduino Compilers. Arduino uses two compilers i.e. avr-g++ and arm-none-eabi-g++. The code can be burnt on the MCU using UART1 pins through the external USB.
To program the STM32F10C8T6 through Arduino Software, one must select the required board from the menu of boards provided by the software. Then download suitable files for the board to program efficiently. Sample sketches of Arduino, for example, Blink can be uploaded to the MCU as the development has an integrated LED. Check these Arduino IDE getting started tutorials:
STM32F103C8T6 comes in two packages, i.e. LQFP48, UFQFPN48. The following figure shows the 2d model of UFQFPN48. It shows us the physical dimensions of the components required when a PCB card is designed.