The STM32F103C8T6 is a high-density performance line microcontroller incorporating the high-performance ARM® Cortex®-M3 32-bit RISC core operating at a 72 MHz frequency. Widely known in the hobbyist community as the “Blue Pill” due to its low-cost development board format, it offers a significant performance boost over traditional 8-bit AVR chips. With 64KB of Flash memory, 20KB of SRAM, and a rich set of enhanced I/Os and peripherals connected to two APB buses, it is perfect for applications requiring high precision and fast processing.
STM32F103C8T6 Pinout (LQFP-48)
The STM32F103C8T6 is housed in a 48-pin LQFP package. Below is the pinout mapping for the “Blue Pill” board configuration.
| Pin Category | Pin Names | Description |
| Power | 3.3V, 5V, GND | Power inputs (5V is regulated to 3.3V on board) |
| Analog | PA0 – PA7, PB0 – PB1 | 10-channel 12-bit ADC |
| USART | TX1/RX1, TX2/RX2, TX3/RX3 | 3 Hardware Serial Interfaces |
| I2C | SCL1/SDA1, SCL2/SDA2 | 2 I2C Communication Ports |
| SPI | MOSI1/MISO1, MOSI2/MISO2 | 2 High-speed SPI Ports |
| CAN | CAN_TX, CAN_RX | Controller Area Network interface |
| USB | USB_D+, USB_D- | Full-speed USB 2.0 interface |
Technical Specifications – maximum
- Core: ARM 32-bit Cortex-M3
- Clock Frequency: 72 MHz maximum
- Flash Memory: 64 KB (some variants support 128KB)
- SRAM: 20 KB
- Operating Voltage: 2.0V to 3.6V
- I/O Pins: 37
- Timers: 3x 16-bit timers, 1x PWM timer
- ADC: 2x 12-bit (up to 16 channels)
- Communication: USB 2.0, CAN, 3x USART, 2x SPI, 2x I2C
Key Features & Benefits
- 32-Bit Performance: Significantly faster than 8-bit microcontrollers, capable of complex math and real-time processing.
- Rich Peripheral Set: Includes specialized hardware for CAN and USB, making it suitable for automotive and PC-peripheral projects.
- Low Power Modes: Features Sleep, Stop, and Standby modes for energy-efficient operation.
- DMA Controller: 7-channel Direct Memory Access controller allows data transfer without CPU intervention, increasing efficiency.
- Cortex-M3 Efficiency: Provides high code density and high performance at low power.
Common Applications
- Robotic Controllers: Handling PID loops and multiple sensor inputs simultaneously.
- USB Peripherals: Creating custom joysticks, keyboards, or MIDI controllers.
- Automotive Tools: Interfacing with vehicle CAN buses for diagnostics.
- Digital Signal Processing: Basic audio filtering and signal analysis.
- GPS Trackers: Managing high-speed data from GPS and GSM modules.
STM32F103C8T6 Equivalent & Substitutes
- STM32F103CB: Identical but with 128KB Flash memory.
- STM32G071: A modern, more efficient replacement for the F1 series.
- GD32F103: A popular pin-compatible “clone” with slightly higher clock speeds.
- STM32F401 (Black Pill): A faster Cortex-M4 alternative with FPU (Floating Point Unit).
Related Tutorials on ElxHub – with links
- Selection Guide: Ultimate Microcontroller Selection Guide
- Programming STM32F103C8T6 using Arduino IDE
- STM32 DMA: How to Move Data Without Using the CPU
- Building a USB HID Device with STM32 Blue Pill
- Interfacing 12-bit ADC for High Precision Sensing
Conclusion
The STM32F103C8T6 remains a cornerstone of the 32-bit microcontroller world. Its combination of the Cortex-M3 core, extensive communication interfaces, and low price point makes it an unbeatable choice for moving beyond 8-bit limitations. Whether you are building a custom USB device or a complex robotic system, the “Blue Pill” provides the speed and reliability required for professional-grade embedded development.
Download the Microcontroller’s Datasheet pdf
focus keyword: STM32F103C8T6 Datasheet seo title: STM32F103C8T6 Pinout, Specs, and Blue Pill Guide | ElxHub slug: stm32f103c8t6-microcontroller-datasheet meta description: Complete STM32F103C8T6 datasheet. Learn about the ARM Cortex-M3 core, Blue Pill pinout, 72MHz clock speed, and 12-bit ADC specifications.
Image Inventory for ElxHub (IoT & 32-bit Series)
| Filename Suggestion | Alt Text | Description | Context/Purpose |
| elxhub-esp32-s3-minimal-circuit-diagram.png | ESP32-S3 minimal circuit diagram with 3.3V LDO, EN/Boot buttons, and native USB connections. | A clean, high-contrast schematic showing the essential wiring to boot and program an ESP32-S3 chip, including decoupling capacitors and reset logic. | To illustrate the standalone setup in the ESP32-S3 datasheet. |
| elxhub-stm32f103c8t6-minimal-schematic.png | STM32F103C8T6 (Blue Pill) minimal circuit diagram featuring 8MHz crystal, SWD header, and NRST circuit. | A professional schematic diagram for the STM32F103 showing the power pins, crystal oscillator circuit, and the Serial Wire Debug (SWD) interface for programming. | Technical illustration for the STM32F103 datasheet/tutorial. |
| elxhub-esp32-s3-pinout-qfn56.png | ESP32-S3 QFN-56 pinout diagram highlighting AI-capable GPIOs and USB pins. | A functional pin mapping diagram for the ESP32-S3, color-coded by pin function (Analog, Digital, Touch, and Power). | Used in the Pinout section of the ESP32-S3 datasheet. |
| elxhub-stm32-blue-pill-pinout-lqfp48.png | STM32F103 Blue Pill pinout diagram for Arduino IDE users. | A diagram mapping the LQFP-48 physical pins to the “Blue Pill” development board labels, including USART, I2C, and SPI peripherals. | Used in the Pinout section of the STM32F103 datasheet. |
