STM32F103C8T6 Pinout, Specs, and Getting Started Guide
STM32F103C8T6 Pinout, Specs, and Getting Started Guide
The STM32F103C8T6 is one of the most popular 32-bit microcontrollers in the world, thanks to its performance, low cost, and wide availability. This guide covers everything you need to know.
What is the STM32F103C8T6?
The STM32F103C8T6 is an ARM Cortex-M3 based 32-bit microcontroller from STMicroelectronics. It is the heart of the famous "Blue Pill" development board.
Key Specifications:
| Parameter | Value |
|---|---|
| Core | ARM Cortex-M3 |
| Max Clock Speed | 72 MHz |
| Flash Memory | 64 KB |
| SRAM | 20 KB |
| Operating Voltage | 2.0V โ 3.6V |
| GPIO Pins | 37 |
| Package | LQFP-48 |
| Temperature Range | -40ยฐC to +85ยฐC |
STM32F103C8T6 Pinout
The STM32F103C8T6 comes in a LQFP-48 package with 48 pins. The major pin groups are:
Power Pins
- VDD (pins 1, 9, 24, 35, 48) โ 3.3V supply
- VSS (pins 8, 23, 35, 47) โ Ground
- VBAT (pin 1) โ Backup domain supply (RTC)
- VDDA (pin 9) โ Analog supply for ADC
GPIO Banks
- Port A (PA0โPA15) โ 16 pins with ADC, USART1, SPI1, I2C1, TIM2 functions
- Port B (PB0โPB15) โ 16 pins with ADC, SPI2, I2C1, USART3, TIM3/4 functions
- Port C (PC13โPC15) โ 3 pins (LED, OSC32)
Special Function Pins
- NRST (pin 7) โ Active-low reset
- BOOT0 (pin 44) โ Boot mode selection
- OSC_IN/OSC_OUT (pins 5, 6) โ External crystal oscillator
Peripheral Overview
The STM32F103C8T6 is packed with peripherals:
- USART: 3 (USART1, USART2, USART3)
- SPI: 2 (SPI1, SPI2)
- I2C: 2 (I2C1, I2C2)
- Timers: 3 general-purpose (TIM2, TIM3, TIM4) + 1 advanced (TIM1)
- ADC: 2 ร 12-bit, 10 channels
- USB: USB 2.0 Full-Speed
- CAN: CAN 2.0B
- DMA: 7-channel DMA
Alternatives to STM32F103C8T6
If STM32F103C8T6 is unavailable or too expensive, consider:
| Alternative | Manufacturer | Notes |
|---|---|---|
| GD32F103C8T6 | GigaDevice | Pin-compatible, often lower cost |
| STM32F103CBT6 | ST | Same family, 128KB flash |
| AT32F403ACCT7 | Artery | Higher performance alternative |
Getting Started
Minimum Hardware Required
- STM32F103C8T6 or Blue Pill board
- ST-Link V2 debugger/programmer
- USB-to-serial adapter (for USART debugging)
- 3.3V power supply
Development Environment Options
- STM32CubeIDE (official ST IDE, Eclipse-based)
- Arduino with STM32 core (easiest for beginners)
- PlatformIO (VS Code extension, recommended for professionals)
- Keil MDK (commercial, widely used in industry)
First Steps
- Install STM32CubeIDE
- Create a new project, select STM32F103C8T6
- Configure clock to 72 MHz using HSE + PLL
- Enable a GPIO pin as output
- Toggle it in the main loop โ verify with oscilloscope or LED
Where to Buy STM32F103C8T6
STM32F103C8T6 is available from FindMyChip with competitive pricing and worldwide shipping.
- Price range: $1.50 โ $4.00 USD depending on quantity
- MOQ: Low MOQ available for prototyping
- Lead time: 3โ7 business days
- Ships via: DHL, FedEx, UPS