Skip to main content

STM32F103T8

Microcontroller

The STM32F103T8 is a microcontroller from STMicroelectronics. View the full STM32F103T8 datasheet below including electrical characteristics, absolute maximum ratings.

Manufacturer

STMicroelectronics

Overview

Part: STM32F103x6 STM32F103x8 STM32F103xB — STMicroelectronics

Type: ARM-based 32-bit MCU

Description: Performance line ARM Cortex-M3 32-bit RISC core MCU operating at 72 MHz, with up to 128 Kbytes Flash, up to 20 Kbytes SRAM, two 12-bit ADCs, seven 16-bit timers, USB, and CAN interfaces.

Operating Conditions:

  • Supply voltage: 2.0 to 3.6 V
  • Operating temperature: -40 to 85 °C (suffix-dependent — see Table 2 for grade-specific ranges)
  • Internal AHB clock frequency: 0 to 72 MHz

Absolute Maximum Ratings:

  • Max supply voltage: 4.0 V
  • Max continuous current: 150 mA (Total current into VDD power lines)
  • Max junction/storage temperature: +150 °C (Storage temperature range)

Key Specs:

  • CPU: ARM 32-bit Cortex™-M3
  • Max CPU frequency: 72 MHz
  • Flash memory: 32 to 128 Kbytes
  • SRAM: 6 to 20 Kbytes
  • ADC resolution: 12-bit
  • ADC channels: 16-channel (2 x 12-bit ADCs)
  • ADC conversion range: 0 to 3.6 V
  • I/O ports: Up to 80 fast I/O ports, 5 V-tolerant (except analog inputs)
  • SPI speed: 18 Mbit/s

Features:

  • Single-cycle multiplication and hardware division
  • POR, PDR, and programmable voltage detector (PVD)
  • 4-to-16 MHz crystal oscillator
  • Internal 8 MHz factory-trimmed RC
  • Internal 40 kHz RC
  • PLL for CPU clock
  • 32 kHz oscillator for RTC with calibration
  • Sleep, Stop and Standby low power modes
  • VBAT supply for RTC and backup registers
  • Temperature sensor
  • 7-channel DMA controller
  • Serial wire debug (SWD) & JTAG interfaces
  • Up to 7 timers (general purpose, advanced control, watchdog, SysTick)
  • Up to 9 communication interfaces (I2C, USART, SPI, CAN, USB)

Applications:

  • Motor drive and application control
  • Medical and handheld equipment
  • PC peripherals gaming and GPS platforms
  • Industrial applications: PLC, inverters, printers, and scanners
  • Alarm systems, Video intercom, and HVAC

Package:

  • VFQFPN36 6 × 6 mm
  • LQFP48 7 x 7 mm
  • LQFP64 10 x 10 mm
  • LQFP100 14 x 14 mm
  • BGA100 10 x 10 mm

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
  • -32 to 128 Kbytes of Flash memory
  • -6 to 20 Kbytes of SRAM
  • ■ 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
  • -PLL for CPU clock
  • -32 kHz oscillator for RTC with calibration
  • ■ Low power
  • -Sleep, Stop and Standby modes
  • -VBAT supply for RTC and backup registers
  • ■ 2 x 12-bit, 1 μs A/D converters (16-channel)
  • -Conversion range: 0 to 3.6 V
  • -Dual-sample and hold capability
  • -Temperature sensor
  • ■ DMA
  • -7-channel DMA controller
  • -Peripherals supported: timers, ADC, SPIs, I 2 Cs and USARTs
  • ■ Up to 80 fast I/O ports
  • -26/37/51/80 I/Os, all mappable on 16 external interrupt vectors, all 5 V-tolerant except for analog inputs

LQFP100 14 x 14 mm

LQFP48 7 x 7 mm

