MCU packages

STM32F103C8T6 pinout

LQFP-48 · Cortex-M3 · 72 MHz

Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe

ST DS5319 and RM0008: 48 package pins, 37 GPIO-capable connections (PD0/PD1 require releasing the HSE pins). STM32F1 uses AFIO remapping, not AF0–AF15 selectors. Remap values apply to whole peripherals; the plan does not validate register settings or every simultaneous-use constraint. Do not assume 5 V tolerance in analog mode.

At a glance

Platform / manufacturer
STM32
Type
MCU packages
MCU
STM32F103C8T6
Package / connector
LQFP-48
Physical contacts
48
GPIO
37
I/O voltage
2.0–3.6 V I/O
Interfaces (pin count)
I²C (8) · SPI (12) · UART (17) · CAN (4) · USB (2) · ADC (10) · PWM (25) · CLOCK (3) · GPIO (2) · JTAG (5) · SWD (2) · SYSTEM (2) · TIMER (3)
Documented by this date
2007-06-01 [b]
MCU / processor core
Arm Cortex-M3 [a] [b]
Clock speed / maximum
72 MHz [a] [b]
Internal RAM / system RAM
20 KB [a] [b]
Program Flash / storage
64 KB Flash [a] [b]
Power and logic level
Supply range and 5 V tolerance depend on pin type; check VDD, VDDA, VCAP and VBAT conditions in the datasheet. [a] [b]
MCU datasheet initial publication
2007-06-01 [b]
Pin sources checked
2026-11-05
Technical details reviewed
2026-11-14

All pins (48)

STM32F103C8T6: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
01VBATPower—

Backup-domain supply. Check the ST datasheet for permitted voltage and power sequencing.

[1] [2]
02PC13General-purpose I/OTAMPER-RTC

3.3V Only

PC13–PC15 use the backup-domain supply: limited to 3 mA, 2 MHz and 30 pF; do not use them as current sources. Shared with RTC/LSE functions.

[1] [2] [3]
03PC14General-purpose I/OOSC32_IN

3.3V Only

PC13–PC15 use the backup-domain supply: limited to 3 mA, 2 MHz and 30 pF; do not use them as current sources. Shared with RTC/LSE functions.

[1] [2] [3]
04PC15General-purpose I/OOSC32_OUT

3.3V Only

PC13–PC15 use the backup-domain supply: limited to 3 mA, 2 MHz and 30 pF; do not use them as current sources. Shared with RTC/LSE functions.

[1] [2] [3]
05OSC_INGeneral-purpose I/OPD0 PD01_REMAP=1 PD01_REMAP: 1

3.3V Only

HSE oscillator pin after reset. PD0/PD1 GPIO use requires changing HSE and PD01_REMAP configuration; on Blue Pill these lines connect to the 8 MHz crystal and are not on the side headers.

[1] [2] [3]
06OSC_OUTGeneral-purpose I/OPD1 PD01_REMAP=1 PD01_REMAP: 1

3.3V Only

HSE oscillator pin after reset. PD0/PD1 GPIO use requires changing HSE and PD01_REMAP configuration; on Blue Pill these lines connect to the 8 MHz crystal and are not on the side headers.

[1] [2] [3]
07NRSTSystem—

Active-low reset line. Shared with the reset button on Blue Pill.

[1] [2]
08VSSAGround——[1] [2]
09VDDAPower——[1] [2]
10PA0General-purpose I/OWKUPUSART2_CTS USART2_REMAP=0 USART2_REMAP: 0ADC12_IN0TIM2_CH1_ETR TIM2_REMAP=00|10 TIM2_REMAP: 00 / 10

3.3V Only

[1] [4] [3]
11PA1General-purpose I/OUSART2_RTS USART2_REMAP=0 USART2_REMAP: 0ADC12_IN1TIM2_CH2 TIM2_REMAP=00|10 TIM2_REMAP: 00 / 10

3.3V Only

[1] [4] [3]
12PA2General-purpose I/OUSART2_TX USART2_REMAP=0 USART2_REMAP: 0ADC12_IN2TIM2_CH3 TIM2_REMAP=00|01 TIM2_REMAP: 00 / 01

3.3V Only

[1] [4] [3]
13PA3General-purpose I/OUSART2_RX USART2_REMAP=0 USART2_REMAP: 0ADC12_IN3TIM2_CH4 TIM2_REMAP=00|01 TIM2_REMAP: 00 / 01

3.3V Only

[1] [4] [3]
14PA4General-purpose I/OSPI1_NSS SPI1_REMAP=0 SPI1_REMAP: 0USART2_CK USART2_REMAP=0 USART2_REMAP: 0ADC12_IN4

