Skip to main content

STM32F103XX

Microcontroller

The STM32F103XX is a microcontroller from STMicroelectronics. View the full STM32F103XX datasheet below including key specifications, pinout, electrical characteristics, absolute maximum ratings.

Manufacturer

STMicroelectronics

Key Specifications

ParameterValue
ConnectivityCANbus, I2C, IrDA, LINbus, SPI, UART/USART, USB
Core ProcessorARM® Cortex®-M3
Core Size32-Bit
Data ConvertersA/D 16x12b; D/A 2x12b
DigiKey ProgrammableNot Verified
DigiKey ProgrammableNot Verified
DigiKey ProgrammableNot Verified
Mounting TypeSurface Mount
Number of I/O51
Operating Temperature-40°C ~ 85°C (TA)
Oscillator TypeInternal
Oscillator TypeInternal
Oscillator TypeInternal
Package / Case64-LQFP
PeripheralsDMA, Motor Control PWM, PDR, POR, PVD, PWM, Temp Sensor, WDT
Flash Memory Size256KB (256K x 8)
Program Memory TypeFLASH
RAM Size48K x 8 B
Clock Speed72MHz
Supply Voltage2V ~ 3.6V

Overview

Part: STM32F103xC, STM32F103xD, STM32F103xE

Type: ARM Cortex-M3 MCU

Description: ARM-based 32-bit MCU with 256 to 512KB Flash, USB, CAN, 11 timers, 3 ADCs, 13 communication interfaces, and up to 72 MHz maximum frequency.

Operating Conditions:

  • Supply voltage: 2.0 to 3.6 V
  • Operating temperature: -40 to +125 °C (Junction temperature)
  • Max CPU frequency: 72 MHz
  • ADC conversion range: 0 to 3.6 V

Absolute Maximum Ratings:

  • Max supply voltage: 4.0 V
  • Max continuous current: 200 mA (VDD)
  • Max junction/storage temperature: -65 to +150 °C (Storage temperature)

Key Specs:

  • CPU: ARM 32-bit Cortex-M3
  • Max CPU frequency: 72 MHz
  • Flash memory: 256 to 512 Kbytes
  • SRAM: up to 64 Kbytes
  • ADC resolution: 12-bit
  • DAC resolution: 12-bit
  • SPI speed: 18 Mbit/s
  • DMIPS/MHz: 1.25 DMIPS/MHz (Dhrystone 2.1)

Features:

  • Single-cycle multiplication and hardware division
  • Flexible static memory controller (FSMC)
  • LCD parallel interface (8080/6800 modes)
  • Power-on reset (POR), Power-down reset (PDR), Programmable voltage detector (PVD)
  • Low-power modes: Sleep, Stop, Standby
  • 12-channel DMA controller
  • Serial wire debug (SWD) & JTAG interfaces
  • CRC calculation unit, 96-bit unique ID
  • ECOPACK® packages

Package:

  • LFBGA144 (144-ball)
  • LFBGA100 (100-ball)
  • WLCSP64 (64-ball)
  • LQFP144 (144-pin)
  • LQFP64 (64-pin)

Features

  • Core: ARM ® 32-bit Cortex ® -M3 CPU
  • -72 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access
  • -Single-cycle multiplication and hardware division
  • Memories
  • -256 to 512 Kbytes of Flash memory
  • -up to 64 Kbytes of SRAM
  • -Flexible static memory controller with 4 Chip Select. Supports Compact Flash, SRAM, PSRAM, NOR and NAND memories
  • -LCD parallel interface, 8080/6800 modes
  • Clock, reset and supply management
  • -2.0 to 3.6 V application supply and I/Os
  • -POR, PDR, and programmable voltage detector (PVD)
  • -4-to-16 MHz crystal oscillator
  • -Internal 8 MHz factory-trimmed RC
  • -Internal 40 kHz RC with calibration
  • -32 kHz oscillator for RTC with calibration
  • Low power
  • -Sleep, Stop and Standby modes
  • -VBAT supply for RTC and backup registers
  • 3 × 12-bit, 1 μs A/D converters (up to 21 channels)
  • -Conversion range: 0 to 3.6 V
  • -Triple-sample and hold capability
  • -Temperature sensor
  • 2 × 12-bit D/A converters
  • DMA: 12-channel DMA controller
  • -Supported peripherals: timers, ADCs, DAC, SDIO, I 2 Ss, SPIs, I 2 Cs and USARTs
  • Debug mode
  • -Serial wire debug (SWD) & JTAG interfaces
  • -Cortex ® -M3 Embedded Trace Macrocell™
  • Up to 112 fast I/O ports
  • -51/80/112 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant

Pin Configuration

STM32F103XX Pinout

Based on the datasheet provided, the STM32F103XX family includes multiple package variants (LQFP64, LQFP100, LQFP144, BGA100, BGA144, WLCSP64). Since you requested STM32F103XX without specifying a package, I am providing the LQFP144 pinout (the highest pin-count variant shown in Table 5), which is the most complete representation of the family.

LQFP144 Pinout

PinNameTypeMain FunctionAlternate Functions
1PE2I/O FTPE2TRACECK/FSMC_A23
2PE3I/O FTPE3TRACED0/FSMC_A19
3PE4I/O FTPE4TRACED1/FSMC_A20
4PE5I/O FTPE5TRACED2/FSMC_A21
5PE6I/O FTPE6TRACED3/FSMC_A22
6VBATSVBAT
7PC13-TAMPER-RTCI/OPC13TAMPER-RTC
8PC14-OSC32_INI/OPC14OSC32_IN
9PC15-OSC32_OUTI/OPC15OSC32_OUT
10PF0I/O FTPF0FSMC_A0
11PF1I/O FTPF1FSMC_A1
12PF2I/O FTPF2FSMC_A2
13PF3I/O FTPF3FSMC_A3
14PF4I/O FTPF4FSMC_A4
15PF5I/O FTPF5FSMC_A5
16VSS_5SVSS_5
17VDD_5SVDD_5
18PF6I/OPF6ADC3_IN4/FSMC_NIORD
19PF7I/OPF7ADC3_IN5/FSMC_NREG
20PF8I/OPF8ADC3_IN6/FSMC_NIOWR
21PF9I/OPF9ADC3_IN7/FSMC_CD
22PF10I/OPF10ADC3_IN8/FSMC_INTR
23OSC_INIOSC_IN
24OSC_OUTOOSC_OUT
25NRSTI/ONRST
26PC0I/OPC0ADC123_IN10
27PC1I/OPC1ADC123_IN11
28PC2I/OPC2ADC123_IN12
29PC3I/OPC3ADC123_IN13
30VSSASVSSA
31VREF-SVREF-
32VREF+SVREF+
33VDDASVDDA
34PA0-WKUPI/OPA0 WKUPUSART2_CTS/ADC123_IN0/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR
35PA1I/OPA1USART2_RTS/ADC123_IN1/TIM5_CH2/TIM2_CH2
36PA2I/OPA2USART2_TX/ADC123_IN2/TIM5_CH3/TIM2_CH3
37PA3I/OPA3USART2_RX/ADC123_IN3/TIM5_CH4/TIM2_CH4
38VSS_4SVSS_4
39VDD_4SVDD_4
40PA4I/OPA4SPI1_NSS/USART2_CK/DAC_OUT1/ADC12_IN4
41PA5I/OPA5SPI1_SCK/DAC_OUT2/ADC12_IN5
42PA6I/OPA6SPI1_MISO/TIM8_BKIN/ADC12_IN6/TIM3_CH1 (Remap: TIM1_BKIN)
43PA7I/OPA7SPI1_MOSI/TIM8_CH1N/ADC12_IN7/TIM3_CH2 (Remap: TIM1_CH1N)
44PC4I/OPC4ADC12_IN14
45PC5I/OPC5ADC12_IN15
46PB0I/OPB0ADC12_IN8/TIM3_CH3/TIM8_CH2N (Remap: TIM1_CH2N)
47PB1I/OPB1ADC12_IN9/TIM3_CH4/TIM8_CH3N (Remap: TIM1_CH3N)
48PB2I/O FTPB2/BOOT1
49PF11I/O FTPF11FSMC_NIOS16
50PF12I/O FTPF12FSMC_A6
51VSS_6SVSS_6
52VDD_6SVDD_6
53PF13I/O FTPF13FSMC_A7
54PF14I/O FTPF14FSMC_A8
55PF15I/O FTPF15FSMC_A9
56PG0I/O FTPG0FSMC_A10
57PG1I/O FTPG1FSMC_A11
58PE7I/O FTPE7FSMC_D4 (Remap: TIM1_ETR)
59PE8I/O FTPE8FSMC_D5 (Remap: TIM1_CH1N)
60PE9I/O FTPE9FSMC_D6 (Remap: TIM1_CH1)
61VSS_7SVSS_7
62VDD_7SVDD_7
63PE10I/O FTPE10FSMC_D7 (Remap: TIM1_CH2N)
64PE11I/O FTPE11FSMC_D8 (Remap: TIM1_CH2)
65PE12I/O FTPE12FSMC_D9 (Remap: TIM1_CH3N)
66PE13I/O FTPE13FSMC_D10 (Remap: TIM1_CH3)
67PE14I/O FTPE14FSMC_D11 (Remap: TIM1_CH4)
68PE15I/O FTPE15FSMC_D12 (Remap: TIM1_BKIN)
69PB10I/O FTPB10I2C2_SCL/USART3_TX (Remap: TIM2_CH3)
70PB11I/O FTPB11I2C2_SDA/USART3_RX (Remap: TIM2_CH4)
71VSS_1SVSS_1
72VDD_1SVDD_1
73PB12I/O FTPB12SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN
74PB13I/O FTPB13SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N
75PB14I/O FTPB14SPI2_MISO/TIM1_CH2N/USART3_RTS
76PB15I/O FTPB15SPI2_MOSI/I2S2_SD/TIM1_CH3N
77PD8I/O FTPD8FSMC_D13 (Remap: USART3_TX)
78PD9I/O FTPD9FSMC_D14 (Remap: USART3_RX)
79PD10I/O FTPD10FSMC_D15 (Remap: USART3_CK)
80PD11I/O FTPD11FSMC_A16 (Remap: USART3_CTS)
81PD12I/O FTPD12FSMC_A17 (Remap: TIM4_CH1/USART3_RTS)
82PD13I/O FTPD13FSMC_A18 (Remap: TIM4_CH2)
83VSS_8SVSS_8
84VDD_8SVDD_8
85PD14I/O FTPD14FSMC_D0 (Remap: TIM4_CH3)
86PD15I/O FTPD15FSMC_D1 (Remap: TIM4_CH4)
87PG2I/O FTPG2FSMC_A12
88PG3I/O FTPG3FSMC_A13
89PG4I/O FTPG4FSMC_A14
90PG5I/O FTPG5FSMC_A15
91PG6I/O FTPG6FSMC_INT2
92PG7I/O FTPG7FSMC_INT3
93PG8I/O FTPG8
94VSS_9SVSS_9
95VDD_9SVDD_9
96PC6I/O FTPC6I2S2_MCK/TIM8_CH1/SDIO_D6 (Remap: TIM3_CH1)
97PC7I/O FTPC7I2S3_MCK/TIM8_CH2/SDIO_D7 (Remap: TIM3_CH2)
98PC8I/O FTPC8TIM8_CH3/SDIO_D0 (Remap: TIM3_CH3)
99PC9I/O FTPC9TIM8_CH4/SDIO_D1 (Remap: TIM3_CH4)
100PA8I/O FTPA8USART1_CK/TIM1_CH1/MCO
101PA9I/O FTPA9USART1_TX/TIM1_CH2
102PA10I/O FTPA10USART1_RX/TIM1_CH3
103PA11I/O FTPA11USART1_CTS/USBDM/CAN_RX/TIM1_CH4
104PA12I/O FTPA12USART1_RTS/USBDP/CAN_TX/TIM1_ETR
105PA13I/O FTJTMS-SWDIOPA13
106NCNot connected
107VSS_2SVSS_2
108VDD_2SVDD_2
109PA14I/O FTJTCK-SWCLKPA14
110PA15I/O FTJTDISPI3_NSS/I2S3_WS/TIM2_CH1_ETR/PA15/SPI1_NSS
111PC10I/O FTPC10UART4_TX/SDIO_D2 (Remap: USART3_TX)
112PC11I/O FTPC11UART4_RX/SDIO_D3 (Remap: USART3_RX)
113PC12I/O FTPC12UART5_TX/SDIO_CK (Remap: USART3_CK)
114PD0I/O FTOSC_INFSMC_D2/CAN_RX
115PD1I/O FTOSC_OUTFSMC_D3/CAN_TX
116PD2I/O FTPD2TIM3_ETR/UART5_RX/SDIO_CMD
117PD3I/O FTPD3FSMC_CLK (Remap: USART2_CTS)
118PD4I/O FTPD4FSMC_NOE (Remap: USART2_RTS)
119PD5I/O FTPD5FSMC_NWE (Remap: USART2_TX)
120VSS_10SVSS_10
121VDD_10SVDD_10
122PD6I/O FTPD6FSMC_NWAIT (Remap: USART2_RX)
123PD7I/O FTPD7FSMC_NE1/FSMC_NCE2 (Remap: USART2_CK)
124PG9I/O FTPG9FSMC_NE2/FSMC_NCE3
125PG10I/O FTPG10FSMC_NCE4_1/FSMC_NE3
126PG11I/O FTPG11FSMC_NCE4_2
127PG12I/O FTPG12FSMC_NE4
128PG13I/O FTPG13FSMC_A24
129PG14I/O FTPG14FSMC_A25
130VSS_11SVSS_11
131VDD_11SVDD_11
132PG15I/O FTPG15
133PB3/TRACESWOI/O FTJTDOSPI3_SCK/I2S3_CK/PB3/TRACESWO/TIM2_CH2/SPI1_SCK
134PB4I/O FTNJTRSTSPI3_MISO/PB4/TIM3_CH1/SPI1_MISO
135PB5I/OPB5I2C1_SMBA/SPI3_MOSI/I2S3_SD (Remap: TIM3_CH2/SPI1_MOSI)
136PB6I/O FTPB6I2C1_SCL/TIM4_CH1 (Remap: USART1_TX)
137PB7I/O FTPB7I2C1_SDA/FSMC_NADV/TIM4_CH2 (Remap: USART1_RX)
138BOOT0IBOOT0
139PB8I/O FTPB8TIM4_CH3/SDIO_D4 (Remap: I2C1_SCL/CAN_RX)
140PB9I/O FTPB9TIM4_CH4/SDIO_D5 (Remap: I2C1_SDA/CAN_TX)
141PE0I/O FTPE0TIM4_ETR/FSMC_NBL0
142PE1I/O FTPE1FSMC_NBL1
143VSS_3SVSS_3
144VDD_3SVDD_3