VFQFPN36 6 × 6 mm

  • ■ Debug mode
  • -Serial wire debug (SWD) & JTAG interfaces
  • ■ Up to 7 timers
  • -Up to three 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter
  • -16-bit, 6-channel advanced control timer: up to 6 channels for PWM output, deadtime generation and emergency stop
  • -2 watchdog timers (Independent and Window)
  • -SysTick timer: a 24-bit downcounter
  • ■ Up to 9 communication interfaces
  • -Up to 2 x I 2 C interfaces (SMBus/PMBus)
  • -Up to 3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
  • -Up to 2 SPIs (18 Mbit/s)
  • -CAN interface (2.0B Active)
  • -USB 2.0 full speed interface
  • ■ Packages are ECOPACK® (RoHS compliant)

Pin Configuration

Figure 2. STM32F103xx performance line BGA100 ballout

Figure 3. STM32F103xx performance line LQFP100 pinout

Figure 4. STM32F103xx performance line LQFP64 pinout

Figure 5. STM32F103xx performance line LQFP48 pinout

Figure 6. STM32F103xx VFQFPN36 pinout

Table 3. Pin definitions

PinsPinsPinsPinsPins(1)Level (2)Alternate functionsAlternate functions
BGA100LQFP48LQFP64LQFP100VFQFPN36Pin name(1)Level (2)Main function (3) (after reset)DefaultRemap
A3--1-PE2I/OFTPE2TRACECK
B3--2-PE3I/OFTPE3TRACED0
C3--3-PE4I/OFTPE4TRACED1
D3--4-PE5I/OFTPE5TRACED2
E3--5-PE6I/OFTPE6TRACED3
B2116-V BATSV BAT
A2227-PC13-TAMPER- RTC (4)I/OPC13 (5)TAMPER-RTC
A1338-PC14-OSC32_IN (4)I/OPC14 (5)OSC32_IN
B1449-PC15- OSC32_OUT (4)I/OPC15 (5)OSC32_OUT
C2--10-V SS_5SV SS_5
D2--11-V DD_5SV DD_5
C155122OSC_INIOSC_IN
D166133OSC_OUTOOSC_OUT
E177144NRSTI/ONRST
F1-815-PC0I/OPC0ADC12_IN10
F2-916-PC1I/OPC1ADC12_IN11
E2-1017-PC2I/OPC2ADC12_IN12
F3-1118-PC3I/OPC3ADC12_IN13
G1812195V SSASV SSA
H1--20-V REF-SV REF-
J1--21-V REF+SV REF+
K1913226V DDASV DDA
G21014237PA0-WKUPI/OPA0WKUP/USART2_ CTS (7) / ADC12_IN0/ TIM2_CH1_ETR (7)
H21115248PA1I/OPA1USART2_RTS (7) / ADC12_IN1/ TIM2_CH2 (7)
J21216259PA2I/OPA2USART2_TX (7) / ADC12_IN2/ TIM2_CH3 (7)

Table 3. Pin definitions (continued)