3.3V Only

[1] [4] [3]
15PA5General-purpose I/OSPI1_SCK SPI1_REMAP=0 SPI1_REMAP: 0ADC12_IN5

3.3V Only

[1] [4] [3]
16PA6General-purpose I/OSPI1_MISO SPI1_REMAP=0 SPI1_REMAP: 0ADC12_IN6TIM3_CH1 TIM3_REMAP=00 TIM3_REMAP: 00TIM1_BKIN TIM1_REMAP=01 TIM1_REMAP: 01

3.3V Only

[1] [4] [3]
17PA7General-purpose I/OSPI1_MOSI SPI1_REMAP=0 SPI1_REMAP: 0ADC12_IN7TIM3_CH2 TIM3_REMAP=00 TIM3_REMAP: 00TIM1_CH1N TIM1_REMAP=01 TIM1_REMAP: 01

3.3V Only

[1] [4] [3]
18PB0General-purpose I/OADC12_IN8TIM3_CH3 TIM3_REMAP=00|10 TIM3_REMAP: 00 / 10TIM1_CH2N TIM1_REMAP=01 TIM1_REMAP: 01

3.3V Only

[1] [4] [3]
19PB1General-purpose I/OADC12_IN9TIM3_CH4 TIM3_REMAP=00|10 TIM3_REMAP: 00 / 10TIM1_CH3N TIM1_REMAP=01 TIM1_REMAP: 01

3.3V Only

[1] [4] [3]
20PB2General-purpose I/O—

5V FT

PB2 also selects BOOT1. On Blue Pill it connects to the BOOT1 jumper and is not exposed on the side headers.

[1] [5] [3]
21PB10General-purpose I/OI2C2_SCLUSART3_TX USART3_REMAP=00 USART3_REMAP: 00TIM2_CH3 TIM2_REMAP=10|11 TIM2_REMAP: 10 / 11

5V FT

[1] [5] [3]
22PB11General-purpose I/OI2C2_SDAUSART3_RX USART3_REMAP=00 USART3_REMAP: 00TIM2_CH4 TIM2_REMAP=10|11 TIM2_REMAP: 10 / 11

5V FT

[1] [5] [3]
23VSS_1Ground——[1] [5]
24VDD_1Power——[1] [5]
25PB12General-purpose I/OSPI2_NSSI2C2_SMBAlUSART3_CK USART3_REMAP=00 USART3_REMAP: 00TIM1_BKIN TIM1_REMAP=00 TIM1_REMAP: 00

5V FT

[1] [5] [3]
26PB13General-purpose I/OSPI2_SCKUSART3_CTS USART3_REMAP=00|01 USART3_REMAP: 00 / 01TIM1_CH1N TIM1_REMAP=00 TIM1_REMAP: 00

5V FT

[1] [5] [3]
27PB14General-purpose I/OSPI2_MISOUSART3_RTS USART3_REMAP=00|01 USART3_REMAP: 00 / 01TIM1_CH2N TIM1_REMAP=00 TIM1_REMAP: 00

5V FT

[1] [5] [3]
28PB15General-purpose I/OSPI2_MOSITIM1_CH3N TIM1_REMAP=00 TIM1_REMAP: 00

5V FT

[1] [5] [3]
29PA8General-purpose I/OUSART1_CKTIM1_CH1 TIM1_REMAP=00|01 TIM1_REMAP: 00 / 01MCO

5V FT

[1] [6] [3]
30PA9General-purpose I/OUSART1_TX USART1_REMAP=0 USART1_REMAP: 0TIM1_CH2 TIM1_REMAP=00|01 TIM1_REMAP: 00 / 01

5V FT

[1] [6] [3]
31PA10General-purpose I/OUSART1_RX USART1_REMAP=0 USART1_REMAP: 0TIM1_CH3 TIM1_REMAP=00|01 TIM1_REMAP: 00 / 01

5V FT

[1] [6] [3]
32PA11General-purpose I/OUSART1_CTSCANRX CAN_REMAP=00 CAN_REMAP: 00USBDMTIM1_CH4 TIM1_REMAP=00|01 TIM1_REMAP: 00 / 01

5V FT

[1] [6] [3]
33PA12General-purpose I/OUSART1_RTSCANTX CAN_REMAP=00 CAN_REMAP: 00USBDPTIM1_ETR TIM1_REMAP=00|01 TIM1_REMAP: 00 / 01

5V FT

[1] [6] [3]
34PA13General-purpose I/OJTMSSWDIO

5V FT

Assigned to SWD/debug after reset. Releasing it for GPIO affects debugging; consider SWJ_CFG and the programming connection together.