Notes

  • Package: LQFP144 (144-pin Low-Profile Quad Flat Package)
  • FT designation: 5V-tolerant pins
  • PC13, PC14, PC15: Limited output capability (2 MHz max, 30 pF max load, 3 mA max sink current) due to power-switch supply
  • Alternate functions: Many pins support remappable alternate functions via software configuration in the RCC peripheral clock enable registers
  • FSMC pins: Ports F and G are not available in 100-pin packages; see Table 6 for detailed FSMC pin assignments
  • PD0/PD1: In LQFP64, these pins are configured as OSC_IN/OSC_OUT after reset; in LQFP100/144, they are available by default
  • JTAG/SWD: PA13 (JTMS-SWDIO), PA14 (JTCK-SWCLK), PA15 (JTDI), PB3 (JTDO), PB4 (NJTRST) are debug pins

Electrical Characteristics

The definition and values of input/output AC characteristics are given in Figure 46 and Table 48 , respectively.

Unless otherwise specified, the parameters given in Table 48 are derived from tests performed under ambient temperature and V DD supply voltage conditions summarized in Table 10 .

Table 48. I/O AC characteristics (1)

MODEx[1:0] bit value (1)SymbolParameterConditionsMinMaxUnit
10f max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2 V to 3.6 V-2MHz
10t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 3.6 V-125 (3)ns
10t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 3.6 V-125 (3)ns
01f max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2 V to 3.6 V-10MHz
01t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 3.6 V-25 (3)ns
01t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 3.6 V-25 (3)ns
11F max(IO)outMaximum frequency (2)C L = 30 pF, V DD = 2.7 V to 3.6 V-50MHz
11F max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2.7 V to 3.6 V-30MHz
11F max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2 V to 2.7 V-20MHz
11t f(IO)outOutput high to low level fall timeC L = 30 pF, V DD = 2.7 V to 3.6 V-5 (3)ns
11t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2.7 V to 3.6 V-8 (3)ns
11t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 2.7 V-12 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 30 pF, V DD = 2.7 V to 3.6 V-5 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2.7 V to 3.6 V-8 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 2.7 V-12 (3)ns
-t EXTIpwPulse width of external signals detected by the EXTI controller-10-ns
  1. The maximum frequency is defined in Figure 46 .
  2. Guaranteed by design.

