Description
### Product Overview
The STM32F103C8T6 "Blue Pill" Development Board is the maker community's definitive 32-bit ARM development platform. Powered by the STMicroelectronics STM32F103C8T6 ARM Cortex-M3 core operating at frequencies up to 72 MHz, it provides a massive computing, memory, and peripheral upgrade over standard 8-bit microcontrollers at an unbeatable price point. With 64KB of Flash memory, 20KB of high-speed SRAM, rich communication interfaces (USB, CAN, SPI, I2C, USART), dual 12-bit ADCs, and a dedicated 4-pin SWD debug header, it is widely utilized with STM32CubeIDE, Arduino STM32 (Roger Clark / STM32Duino), and FreeRTOS.
### Key Specifications & Architecture
- **Core Processor:** STMicroelectronics STM32F103C8T6 32-bit ARM Cortex-M3 RISC CPU running at up to 72 MHz
- **Memory:** 64 KB Flash program memory (many chips support 128KB), 20 KB SRAM
- **Operating Voltage:** 3.3V DC logic (5V tolerant on many I/O pins; accepts 5V via USB or 5V pin)
- **Onboard Power Regulation:** 3.3V 100mA LDO regulator (RT9193 / ME6211)
- **Clock Crystals:** 8 MHz main system high-speed crystal + 32.768 kHz RTC low-speed crystal
- **Peripherals:** 2 × 12-bit ADCs (10 channels), 7 timers (PWM), 3 × USART, 2 × SPI, 2 × I2C, 1 × USB 2.0 Full-Speed, 1 × CAN 2.0B
- **Programming / Debugging:** 4-pin Serial Wire Debug (SWD) header (SWDIO, SWCLK, 3.3V, GND)
- **Boot Select Jumpers:** BOOT0 and BOOT1 yellow jumper blocks for selecting Flash boot vs. System ROM serial bootloader
- **Form Factor:** 40-pin dual-in-line (DIP-40) layout on standard 2.54mm (0.1") pitch
### Pinout & Wiring Configuration
| Pin | Name | Type | Description | Alternate Functions |
| :--- | :--- | :--- | :--- | :--- |
| **VBAT** | Battery | Power | Backup battery pin for RTC and backup registers | 1.8V to 3.6V |
| **PC13** | GPIO / LED | Digital I/O | Onboard green status LED (Active-LOW) | TAMPER-RTC |
| **PC14–PC15**| OSC32 | Crystal | 32.768 kHz RTC low-speed oscillator pins | RTC crystal |
| **PA0–PA7** | GPIO / ADC | Analog/Digital | General I/O pins, 12-bit ADC channels (ADC12_IN0 to IN7) | USART2, SPI1 |
| **PA8–PA10**| GPIO / USART| Digital I/O | USART1 RX/TX, TIM1 PWM outputs (5V tolerant) | 5V tolerant |
| **PA11–PA12**| USB / CAN | Differential | USB D- and USB D+ pins / CAN RX and CAN TX | Full-Speed USB |
| **PA13–PA14**| SWD | Debug | SWDIO (Data) and SWCLK (Clock) programming interface | JTAG/SWD |
| **PB0–PB1** | GPIO / ADC | Analog/Digital | 12-bit ADC channels (ADC12_IN8, IN9), PWM channels | TIM3 |
| **PB6–PB7** | I2C1 | Bus | I2C1 SCL and SDA pins (5V tolerant) | 5V tolerant |
| **3V3, GND, 5V**| Power | Power | 3.3V power rail, System ground (0V), and 5V input rail | Decoupled |
### Application & Usage Guidelines
1. **SWD Programming with ST-Link V2:** Connect the 4-pin SWD header directly to an ST-Link V2 programmer: SWDIO to SWDIO, SWCLK to SWCLK, GND to GND, and 3.3V to 3.3V. This allows zero-hassle flashing and live source-level debugging inside STM32CubeIDE, Keil, or VS Code.
2. **USB Bootloader & Arduino IDE:** To program directly over the USB port using Arduino IDE (STM32Duino), flash the `stm32duino-bootloader` using an ST-Link once, and select `Generic STM32F103C series` in the boards manager.
3. **Boot Configuration Jumpers:** Set BOOT0 to `0` (jumper towards board center) for normal boot from user Flash memory. Set BOOT0 to `1` (jumper towards pin header) to enter built-in factory ROM UART bootloader.
### Documentation
- [STMicroelectronics STM32F103C8T6 Datasheet](https://www.st.com/resource/en/datasheet/stm32f103c8.pdf)