PinsPinsPinsPinsPins(1)Level (2)Main function (3)Alternate functionsAlternate functions
BGA100LQFP48LQFP64LQFP100VFQFPN36Pin name(1)Level (2)(after reset)DefaultRemap
K213172610PA3I/OPA3USART2_RX (7) / ADC12_IN3/ TIM2_CH4 (7)
E4-1827-V SS_4SV SS_4
F4-1928-V DD_4SV DD_4
G314202911PA4I/OPA4SPI1_NSS (7) / USART2_CK (7) / ADC12_IN4
H315213012PA5I/OPA5SPI1_SCK (7) / ADC12_IN5
J316223113PA6I/OPA6SPI1_MISO (7) / ADC12_IN6/ TIM3_CH1 (7)TIM1_BKIN
K317233214PA7I/OPA7SPI1_MOSI (7) / ADC12_IN7/ TIM3_CH2 (7)TIM1_CH1N
G4-2433PC4I/OPC4ADC12_IN14
H4-2534PC5I/OPC5ADC12_IN15
J418263515PB0I/OPB0ADC12_IN8/ TIM3_CH3 (7)TIM1_CH2N
K419273616PB1I/OPB1ADC12_IN9/ TIM3_CH4 (7)TIM1_CH3N
G520283717PB2 / BOOT1I/OFTPB2/BOOT1
H5--38-PE7I/OFTPE7TIM1_ETR
J5--39-PE8I/OFTPE8TIM1_CH1N
K5--40-PE9I/OFTPE9TIM1_CH1
G6--41-PE10I/OFTPE10TIM1_CH2N
H6--42-PE11I/OFTPE11TIM1_CH2
J6--43-PE12I/OFTPE12TIM1_CH3N
K6--44-PE13I/OFTPE13TIM1_CH3
G7--45-PE14I/OFTPE14TIM1_CH4
H7--46-PE15I/OFTPE15TIM1_BKIN
J7212947-PB10I/OFTPB10I2C2_SCL/ USART3_TX (6)(7)TIM2_CH3
K7223048-PB11I/OFTPB11I2C2_SDA/ USART3_RX (6)(7)TIM2_CH4
E723314918V SS_1SV SS_1

Table 3. Pin definitions (continued)

PinsPinsPinsPinsPins(2)Main (3)Alternate functionsAlternate functions
BGA100LQFP48LQFP64LQFP100VFQFPN36Pin nameType (1)I / O Levelfunction (after reset)DefaultRemap
F724325019V DD_1SV DD_1
K8253351-PB12I/OFTPB12SPI2_NSS (6) / I2C2_SMBAl (6) / USART3_CK (6)(7) / TIM1_BKIN (7)
J8263452-PB13I/OFTPB13SPI2_SCK (6) / USART3_CTS (6)(7) TIM1_CH1N (7)
H8273553-PB14I/OFTPB14SPI2_MISO (6) / USART3_RTS (6)(7) TIM1_CH2N (7)
G8283654-PB15I/OFTPB15SPI2_MOSI (6) / TIM1_CH3N (7)
K9--55-PD8I/OFTPD8USART3_TX
J9--56-PD9I/OFTPD9USART3_RX
H9--57-PD10I/OFTPD10USART3_CK
G9--58-PD11I/OFTPD11USART3_CTS
K10--59-PD12I/OFTPD12TIM4_CH1 / USART3_RTS
J10--60-PD13I/OFTPD13TIM4_CH2
H10--61-PD14I/OFTPD14TIM4_CH3
G10--62-PD15I/OFTPD15TIM4_CH4
F10-3763-PC6I/OFTPC6TIM3_CH1
E103864-PC7I/OFTPC7TIM3_CH2
F93965-PC8I/OFTPC8TIM3_CH3
E9-4066-PC9I/OFTPC9TIM3_CH4
D929416720PA8I/OFTPA8USART1_CK/ TIM1_CH1 (7) /MCO
C930426821PA9I/OFTPA9USART1_TX (7) / TIM1_CH2 (7)
D1031436922PA10I/OFTPA10USART1_RX (7) / TIM1_CH3 (7)
C1032447023PA11I/OFTPA11USART1_CTS/ CANRX (7) / TIM1_CH4 (7) / USBDM

Table 3. Pin definitions (continued)