Figure 46. I/O AC characteristics definition

Figure 46. I/O AC characteristics definition

Absolute Maximum Ratings

Stresses above the absolute maximum ratings listed in Table 7: Voltage characteristics , Table 8: Current characteristics , and Table 9: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

Table 7. Voltage characteristics

SymbolRatingsMinMaxUnit
V DD -V SSExternal main supply voltage (including V DDA and V DD ) (1)-0.34.0V
V IN (2)Input voltage on five volt tolerant pinV SS - 0.3V DD + 4.0V
V IN (2)Input voltage on any other pinV SS - 0.34.0V
\∆ V DDx \Variations between different V DD power pins-
\V SSX - V SS \Variations between all the different ground pins (3)-
V ESD(HBM)Electrostatic discharge voltage (human body model)see Section 5.3.12: Absolute maximum ratings (electrical sensitivity)see Section 5.3.12: Absolute maximum ratings (electrical sensitivity)-

Table 8. Current characteristics

Table 8. Current characteristics

SymbolRatingsMax.Unit
I VDDTotal current into V DD /V DDA power lines (source) (1)150mA
I VSSTotal current out of V SS ground lines (sink) (1)150mA
I IOOutput current sunk by any I/O and control pin25mA
I IOOutput current source by any I/Os and control pin- 25mA
I INJ(PIN) (2)Injected current on five volt tolerant pins (3)-5/+0mA
I INJ(PIN) (2)Injected current on any other pin (4)± 5mA
Σ I INJ(PIN)Total injected current (sum of all I/O and control pins) (5)± 25mA
  1. Positive injection is not possible on these I/Os. A negative injection is induced by V IN <VSS . I INJ(PIN) must never be exceeded. Refer to Table 7: Voltage characteristics for the maximum allowed input voltage values.
  2. A positive injection is induced by V IN >VDD while a negative injection is induced by V IN <VSS . I INJ(PIN) must never be exceeded. Refer to Table 7: Voltage characteristics for the maximum allowed input voltage values.
  3. When several inputs are submitted to a current injection, the maximum Σ I INJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values).

