STM32F103CBTx
STM32F103xC STM32F103xD STM32F103xE
Manufacturer
st
Overview
Part: STM32F103xC STM32F103xD STM32F103xE
Type: High-density performance line ARM-based 32-bit MCU
Key Specs:
- Core: ARM 32-bit Cortex™-M3 CPU
- Maximum Frequency: 72 MHz
- Flash Memory: 256 to 512 Kbytes
- SRAM: Up to 64 Kbytes
- Application Supply Voltage: 2.0 to 3.6 V
- A/D Converters: 3 × 12-bit, 1 μs (up to 21 channels)
- D/A Converters: 2 × 12-bit
- Timers: Up to 11
- Communication Interfaces: Up to 13
- I/O Ports: Up to 112
Features:
- 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access
- Single-cycle multiplication and hardware division
- Flexible static memory controller with 4 Chip Select. Supports Compact Flash, SRAM, PSRAM, NOR and NAND memories
- LCD parallel interface, 8080/6800 modes
- POR, PDR, and programmable voltage
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, I2Ss, SPIs, I2Cs 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
- Up to 11 timers
- Up to four 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
- 2 × 16-bit motor control PWM timers with dead-time generation and emergency stop
- 2 × watchdog timers (Independent and Window)
- SysTick timer: a 24-bit downcounter
- 2 × 16-bit basic timers to drive the DAC
- Up to 13 communication interfaces
- Up to 2 × I2C interfaces (SMBus/PMBus)
- Up to 5 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
- Up to 3 SPIs (18 Mbit/s), 2 with I2S interface multiplexed
- CAN interface (2.0B Active)
- USB 2.0 full speed interface
- SDIO interface
- CRC calculation unit, 96-bit unique ID
- ECOPACK® packages
Table 1. Device summary
| Reference | Part number |
|---|---|
| STM32F103xC | STM32F103RC STM32F103VC STM32F103ZC |
| STM32F103xD | STM32F103RD STM32F103VD STM32F103ZD |
| STM32F103xE | STM32F103RE STM32F103ZE STM32F103VE |
Pin Configuration
Figure 3. STM32F103xC and STM32F103xE performance line BGA144 ballout
Figure 4. STM32F103xC and STM32F103xE performance line BGA100 ballout
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
|---|---|---|---|---|---|---|---|---|---|---|
| Α | PC14-1 OSC32_IN T | PC13- AMPER-RT | C PE2 | (PB9) | (PB7) | ( PB4 ) | (PB3) | (PA15) | (PA14) | (PA13) |
| 3 | PC15-, OSC32_OUT | (V BAT ) | (PE3) | (PB8) | (PB6) | (PD5) | (PD2) | (PC11) | (PC10) | (PA12) |
| C | OSC_IN | V SS_5 | (PE4) | (PE1) | (PB5) | (PD6) | (PD3) | (PC12) | (PA9) | (PA11) |
| O | OSC_OUT | V DD_5 | (PE5) | (PEO) | вooтo | (PD7) | (PD4) | (PDO) | (PA8) | (PA10) |
| E | (NRST) | (PC2) | (PE6) | V SS_4 | 'Vss_3 | V SS_2 | (V SS_1 ) | (PD1) | PC9 | (PC7) |
| F | (PCO) | (PC1) | (PC3) | V DD_4 | V DD_3 | V DD_2 | V DD_1 , | (NC) | PC8 | PC6 |
| G | (Vssa) | PÁO-WKŲP | (PA4) | PC4 | (PB2) | (PE10) | (PE14) | (PB15) | (PD11) | (PD15) |
| H | V REF | (PA1) | (PA5) | PC5 | (PE7) | (PE11) | (PE15) | (PB14) | (PD10) | (PD14) |
| J | VREF+ | PA2 | (PA6) | (PBO) | (PE8) | (PE12) | (PB10) | (PB13) | PD9 | (PD13) |
| K | V DDA , | (PA3) | (PA7) | (PB1) | (PE9) | (PE13) | (PB11) | (PB12) | (PD8) | (PD12) |
Figure 5. STM32F103xC and STM32F103xE performance line LQFP144 pinout
Figure 6. STM32F103xC and STM32F103xE performance line LQFP100 pinout
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 4948 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 17 18 19 20 21 22 23 24 29 30 31 32 25 26 27 28 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 VBAT PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT PD0 OSC_IN PD1 OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0-WKUP PA1 PA2 VDD_3 VSS_3 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD2 PC12 PC11 PC10 PA15 PA14 VDD_2 VSS_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PB15 PB14 PB13 PB12 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PB10 PB11 VSS_1 VDD_1 LQFP64 ai14392
Figure 7. STM32F103xC and STM32F103xE performance line LQFP64 pinout
Figure 8. STM32F103xC and STM32F103xE performance line WLCSP64 ballout, ball side
Table 5. High-density STM32F103xx pin definitions
| Pins | Alternate functions(4) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type(1) | I / O Level(2) | Main function(3) (after reset) | Default |
| A3 | A3 | - | - | 1 | 1 | PE2 | I/O FT | PE2 | TRACECK/ FSMC_A23 | |
| A2 | B3 | - | - | 2 | 2 | PE3 | I/O FT | PE3 | TRACED0/FSMC_A19 | |
| B2 | C3 | - | - | 3 | 3 | PE4 | I/O FT | PE4 | TRACED1/FSMC_A20 | |
| B3 | D3 | - | - | 4 | 4 | PE5 | I/O FT | PE5 | TRACED2/FSMC_A21 | |
| B4 | E3 | - | - | 5 | 5 | PE6 | I/O FT | PE6 | TRACED3/FSMC_A22 | |
| C2 | B2 | C6 | 1 | 6 | 6 | VBAT | S | VBAT | ||
| A1 | A2 | C8 | 2 | 7 | 7 | PC13-TAMPER RTC(5) | I/O | PC13(6) | TAMPER-RTC | |
| B1 | A1 | B8 | 3 | 8 | 8 | PC14- OSC32_IN(5) | I/O | PC14(6) | OSC32_IN | |
| C1 | B1 | B7 | 4 | 9 | 9 | PC15- OSC32_OUT(5) | I/O | PC15(6) | OSC32_OUT | |
| C3 | - | - | - | - | 10 | PF0 | I/O FT | PF0 | FSMC_A0 | |
| C4 | - | - | - | - | 11 | PF1 | I/O FT | PF1 | FSMC_A1 | |
| D4 | - | - | - | - | 12 | PF2 | I/O FT | PF2 | FSMC_A2 | |
| E2 | - | - | - | - | 13 | PF3 | I/O FT | PF3 | FSMC_A3 | |
| E3 | - | - | - | - | 14 | PF4 | I/O FT | PF4 | FSMC_A4 | |
| E4 | - | - | - | - | 15 | PF5 | I/O FT | PF5 | FSMC_A5 | |
| D2 | C2 | - | - | 10 | 16 | VSS_5 | S | VSS_5 | ||
| D3 | D2 | - | - | 11 | 17 | VDD_5 | S | VDD_5 | ||
| F3 | - | - | - | - | 18 | PF6 | I/O | PF6 | ADC3_IN4/FSMC_NIORD | |
| F2 | - | - | - | - | 19 | PF7 | I/O | PF7 | ADC3_IN5/FSMC_NREG | |
| G3 | - | - | - | - | 20 | PF8 | I/O | PF8 | ADC3_IN6/FSMC_NIOWR | |
| G2 | - | - | - | - | 21 | PF9 | I/O | PF9 | ADC3_IN7/FSMC_CD | |
| G1 | - | - | - | - | 22 | PF10 | I/O | PF10 | ADC3_IN8/FSMC_INTR | |
| D1 | C1 | D8 | 5 | 12 | 23 | OSC_IN | I | OSC_IN | ||
| E1 | D1 | D7 | 6 | 13 | 24 | OSC_OUT | O | OSC_OUT | ||
| F1 | E1 | C7 | 7 | 14 | 25 | NRST | I/O | NRST | ||
| H1 | F1 | E8 | 8 | 15 | 26 | PC0 | I/O | PC0 | ADC123_IN10 | |
| H2 | F2 | F8 | 9 | 16 | 27 | PC1 | I/O | PC1 | ADC123_IN11 | |
| H3 | E2 | D6 | 10 | 17 | 28 | PC2 | I/O | PC2 | ADC123_IN12 | |
| H4 | F3 | - | 11 | 18 | 29 | PC3 | I/O | PC3 | ADC123_IN13 | |
| J1 | G1 | E7 | 12 | 19 | 30 | VSSA | S | VSSA | ||
| Table 5. High-density STM32F103xx pin definitions (continued) |
| Pins | Alternate functions(4) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type(1) | I / O Level(2) | Main function(3) (after reset) | Default |
| K1 | H1 | - | - | 20 | 31 | VREF- | S | VREF | ||
| L1 | J1 | F7 (7) | - | 21 | 32 | VREF+ | S | VREF+ | ||
| M1 | K1 | G8 | 13 | 22 | 33 | VDDA | S | VDDA | ||
| J2 | G2 | F6 | 14 | 23 | 34 | PA0-WKUP | I/O | PA0 | WKUP/USART2_CTS(8) ADC123_IN0 TIM2_CH1_ETR TIM5_CH1/TIM8_ETR | |
| K2 | H2 | E6 | 15 | 24 | 35 | PA1 | I/O | PA1 | USART2_RTS(8) ADC123_IN1/ TIM5_CH2/TIM2_CH2(8) | |
| L2 | J2 | H8 | 16 | 25 | 36 | PA2 | I/O | PA2 | USART2_TX(8)/TIM5_CH3 ADC123_IN2/ TIM2_CH3 (8) | |
| M2 | K2 | G7 | 17 | 26 | 37 | PA3 | I/O | PA3 | USART2_RX(8)/TIM5_CH4 ADC123_IN3/TIM2_CH4(8) | |
| G4 | E4 | F5 | 18 | 27 | 38 | VSS_4 | S | VSS_4 | ||
| F4 | F4 | G6 | 19 | 28 | 39 | VDD_4 | S | VDD_4 | ||
| J3 | G3 | H7 | 20 | 29 | 40 | PA4 | I/O | PA4 | SPI1_NSS(8)/ USART2_CK(8) DAC_OUT1/ADC12_IN4 | |
| K3 | H3 | E5 | 21 | 30 | 41 | PA5 | I/O | PA5 | SPI1_SCK(8) DAC_OUT2 ADC12_IN5 | |
| L3 | J3 | G5 | 22 | 31 | 42 | PA6 | I/O | PA6 | SPI1_MISO(8) TIM8_BKIN/ADC12_IN6 TIM3_CH1(8) | |
| M3 | K3 | G4 | 23 | 32 | 43 | PA7 | I/O | PA7 | SPI1_MOSI(8)/ TIM8_CH1N/ADC12_IN7 TIM3_CH2(8) | |
| J4 | G4 | H6 | 24 | 33 | 44 | PC4 | I/O | PC4 | ADC12_IN14 | |
| K4 | H4 | H5 | 25 | 34 | 45 | PC5 | I/O | PC5 | ADC12_IN15 | |
| L4 | J4 | H4 | 26 | 35 | 46 | PB0 | I/O | PB0 | ADC12_IN8/TIM3_CH3 TIM8_CH2N | |
| M4 | K4 | F4 | 27 | 36 | 47 | PB1 | I/O | PB1 | ADC12_IN9/TIM3_CH4(8) TIM8_CH3N | |
| J5 | G5 | H3 | 28 | 37 | 48 | PB2 | I/O FT | PB2/BOOT1 | ||
| M5 | - | - | - | - | 49 | PF11 | I/O FT | PF11 | FSMC_NIOS16 | |
| L5 | - | - | - | - | 50 | PF12 | I/O FT | PF12 | FSMC_A6 | |
| Table 5. High-density STM32F103xx pin definitions (continued) |
| e J. | Pir | y 31W32F103X | Alternate funct | ions (4) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | I / O Level (2) | Main function (3) (after reset) | Default | Remap |
| H5 | - | 1 | 1 | - | 51 | Vrm SS6 | S | VSS6 | |||
| G5 | - | - | - | - | 52 | VDD6 | S | VDD6 | |||
| K5 | - | - | - | - | 53 | PF13 | I/O | FT | PF13 | FSMC_A7 | |
| M6 | - | - | ı | ı | 54 | PF14 | I/O | FT | PF14 | FSMC_A8 | |
| L6 | - | 1 | ı | ı | 55 | PF15 | I/O | FT | PF15 | FSMC_A9 | |
| K6 | 1 | 1 | - | 56 | PG0 | I/O | FT | PG0 | FSMC_A10 | ||
| J6 | - | - | - | - | 57 | PG1 | I/O | FT | PG1 | FSMC_A11 | |
| M7 | H5 | - | 38 | 58 | PE7 | I/O | FT | PE7 | FSMC_D4 | TIM1_ETR | |
| L7 | J5 | - | - | 39 | 59 | PE8 | I/O | FT | PE8 | FSMC_D5 | TIM1_CH1N |
| K7 | K5 | - | 40 | 60 | PE9 | I/O | FT | PE9 | FSMC_D6 | TIM1_CH1 | |
| H6 | - | - | - | 61 | V SS_7 | S | V SS_7 | ||||
| G6 | - | - | - | 62 | V DD_7 | S | V DD_7 | ||||
| J7 | G6 | - | 41 | 63 | PE10 | I/O | FT | PE10 | FSMC_D7 | TIM1_CH2N | |
| H8 | H6 | - | 1 | 42 | 64 | PE11 | I/O | FT | PE11 | FSMC_D8 | TIM1_CH2 |
| J8 | J6 | - | 1 | 43 | 65 | PE12 | I/O | FT | PE12 | FSMC_D9 | TIM1_CH3N |
| K8 | K6 | - | 1 | 44 | 66 | PE13 | I/O | FT | PE13 | FSMC_D10 | TIM1_CH3 |
| L8 | G7 | - | - | 45 | 67 | PE14 | I/O | FT | PE14 | FSMC_D11 | TIM1_CH4 |
| M8 | H7 | - | 1 | 46 | 68 | PE15 | I/O | FT | PE15 | FSMC_D12 | TIM1_BKIN |
| M9 | J7 | G3 | 29 | 47 | 69 | PB10 | I/O | FT | PB10 | I2C2_SCL/USART3_TX (8) | TIM2_CH3 |
| M10 | K7 | F3 | 30 | 48 | 70 | PB11 | I/O | FT | PB11 | I2C2_SDA/USART3_RX (8) | TIM2_CH4 |
| H7 | E7 | H2 | 31 | 49 | 71 | V SS_1 | S | V SS_1 | |||
| G7 | F7 | H1 | 32 | 50 | 72 | V DD_1 | S | V DD_1 | |||
| M11 | K8 | G2 | 33 | 51 | 73 | PB12 | I/O | FT | PB12 | SPI2_NSS/I2S2_WS/ I2C2_SMBA/ USART3_CK (8) / TIM1_BKIN (8) | |
| M12 | J8 | G1 | 34 | 52 | 74 | PB13 | I/O | FT | PB13 | SPI2_SCK/I2S2_CK USART3_CTS (8) / TIM1_CH1N | |
| L11 | H8 | F2 | 35 | 53 | 75 | PB14 | I/O | FT | PB14 | SPI2_MISO/TIM1_CH2N USART3_RTS (8) / | |
| L12 | G8 | F1 | 36 | 54 | 76 | PB15 | I/O | FT | PB15 | SPI2_MOSI/I2S2_SD TIM1_CH3N (8) / | |
| L9 | K9 | - | ı | 55 | 77 | PD8 | I/O | FT | PD8 | FSMC_D13 | USART3_TX |
| K9 | J9 | - | • | 56 | 78 | PD9 | I/O | FT | PD9 | FSMC_D14 | USART3_RX |
Table 5. High-density STM32F103xx pin definitions (continued)
| Pins | Alternate functions(4) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type(1) | I / O Level(2) | Main function(3) (after reset) | Default |
| J9 | H9 | - | - | 57 | 79 | PD10 | I/O FT | PD10 | FSMC_D15 | |
| H9 | G9 | - | - | 58 | 80 | PD11 | I/O FT | PD11 | FSMC_A16 | |
| L10 K10 | - | - | 59 | 81 | PD12 | I/O FT | PD12 | FSMC_A17 | ||
| K10 J10 | - | - | 60 | 82 | PD13 | I/O FT | PD13 | FSMC_A18 | ||
| G8 | - | - | - | - | 83 | VSS_8 | S | VSS_8 | ||
| F8 | - | - | - | - | 84 | VDD_8 | S | VDD_8 | ||
| K11 H10 | - | - | 61 | 85 | PD14 | I/O FT | PD14 | FSMC_D0 | ||
| K12 G10 | - | - | 62 | 86 | PD15 | I/O FT | PD15 | FSMC_D1 | ||
| J12 | - | - | - | - | 87 | PG2 | I/O FT | PG2 | FSMC_A12 | |
| J11 | - | - | - | - | 88 | PG3 | I/O FT | PG3 | FSMC_A13 | |
| J10 | - | - | - | - | 89 | PG4 | I/O FT | PG4 | FSMC_A14 | |
| H12 | - | - | - | - | 90 | PG5 | I/O FT | PG5 | FSMC_A15 | |
| H11 | - | - | - | - | 91 | PG6 | I/O FT | PG6 | FSMC_INT2 | |
| H10 | - | - | - | - | 92 | PG7 | I/O FT | PG7 | FSMC_INT3 | |
| G11 | - | - | - | - | 93 | PG8 | I/O FT | PG8 | ||
| G10 | - | - | - | - | 94 | VSS_9 | S | VSS_9 | ||
| F10 | - | - | - | - | 95 | VDD_9 | S | VDD_9 | ||
| G12 F10 E1 | 37 | 63 | 96 | PC6 | I/O FT | PC6 | I2S2_MCK/ TIM8_CH1/SDIO_D6 | |||
| F12 E10 E2 | 38 | 64 | 97 | PC7 | I/O FT | PC7 | I2S3_MCK/ TIM8_CH2/SDIO_D7 | |||
| F11 | F9 | E3 | 39 | 65 | 98 | PC8 | I/O FT | PC8 | TIM8_CH3/SDIO_D0 | |
| E11 | E9 | D1 | 40 | 66 | 99 | PC9 | I/O FT | PC9 | TIM8_CH4/SDIO_D1 | |
| E12 | D9 | E4 | 41 | 67 100 | PA8 | I/O FT | PA8 | USART1_CK/ TIM1_CH1(8)/MCO | ||
| D12 | C9 | D2 | 42 | 68 101 | PA9 | I/O FT | PA9 | USART1_TX(8)/ TIM1_CH2(8) | ||
| D11 D10 D3 | 43 | 69 102 | PA10 | I/O FT | PA10 | USART1_RX(8)/ TIM1_CH3(8) | ||||
| C12 C10 C1 | 44 | 70 103 | PA11 | I/O FT | PA11 | USART1_CTS/USBDM CAN_RX(8)/TIM1_CH4(8) | ||||
| B12 B10 C2 | 45 | 71 104 | PA12 | I/O FT | PA12 | USART1_RTS/USBDP/ CAN_TX(8)/TIM1_ETR(8) | ||||
| Table 5. High-density STM32F103xx pin definitions (continued) |
| Pins | Alternate functions(4) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type(1) | I / O Level(2) | Main function(3) (after reset) | Default |
| A12 A10 D4 | 46 | 72 105 | PA13 | I/O FT | JTMS SWDIO | |||||
| C11 | F8 | - | - | 73 106 | Not connected | |||||
| G9 | E6 | B1 | 47 | 74 107 | VSS_2 | S | VSS_2 | |||
| F9 | F6 | A1 | 48 | 75 108 | VDD_2 | S | VDD_2 | |||
| A11 | A9 | B2 | 49 | 76 109 | PA14 | I/O FT | JTCK SWCLK | |||
| A10 | A8 | C3 | 50 | 77 110 | PA15 | I/O FT | JTDI | SPI3_NSS/ I2S3_WS | ||
| B11 | B9 | A2 | 51 | 78 111 | PC10 | I/O FT | PC10 | UART4_TX/SDIO_D2 | ||
| B10 | B8 | B3 | 52 | 79 112 | PC11 | I/O FT | PC11 | UART4_RX/SDIO_D3 | ||
| C10 | C8 | C4 | 53 | 80 113 | PC12 | I/O FT | PC12 | UART5_TX/SDIO_CK | ||
| E10 | D8 | D8 | 5 | 81 114 | PD0 | I/O FT | OSC_IN(9) | FSMC_D2(10) | ||
| D10 | E8 | D7 | 6 | 82 115 | PD1 | I/O FT OSC_OUT(9) | FSMC_D3(10) | |||
| E9 | B7 | A3 | 54 | 83 116 | PD2 | I/O FT | PD2 | TIM3_ETR/UART5_RX SDIO_CMD | ||
| D9 | C7 | - | - | 84 117 | PD3 | I/O FT | PD3 | FSMC_CLK | ||
| C9 | D7 | - | - | 85 118 | PD4 | I/O FT | PD4 | FSMC_NOE | ||
| B9 | B6 | - | - | 86 119 | PD5 | I/O FT | PD5 | FSMC_NWE | ||
| E7 | - | - | - | - | 120 | VSS_10 | S | VSS_10 | ||
| F7 | - | - | - | - | 121 | VDD_10 | S | VDD_10 | ||
| A8 | C6 | - | - | 87 122 | PD6 | I/O FT | PD6 | FSMC_NWAIT | ||
| A9 | D6 | - | - | 88 123 | PD7 | I/O FT | PD7 | FSMC_NE1/FSMC_NCE2 | ||
| E8 | - | - | - | - | 124 | PG9 | I/O FT | PG9 | FSMC_NE2/FSMC_NCE3 | |
| D8 | - | - | - | - | 125 | PG10 | I/O FT | PG10 | FSMC_NCE4_1/ FSMC_NE3 | |
| C8 | - | - | - | - | 126 | PG11 | I/O FT | PG11 | FSMC_NCE4_2 | |
| B8 | - | - | - | - | 127 | PG12 | I/O FT | PG12 | FSMC_NE4 | |
| D7 | - | - | - | - | 128 | PG13 | I/O FT | PG13 | FSMC_A24 | |
| C7 | - | - | - | - | 129 | PG14 | I/O FT | PG14 | FSMC_A25 | |
| E6 | - | - | - | - | 130 | VSS_11 | S | VSS_11 | ||
| F6 | - | - | - | - | 131 | VDD_11 | S | VDD_11 | ||
| B7 | - | - | - | - | 132 | PG15 | I/O FT | PG15 | ||
| A7 A7 A4 55 89 133 PB3 I/O FT JTDO SPI3_SCK / I2S3_CK/ PB3/TRACESWO TIM2_CH2 / SPI1_SCK A6 A6 B4 56 90 134 PB4 I/O FT NJTRST SPI3_MISO PB4 / TIM3_CH1 SPI1_MISO B6 C5 A5 57 91 135 PB5 I/O PB5 I2C1_SMBA/ SPI3_MOSI I2S3_SD TIM3_CH2 / SPI1_MOSI C6 B5 B5 58 92 136 PB6 I/O FT PB6 I2C1_SCL(8)/ TIM4_CH1(8) USART1_TX D6 A5 C5 59 93 137 PB7 I/O FT PB7 I2C1_SDA(8) / FSMC_NADV / TIM4_CH2(8) USART1_RX D5 D5 A6 60 94 138 BOOT0 I BOOT0 C5 B4 D5 61 95 139 PB8 I/O FT PB8 TIM4_CH3(8)/SDIO_D4 I2C1_SCL/ CAN_RX B5 A4 B6 62 96 140 PB9 I/O FT PB9 TIM4_CH4(8)/SDIO_D5 I2C1_SDA / CAN_TX A5 D4 - - 97 141 PE0 I/O FT PE0 TIM4_ETR / FSMC_NBL0 A4 C4 - - 98 142 PE1 I/O FT PE1 FSMC_NBL1 E5 E5 A7 63 99 143 VSS_3 S VSS_3 Pins Pin name Type(1) I / O Level(2) Main function(3) (after reset) Alternate functions(4) LFBGA144 LFBGA100 WLCSP64 LQFP64 LQFP100 LQFP144 Default Remap |
Table 5. High-density STM32F103xx pin definitions (continued)
F5 F5 A8 64 100 144 VDD_3 S VDD_3
-
- If several peripherals share the same I/O pin, to avoid conflict between these alternate functions only one peripheral should be enabled at a time through the peripheral clock enable bit (in the corresponding RCC peripheral clock enable register).
-
- PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 in output mode is limited: the speed should not exceed 2 MHz with a maximum load of 30 pF and these IOs must not be used as a current source (e.g. to drive an LED).
-
- Main function after the first backup domain power-up. Later on, it depends on the contents of the Backup registers even after reset (because these registers are not reset by the main reset). For details on how to manage these IOs, refer to the Battery backup domain and BKP register description sections in the STM32F10xxx reference manual, available from the STMicroelectronics website: www.st.com.
-
- Unlike in the LQFP64 package, there is no PC3 in the WLCSP package. The VREF+ functionality is provided instead.
-
- This alternate function can be remapped by software to some other port pins (if available on the used package). For more details, refer to the Alternate function I/O and debug configuration section in the STM32F10xxx reference manual, available from the STMicroelectronics website: www.st.com.
-
- For the LQFP64 package, the pins number 5 and 6 are configured as OSC_IN/OSC_OUT after reset, however the functionality of PD0 and PD1 can be remapped by software on these pins. For the LQFP100/BGA100 and LQFP144/BGA144 packages, PD0 and PD1 are available by default, so there is no need for remapping. For more details, refer to Alternate function I/O and debug configuration section in the STM32F10xxx reference manual.
-
- For devices delivered in LQFP64 packages, the FSMC function is not available.
1. I = input, O = output, S = supply.
2. FT = 5 V tolerant.
3. Function availability depends on the chosen device.
Table 6. FSMC pin definition
| Table 6. | FSMC pin definition | |
|---|---|---|
| Pins | CF | CF/IDE |
| PE2 | ||
| PE3 | ||
| PE4 | ||
| PE5 | ||
| PE6 | ||
| PF0 | A0 | A0 |
| PF1 | A1 | A1 |
| PF2 | A2 | A2 |
| PF3 | A3 | |
| PF4 | A4 | |
| PF5 | A5 | |
| PF6 | NIORD | NIORD |
| PF7 | NREG | NREG |
| PF8 | NIOWR | NIOWR |
| PF9 | CD | CD |
| PF10 | INTR | INTR |
| PF11 | NIOS16 | NIOS16 |
| PF12 | A6 | |
| PF13 | A7 | |
| PF14 | A8 | |
| PF15 | A9 | |
| PG0 | A10 | |
| PG1 | ||
| PE7 | D4 | D4 |
| PE8 | D5 | D5 |
| PE9 | D6 | D6 |
| PE10 | D7 | D7 |
| PE11 | D8 | D8 |
| PE12 | D9 | D9 |
| PE13 | D10 | D10 |
| PE14 | D11 | D11 |
| PE15 | D12 | D12 |
| PD8 | D13 | D13 |
Table 6. FSMC pin definition (continued)
| FSMC | |||
|---|---|---|---|
| Pins | CF | CF/IDE | NOR/PSRAM/ SRAM |
| PD9 | D14 | D14 | D14 |
| PD10 | D15 | D15 | D15 |
| PD11 | A16 | ||
| PD12 | A17 | ||
| PD13 | A18 | ||
| PD14 | D0 | D0 | D0 |
| PD15 | D1 | D1 | D1 |
| PG2 | A12 | ||
| PG3 | A13 | ||
| PG4 | A14 | ||
| PG5 | A15 | ||
| PG6 | |||
| PG7 | |||
| PD0 | D2 | D2 | D2 |
| PD1 | D3 | D3 | D3 |
| PD3 | CLK | ||
| PD4 | NOE | NOE | NOE |
| PD5 | NWE | NWE | NWE |
| PD6 | NWAIT | NWAIT | NWAIT |
| PD7 | NE1 | ||
| PG9 | NE2 | ||
| PG10 | NCE4_1 | NCE4_1 | NE3 |
| PG11 | NCE4_2 | NCE4_2 | |
| PG12 | NE4 | ||
| PG13 | A24 | ||
| PG14 | A25 | ||
| PB7 | NADV | ||
| PE0 | NBL0 | ||
| PE1 | NBL1 |
1. Ports F and G are not available in devices delivered in 100-pin packages.
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 VDD supply voltage conditions summarized in Table 10.
Table 48. I/O AC characteristics(1)
| MODEx[1:0] bit value(1) | Symbol | Parameter | Conditions | Min | Max | Unit |
|---|---|---|---|---|---|---|
| fmax(IO)out | Maximum frequency(2) | CL = 50 pF, VDD = 2 V to 3.6 V | 2 | MHz | ||
| 10 | tf(IO)out | Output high to low level fall time | 125(3) | ns | ||
| tr(IO)out | Output low to high level rise time | CL = 50 pF, VDD = 2 V to 3.6 V | 125(3) | |||
| fmax(IO)out | Maximum frequency(2) CL = 50 pF, VDD = 2 V to 3.6 V | 10 | MHz | |||
| 01 | tf(IO)out | Output high to low level fall time | 25(3) | |||
| tr(IO)out | Output low to high level rise time | CL = 50 pF, VDD = 2 V to 3.6 V | 25(3) | ns | ||
| CL = 30 pF, VDD = 2.7 V to 3.6 V | 50 | MHz | ||||
| Fmax(IO)out | Maximum frequency(2) | CL = 50 pF, VDD = 2.7 V to 3.6 V | 30 | MHz | ||
| CL = 50 pF, VDD = 2 V to 2.7 V | 20 | MHz | ||||
| CL = 30 pF, VDD = 2.7 V to 3.6 V | 5(3) | |||||
| 11 | tf(IO)out | Output high to low level fall time | CL = 50 pF, VDD = 2.7 V to 3.6 V | 8(3) | ||
| CL = 50 pF, VDD = 2 V to 2.7 V | 12(3) | ns | ||||
| CL = 30 pF, VDD = 2.7 V to 3.6 V | 5(3) | |||||
| tr(IO)out | Output low to high level rise time | CL = 50 pF, VDD = 2.7 V to 3.6 V | 8(3) | |||
| CL = 50 pF, VDD = 2 V to 2.7 V | 12(3) | |||||
| - | tEXTIpw | Pulse width of external signals detected by the EXTI controller | 10 | ns |
1. The I/O speed is configured using the MODEx[1:0] bits. Refer to the STM32F10xxx reference manual for a description of GPIO Port configuration register.
2. The maximum frequency is defined in Figure 46.
3. Guaranteed by design, not tested in production.
ai14131 10% 90% 50% t r(IO)out OUTPUT EXTERNAL ON 50pF Maximum frequency is achieved if (tr + tf ) ≤ 2/3)T and if the duty cycle is (45-55%) 10% 50% 90% when loaded by 50pF T t r(IO)out
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
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| VDD–VSS | External main supply voltage (including VDDA (1) and VDD) | –0.3 | 4.0 | |
| Input voltage on five volt tolerant pin | VSS - 0.3 | VDD + 4.0 | V | |
| VIN(2) | Input voltage on any other pin | VSS - 0.3 | 4.0 | |
| ΔVDDx | Variations between different VDD power pins | 50 | ||
| VSSX - VSS | Variations between all the different ground pins | 50 | mV | |
| VESD(HBM) | Electrostatic discharge voltage (human body model) | see Section 5.3.12: Absolute maximum ratings (electrical sensitivity) | ||
| 1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range. |
Table 8. Current characteristics
| Symbol | Ratings | Max. | Unit |
|---|---|---|---|
| IVDD | Total current into VDD/VDDA power lines (source)(1) | 150 | |
| IVSS | Total current out of VSS ground lines (sink)(1) | 150 | |
| Output current sunk by any I/O and control pin | 25 | ||
| IIO | Output current source by any I/Os and control pin | - 25 | mA |
| Injected current on five volt tolerant pins(3) | -5/+0 | ||
| IINJ(PIN)(2) | Injected current on any other pin(4) | ± 5 | |
| ΣIINJ(PIN) | Total injected current (sum of all I/O and control pins)(5) | ± 25 | |
| 1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range. |
-
- A positive injection is induced by VIN>VDD while a negative injection is induced by VIN<VSS. IINJ(PIN) must never be exceeded. Refer to Table 7: Voltage characteristics for the maximum allowed input voltage values.
-
- When several inputs are submitted to a current injection, the maximum ΣIINJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values).
2. VIN maximum must always be respected. Refer to Table 8: Current characteristics for the maximum allowed injected current values.
2. Negative injection disturbs the analog performance of the device. See note 3 below Table 62 on page 105.
3. Positive injection is not possible on these I/Os. A negative injection is induced by VIN<VSS. IINJ(PIN) must never be exceeded. Refer to Table 7: Voltage characteristics for the maximum allowed input voltage values.
Table 9. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | °C |
| T J | Maximum junction temperature | 150 | °C |
Thermal Information
The maximum chip junction temperature (TJmax) must never exceed the values given in Table 10: General operating conditions on page 42.
The maximum chip-junction temperature, TJ max, in degrees Celsius, may be calculated using the following equation:TJ max = TA max + (PD max x ΘJA)$
Where:
- TA max is the maximum ambient temperature in °C,
- ΘJA is the package junction-to-ambient thermal resistance, in °C/W,
- PD max is the sum of PINT max and PI/O max (PD max = PINT max + PI/Omax),
- PINT max is the product of IDD and VDD, expressed in Watts. This is the maximum chip internal power.
PI/O max represents the maximum power dissipation on output pins where:
$PI/O max = Sigma (VOL × IOL) + Sigma ((VDD - VOH) × IOH),$
taking into account the actual VOL / IOL and VOH / IOH of the I/Os at low and high level in the application.
Table 73. Package thermal characteristics
| Symbol | Parameter | Value | Unit |
|---|---|---|---|
| Thermal resistance junction-ambient LFBGA144 - 10 × 10 mm / 0.8 mm pitch | 40 | ||
| Thermal resistance junction-ambient LQFP144 - 20 × 20 mm / 0.5 mm pitch | 30 | ||
| Thermal resistance junction-ambient LFBGA100 - 10 × 10 mm / 0.8 mm pitch | 40 | ||
| ΘJA | Thermal resistance junction-ambient LQFP100 - 14 × 14 mm / 0.5 mm pitch | 46 | °C/W |
| Thermal resistance junction-ambient LQFP64 - 10 × 10 mm / 0.5 mm pitch | 45 | ||
| Thermal resistance junction-ambient WLCSP64 | 50 |
6.2.1 Reference document
JESD51-2 Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air). Available from www.jedec.org
6.2.2 Selecting the product temperature range
When ordering the microcontroller, the temperature range is specified in the ordering information scheme shown in Table 74: Ordering information scheme.
Each temperature range suffix corresponds to a specific guaranteed ambient temperature at maximum dissipation and, to a specific maximum junction temperature.
As applications do not commonly use the STM32F103xC, STM32F103xD and STM32F103xE at maximum dissipation, it is useful to calculate the exact power consumption and junction temperature to determine which temperature range will be best suited to the application.
The following examples show how to calculate the temperature range needed for a given application.
Example 1: High-performance application
Assuming the following application conditions:
Maximum ambient temperature T_{Amax}=82~^{\circ}C (measured according to JESD51-2), I_{DDmax}=50 mA, V_{DD}=3.5 V, maximum 20 I/Os used at the same time in output at low level with I_{OL}=8 mA, V_{OL}=0.4 V and maximum 8 I/Os used at the same time in output at low level with I_{OL}=20 mA, V_{OL}=1.3 V
$PINTmax = 50 mA × 3.5 V = 175 mW$
$PIOmax = 20 × 8 mA × 0.4 V + 8 × 20 mA × 1.3 V = 272 mW$
$PDmax = 175 + 272 = 447 mW$
Thus: PDmax = 447 mW
Using the values obtained in Table 73 T.lmax is calculated as follows:
For LQFP100, 46 °C/W
$TJmax = 82 °C + (46 °C/W × 447 mW) = 82 °C + 20.6 °C = 102.6 °C$
This is within the range of the suffix 6 version parts ( $-40 < T_{.1} < 105$ °C).
In this case, parts must be ordered at least with the temperature range suffix 6 (see Table 74: Ordering information scheme).
Example 2: High-temperature application
Using the same rules, it is possible to address applications that run at high ambient temperatures with a low dissipation, as long as junction temperature $T_J$ remains within the specified range.
Assuming the following application conditions:
Maximum ambient temperature T_{Amax} = 115 °C (measured according to JESD51-2), I_{DDmax} = 20 mA, V_{DD} = 3.5 V, maximum 20 I/Os used at the same time in output at low level with I_{OL} = 8 mA, V_{OL} = 0.4 V
$PINTmax = 20 mA × 3.5 V = 70 mW$
$PIOmax = 20 × 8 mA × 0.4 V = 64 mW$
This gives: PINTmax = 70 mW and PIOmax = 64 mW:
$PDmax = 70 + 64 = 134 mW$
Using the values obtained in Table 73 TJmax is calculated as follows:
– For LQFP100, 46 °C/W
$TJmax = 115 °C + (46 °C/W × 134 mW) = 115 °C + 6.2 °C = 121.2 °C$
This is within the range of the suffix 7 version parts (–40 < TJ < 125 °C).
In this case, parts must be ordered at least with the temperature range suffix 7 (see Table 74: Ordering information scheme).
Figure 73. LQFP100 PD max vs. TA
Get structured datasheet data via API
Get started free