PinsPinsPinsPinsPins(1)(2)Alternate functionsAlternate functions
BGA100LQFP48LQFP64LQFP100VFQFPN36Pin nameTypeI / O LevelMain function (3) (after reset)DefaultRemap
B1033457124PA12I/OFTPA12USART1_RTS/ CANTX (7) / TIM1_ETR (7) / USBDP
A1034467225PA13/JTMS/SWDIOI/OFTJTMS/SWDIOPA13
F8--73-Not connectedNot connectedNot connected
E635477426V SS_2SV SS_2
F636487527V DD_2SV DD_2
A937497628PA14/JTCK/SWCLKI/OFTJTCK/SWCLKPA14
A838507729PA15/JTDII/OFTJTDIPA15TIM2_CH1_ETR/ SPI1_NSS
B9-5178PC10I/OFTPC10USART3_TX
B8-5279PC11I/OFTPC11USART3_RX
C8-5380PC12I/OFTPC12USART3_CK
D855812PD0I/OFTOSC_IN (8)CANRX
E866823PD1I/OFTOSC_OUT (8)CANTX
B75483-PD2I/OFTPD2TIM3_ETR
C7--84-PD3I/OFTPD3USART2_CTS
D7--85-PD4I/OFTPD4USART2_RTS
B6--86-PD5I/OFTPD5USART2_TX
C6--87-PD6I/OFTPD6USART2_RX
D6--88-PD7I/OFTPD7USART2_CK
A739558930PB3/JTDOI/OFTJTDOPB3/TRACESWOTIM2_CH2 / SPI1_SCK
A640569031PB4/JNTRSTI/OFTJNTRSTPB4TIM3_CH1 / SPI1_MISO
C541579132PB5I/OPB5I2C1_SMBAlTIM3_CH2 / SPI1_MOSI
B542589233PB6I/OFTPB6I2C1_SCL (7) / TIM4_CH1 (6)(7)USART1_TX
A543599334PB7I/OFTPB7I2C1_SDA (7) / TIM4_CH2 (6) (7)USART1_RX
D544609435BOOT0IBOOT0
B4456195-PB8I/OFTPB8TIM4_CH3 (6) (7)I2C1_SCL / CANRX

Table 3. Pin definitions (continued)

Table 3. Pin definitions (continued)

PinsPinsPinsPinsPins(1)(2)Alternate functionsAlternate functions
BGA100LQFP48LQFP64LQFP100VFQFPN36Pin nameTypeI / O LevelMain function (3) (after reset)DefaultRemap
A4466296-PB9I/OFTPB9TIM4_CH4 (6) (7)I2C1_SDA / CANTX
D4--97-PE0I/OFTPE0TIM4_ETR (6)
C4--98-PE1I/OFTPE1
E547639936V SS_3SV SS_3
F548641001V DD_3SV DD_3

The use of PD0 and PD1 in output mode is limited as they can only be used at 50 MHz in output mode.

Electrical Characteristics

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

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

Table 35. 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 V2MHz
10t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 3.6 V125 (3)ns
10t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 3.6 V125 (3)ns
01f max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2 V to 3.6 V10MHz
01t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 3.6 V25 (3)ns
01t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 3.6 V25 (3)ns
11F max(IO)outMaximum frequency (2)C L = 30 pF, V DD = 2.7 V to 3.6 V50MHz
11F max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2.7 V to 3.6 V30MHz
11F max(IO)outMaximum frequency (2)C L = 50 pF, V DD = 2 V to 2.7 V20MHz
11t f(IO)outOutput high to low level fall timeC L = 30 pF, V DD = 2.7 V to 3.6 V5 (3)ns
11t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2.7 V to 3.6 V8 (3)ns
11t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 2 V to 2.7 V12 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 30 pF, V DD = 2.7 V to 3.6 V5 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2.7 V to 3.6 V8 (3)ns
11t r(IO)outOutput low to high level rise timeC L = 50 pF, V DD = 2 V to 2.7 V12 (3)ns
-t EXTIpwPulse width of external signals detected by the EXTI controller10ns
  1. The maximum frequency is defined in Figure 21 .
  2. Values based on design simulation and validated on silicon, not tested in production.

Figure 21. I/O AC characteristics definition

Figure 21. I/O AC characteristics definition

Absolute Maximum Ratings

Stresses above the absolute maximum ratings listed in Table 4: Voltage characteristics , Table 5: Current characteristics , and Table 6: 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 4. Voltage characteristics