136

Table 9. Thermal characteristics

SymbolRatingsValueUnit
T STGStorage temperature range-65 to +150°C
T JMaximum junction temperature150°C

Thermal Information

The maximum chip junction temperature (T J max) must never exceed the values given in Table 10: General operating conditions on page 44 .

The maximum chip-junction temperature, T J max, in degrees Celsius, may be calculated using the following equation:

Package Information

In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK ® packages, depending on their level of environmental compliance. ECOPACK ® specifications, grade definitions and product status are available at: www.st.com . ECOPACK ® is an ST trademark.

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
STM32F103RCSTMicroelectronics
STM32F103RCT6STMicroelectronics64-LQFP
STM32F103RDSTMicroelectronics
STM32F103RESTMicroelectronics
STM32F103RXSTMicroelectronics
STM32F103VCSTMicroelectronics
STM32F103VDSTMicroelectronics
STM32F103VESTMicroelectronics
STM32F103VXSTMicroelectronics
STM32F103X4STMicroelectronics
STM32F103X4/6STMicroelectronics
STM32F103X6STMicroelectronics
STM32F103X8STMicroelectronics
STM32F103X8/BSTMicroelectronics
STM32F103XBSTMicroelectronics
STM32F103XCSTMicroelectronics
STM32F103XC/D/ESTMicroelectronics
STM32F103XDSTMicroelectronicsLQFP64 10 × 10 mm
STM32F103XESTMicroelectronics
STM32F103XESTM32F103XFSTMicroelectronics
STM32F103XFSTMicroelectronics
STM32F103XGSTMicroelectronics
STM32F103XGSTM32F103XFSTMicroelectronicsLQFP-28
STM32F103ZCSTMicroelectronics
STM32F103ZDSTMicroelectronics
STM32F103ZESTMicroelectronics
STM32F103ZXSTMicroelectronicsLQFP64 1
Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free