[1] [6] [3]
35VSS_2Ground——[1] [6]
36VDD_2Power——[1] [6]
37PA14General-purpose I/OJTCKSWCLK

5V FT

Assigned to SWD/debug after reset. Releasing it for GPIO affects debugging; consider SWJ_CFG and the programming connection together.

[1] [7] [3]
38PA15General-purpose I/OTIM2_CH1_ETR TIM2_REMAP=01|11 TIM2_REMAP: 01 / 11SPI1_NSS SPI1_REMAP=1 SPI1_REMAP: 1JTDI

5V FT

Assigned to JTAG after reset. Release the pin with an appropriate SWJ_CFG setting before SPI/timer/GPIO use; SWD can remain enabled.

[1] [7] [3]
39PB3General-purpose I/OTIM2_CH2 TIM2_REMAP=01|11 TIM2_REMAP: 01 / 11TRACESWOSPI1_SCK SPI1_REMAP=1 SPI1_REMAP: 1JTDO

5V FT

Assigned to JTAG after reset. Release the pin with an appropriate SWJ_CFG setting before SPI/timer/GPIO use; SWD can remain enabled.

[1] [7] [3]
40PB4General-purpose I/OTIM3_CH1 TIM3_REMAP=10 TIM3_REMAP: 10SPI1_MISO SPI1_REMAP=1 SPI1_REMAP: 1JNTRST

5V FT

Assigned to JTAG after reset. Release the pin with an appropriate SWJ_CFG setting before SPI/timer/GPIO use; SWD can remain enabled.

[1] [7] [3]
41PB5General-purpose I/OI2C1_SMBAlTIM3_CH2 TIM3_REMAP=10 TIM3_REMAP: 10SPI1_MOSI SPI1_REMAP=1 SPI1_REMAP: 1

3.3V Only

[1] [7] [3]
42PB6General-purpose I/OI2C1_SCL I2C1_REMAP=0 I2C1_REMAP: 0TIM4_CH1 TIM4_REMAP=0 TIM4_REMAP: 0USART1_TX USART1_REMAP=1 USART1_REMAP: 1

5V FT

[1] [7] [3]
43PB7General-purpose I/OI2C1_SDA I2C1_REMAP=0 I2C1_REMAP: 0TIM4_CH2 TIM4_REMAP=0 TIM4_REMAP: 0USART1_RX USART1_REMAP=1 USART1_REMAP: 1

5V FT

[1] [7] [3]
44BOOT0System—

BOOT0 boot-mode selection input; not a general-purpose GPIO.

[1] [7]
45PB8General-purpose I/OTIM4_CH3 TIM4_REMAP=0 TIM4_REMAP: 0I2C1_SCL I2C1_REMAP=1 I2C1_REMAP: 1CANRX CAN_REMAP=10 CAN_REMAP: 10

5V FT

[1] [8] [3]
46PB9General-purpose I/OTIM4_CH4 TIM4_REMAP=0 TIM4_REMAP: 0I2C1_SDA I2C1_REMAP=1 I2C1_REMAP: 1CANTX CAN_REMAP=10 CAN_REMAP: 10

5V FT

[1] [8] [3]
47VSS_3Ground——[1] [8]
48VDD_3Power——[1] [8]

General usage notes

Configure the GPIO mode and any required AFIO remap setting. Peripherals sharing this pin cannot be used simultaneously.

Model-specific features and connection notes

Sources

Pin and warning references

  1. STM32F103x8 / STM32F103xB datasheet · PDF p. 26§3 · Figure 8 · LQFP48 perimeter numbering; no exposed center pad
  2. STM32F103x8 / STM32F103xB datasheet · PDF p. 28§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions
  3. STM32F103x8 / STM32F103xB datasheet · PDF p. 33Table 5 notes · FT qualification, PC13–PC15 limits and HSE remap restrictions
  4. STM32F103x8 / STM32F103xB datasheet · PDF p. 29§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions
  5. STM32F103x8 / STM32F103xB datasheet · PDF p. 30§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions
  6. STM32F103x8 / STM32F103xB datasheet · PDF p. 31§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions
  7. STM32F103x8 / STM32F103xB datasheet · PDF p. 32§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions
  8. STM32F103x8 / STM32F103xB datasheet · PDF p. 33§3 · Table 5 · LQFP columns, pin names, I/O tolerance and alternate functions

Technical sources (2)

  1. F103C8 specificationsSTMicroelectronics · Product overview · exact part; memory and core features
  2. F103C8 datasheetSTMicroelectronics · Features; device summary / ordering code; memory map; revision history; revision history: initial release 2007-06-01

Locked source documents

Pin reference · Datasheet