SymbolRatingsMinMaxUnit
V DD -V SSExternal main supply voltage (including V DDA and V DD ) (1)-0.34.0V
V INInput voltage on five volt tolerant pin (2)V SS - 0.3+5.5V
V INInput voltage on any other pin (2)V SS - 0.3V DD +0.3V
\∆ V DDx \Variations between different power pins50
\V SSX - V SS \Variations between all the different ground pins50
V ESD(HBM)Electrostatic discharge voltage (human body model)see Section 5.3.11: Absolute maximum ratings (electrical sensitivity)see Section 5.3.11: Absolute maximum ratings (electrical sensitivity)
SymbolRatingsMax.Unit
I VDDTotal current into V DD 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)(3)Injected current on NRST pin± 5mA
I INJ(PIN) (2)(3)Injected current on HSE OSC_IN and LSE OSC_IN pins± 5mA
I INJ(PIN) (2)(3)Injected current on any other pin (4)± 5mA
Σ I INJ(PIN) (2)Total injected current (sum of all I/O and control pins) (4)± 25mA
  1. 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). These results are based on characterization with Σ I INJ(PIN) maximum current injection on four I/O port pins of the device.

Table 6. Thermal characteristics

SymbolRatingsValueUnit
T STGStorage temperature range-65 to +150°C
T JMaximum junction temperature (see Thermal characteristics)Maximum junction temperature (see Thermal characteristics)Maximum junction temperature (see Thermal characteristics)

Thermal Information

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

Where:

  • T A is the Ambient Temperature in ° C,
  • Θ JA is the Package Junction-to-Ambient Thermal Resistance, in ° C/W,
  • PD is the sum of P INT and P I/O (P D = P INT + P I/O ),
  • PINT is the product of I DD and VDD , expressed in Watts. This is the Chip Internal Power.

PI/O represents the Power Dissipation on Input and Output Pins;

Most of the time for the application P I/O < PINT and can be neglected. On the other hand, P I/O may be significant if the device is configured to drive continuously external modules and/or memories.

An approximate relationship between P D and T J (if P I/O is neglected) is given by:

Therefore (solving equations 1 and 2):

where:

K is a constant for the particular part, which may be determined from equation (3) by measuring P D (at equilibrium) for a known T A. Using this value of K, the values of P D and T J may be obtained by solving equations (1) and (2) iteratively for any value of T A .

Table 53. Thermal characteristics

SymbolParameterValueUnit
Θ JAThermal resistance junction-ambient LFBGA100 - 10 x 10 mm/ 0.5 mm pitch41°C/W
Θ JAThermal resistance junction-ambient LQFP100 - 14 x 14 mm/ 0.5 mm pitch46°C/W
Θ JAThermal Resistance Junction-Ambient LQFP64 - 10 x 10 mm/ 0.5 mm pitch45°C/W
Θ JAThermal resistance junction-ambient LQFP48 - 7 x 7 mm / 0.5 mm pitch55°C/W
Θ JAThermal resistance junction-ambient VFQFPN 36 - 6 x 6 mm / 0.5 mm pitch18°C/W

Table 53. Thermal characteristics

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
STM32F103C6STMicroelectronics
STM32F103C8STMicroelectronics
STM32F103C8T6STMicroelectronics48-LQFP
STM32F103CBSTMicroelectronics
STM32F103CBT6STMicroelectronics48-LQFP
STM32F103CXSTMicroelectronics
STM32F103R6STMicroelectronics
STM32F103R8STMicroelectronics
STM32F103RBSTMicroelectronics
STM32F103RXSTMicroelectronics
STM32F103T6STMicroelectronics
STM32F103TXSTMicroelectronics
STM32F103V8STMicroelectronics
STM32F103VBSTMicroelectronics
STM32F103VXSTMicroelectronics
STM32F103X6STMicroelectronics
STM32F103X8STMicroelectronics
STM32F103XBSTMicroelectronics
STM32F103XXSTMicroelectronics
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