STM32F103XESTM32F103XF
ARM-based 32-bit MCUThe STM32F103XESTM32F103XF is a arm-based 32-bit mcu from STMicroelectronics. View the full STM32F103XESTM32F103XF datasheet below including electrical characteristics, absolute maximum ratings.
Manufacturer
STMicroelectronics
Category
Integrated CircuitsOverview
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
Figure 3. STM32F103xC/D/E BGA144 ballout
136
Figure 4. STM32F103xC/D/E performance line BGA100 ballout
- The above figure shows the package top view.
Figure 5. STM32F103xC/D/E performance line LQFP144 pinout
- The above figure shows the package top view.
136
Figure 6. STM32F103xC/D/E performance line LQFP100 pinout
Figure 7. STM32F103xC/D/E performance line LQFP64 pinout
- The above figure shows the package top view.
136
Figure 8. STM32F103xC/D/E performance line WLCSP64 ballout, ball side
Table 5. High-density STM32F103xC/D/E pin definitions
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions | Alternate functions | |||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) (2) | Main function (3) (after reset) | Default | Remap |
| 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 | V BAT | S | V BAT | - | - |
| 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 | V SS_5 | S | V SS_5 | - | - |
| D3 | D2 | - | - | 11 | 17 | V DD_5 | S | V DD_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 | - |
Table 5. High-density STM32F103xC/D/E pin definitions
136
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | |||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | Main function (3) (after reset) | Default | Remap |
| H3 | E2 | D6 | 10 | 17 | 28 | PC2 | I/O | PC2 | ADC123_IN12 | - |
| H4 | F3 | - | 11 | 18 | 29 | PC3 (7) | I/O | PC3 | ADC123_IN13 | - |
| J1 | G1 | E7 | 12 | 19 | 30 | V SSA | S | V SSA | - | - |
| K1 | H1 | - | - | 20 | 31 | V REF- | S | V REF- | - | - |
| L1 | J1 | F7 (8) | - | 21 | 32 | V REF+ | S | V REF+ | - | - |
| M1 | K1 | G8 | 13 | 22 | 33 | V DDA | S | V DDA | - | - |
| J2 | G2 | F6 | 14 | 23 | 34 | PA0-WKUP | I/O | PA0 | WKUP/USART2_CTS (9) ADC123_IN0 TIM2_CH1_ETR TIM5_CH1/TIM8_ETR | - |
| K2 | H2 | E6 | 15 | 24 | 35 | PA1 | I/O | PA1 | USART2_RTS (9) ADC123_IN1/ TIM5_CH2/TIM2_CH2 (9) | - |
| L2 | J2 | H8 | 16 | 25 | 36 | PA2 | I/O | PA2 | USART2_TX (9) /TIM5_CH3 ADC123_IN2/ TIM2_CH3 (9) | - |
| M2 | K2 | G7 | 17 | 26 | 37 | PA3 | I/O | PA3 | USART2_RX (9) /TIM5_CH4 ADC123_IN3/TIM2_CH4 (9) | - |
| G4 | E4 | F5 | 18 | 27 | 38 | V SS_4 | S | V SS_4 | - | - |
| F4 | F4 | G6 | 19 | 28 | 39 | V DD_4 | S | V DD_4 | - | - |
| J3 | G3 | H7 | 20 | 29 | 40 | PA4 | I/O | PA4 | SPI1_NSS (9) / USART2_CK (9) DAC_OUT1/ADC12_IN4 | - |
| K3 | H3 | E5 | 21 | 30 | 41 | PA5 | I/O | PA5 | SPI1_SCK (9) DAC_OUT2 ADC12_IN5 | - |
| L3 | J3 | G5 | 22 | 31 | 42 | PA6 | I/O | PA6 | SPI1_MISO (9) TIM8_BKIN/ADC12_IN6 TIM3_CH1 (9) | TIM1_BKIN |
| M3 | K3 | G4 | 23 | 32 | 43 | PA7 | I/O | PA7 | SPI1_MOSI (9) / TIM8_CH1N/ADC12_IN7 TIM3_CH2 (9) | TIM1_CH1N |
| J4 | G4 | H6 | 24 | 33 | 44 | PC4 | I/O | PC4 | ADC12_IN14 | - |
| K4 | H4 | H5 | 25 | 34 | 45 | PC5 | I/O | PC5 | ADC12_IN15 | - |
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | |||
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | Main function (3) (after reset) | Default | Remap |
| L4 | J4 | H4 | 26 | 35 | 46 | PB0 | I/O | PB0 | ADC12_IN8/TIM3_CH3 TIM8_CH2N | TIM1_CH2N |
| M4 | K4 | F4 | 27 | 36 | 47 | PB1 | I/O | PB1 | ADC12_IN9/TIM3_CH4 (9) TIM8_CH3N | TIM1_CH3N |
| J5 | G5 | H3 | 28 | 37 | 48 | PB2 | I/O | PB2/BOOT1 | - | - |
| M5 | - | - | - | - | 49 | PF11 | I/O | PF11 | FSMC_NIOS16 | - |
| L5 | - | - | - | - | 50 | PF12 | I/O | PF12 | FSMC_A6 | - |
| H5 | - | - | - | - | 51 | V SS_6 | S | V SS_6 | - | - |
| G5 | - | - | - | - | 52 | V DD_6 | S | V DD_6 | - | - |
| K5 | - | - | - | - | 53 | PF13 | I/O | PF13 | FSMC_A7 | - |
| M6 | - | - | - | - | 54 | PF14 | I/O | PF14 | FSMC_A8 | - |
| L6 | - | - | - | - | 55 | PF15 | I/O | PF15 | FSMC_A9 | - |
| K6 | - | - | - | - | 56 | PG0 | I/O | PG0 | FSMC_A10 | - |
| J6 | - | - | - | - | 57 | PG1 | I/O | PG1 | FSMC_A11 | - |
| M7 | H5 | - | - | 38 | 58 | PE7 | I/O | PE7 | FSMC_D4 | TIM1_ETR |
| L7 | J5 | - | - | 39 | 59 | PE8 | I/O | PE8 | FSMC_D5 | TIM1_CH1N |
| K7 | K5 | - | - | 40 | 60 | PE9 | I/O | 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 | PE10 | FSMC_D7 | TIM1_CH2N |
| H8 | H6 | - | - | 42 | 64 | PE11 | I/O | PE11 | FSMC_D8 | TIM1_CH2 |
| J8 | J6 | - | - | 43 | 65 | PE12 | I/O | PE12 | FSMC_D9 | TIM1_CH3N |
| K8 | K6 | - | - | 44 | 66 | PE13 | I/O | PE13 | FSMC_D10 | TIM1_CH3 |
| L8 | G7 | - | - | 45 | 67 | PE14 | I/O | PE14 | FSMC_D11 | TIM1_CH4 |
| M8 | H7 | - | - | 46 | 68 | PE15 | I/O | PE15 | FSMC_D12 | TIM1_BKIN |
| M9 | J7 | G3 | 29 | 47 | 69 | PB10 | I/O | PB10 | I2C2_SCL/USART3_TX (9) | TIM2_CH3 |
| M10 | K7 | F3 | 30 | 48 | 70 | PB11 | I/O | PB11 | I2C2_SDA/USART3_RX (9) | 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 | - | - |
136
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | I / O Level (2) | Main function (3) (after reset) | Default | Remap |
| M11 | K8 | G2 | 33 | 51 | 73 | PB12 | I/O | FT | PB12 | SPI2_NSS/I2S2_WS/ I2C2_SMBA/ USART3_CK (9) / TIM1_BKIN (9) | - |
| M12 | J8 | G1 | 34 | 52 | 74 | PB13 | I/O | FT | PB13 | SPI2_SCK/I2S2_CK USART3_CTS (9) / TIM1_CH1N | - |
| L11 | H8 | F2 | 35 | 53 | 75 | PB14 | I/O | FT | PB14 | SPI2_MISO/TIM1_CH2N USART3_RTS (9) / | - |
| L12 | G8 | F1 | 36 | 54 | 76 | PB15 | I/O | FT | PB15 | SPI2_MOSI/I2S2_SD TIM1_CH3N (9) / | - |
| 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 |
| J9 | H9 | - | - | 57 | 79 | PD10 | I/O | FT | PD10 | FSMC_D15 | USART3_CK |
| H9 | G9 | - | - | 58 | 80 | PD11 | I/O | FT | PD11 | FSMC_A16 | USART3_CTS |
| L10 | K10 | - | - | 59 | 81 | PD12 | I/O | FT | PD12 | FSMC_A17 | TIM4_CH1 / USART3_RTS |
| K10 | J10 | - | - | 60 | 82 | PD13 | I/O | FT | PD13 | FSMC_A18 | TIM4_CH2 |
| G8 | - | - | - | - | 83 | V SS_8 | S | - | V SS_8 | - | - |
| F8 | - | - | - | - | 84 | V DD_8 | S | - | V DD_8 | - | - |
| K11 | H10 | - | - | 61 | 85 | PD14 | I/O | FT | PD14 | FSMC_D0 | TIM4_CH3 |
| K12 | G10 | - | - | 62 | 86 | PD15 | I/O | FT | PD15 | FSMC_D1 | TIM4_CH4 |
| 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 | V SS_9 | S | - | V SS_9 | - | - |
| F10 | - | - | - | - | 95 | V DD_9 | S | - | V DD_9 | - | - |
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | |||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) (2) | I / O Level Main function (3) (after reset) | Default | Remap |
| G12 | F10 | E1 | 37 | 63 | 96 | PC6 | I/O FT | PC6 | I2S2_MCK/ TIM8_CH1/SDIO_D6 | TIM3_CH1 |
| F12 | E10 | E2 | 38 | 64 | 97 | PC7 | I/O FT | PC7 | I2S3_MCK/ TIM8_CH2/SDIO_D7 | TIM3_CH2 |
| F11 | F9 | E3 | 39 | 65 | 98 | PC8 | I/O FT | PC8 | TIM8_CH3/SDIO_D0 | TIM3_CH3 |
| E11 | E9 | D1 | 40 | 66 | 99 | PC9 | I/O FT | PC9 | TIM8_CH4/SDIO_D1 | TIM3_CH4 |
| E12 | D9 | E4 | 41 | 67 | 100 | PA8 | I/O FT | PA8 | USART1_CK/ TIM1_CH1 (9) /MCO | - |
| D12 | C9 | D2 | 42 | 68 | 101 | PA9 | I/O FT | PA9 | USART1_TX (9) / TIM1_CH2 (9) | - |
| D11 | D10 | D3 | 43 | 69 | 102 | PA10 | I/O FT | PA10 | USART1_RX (9) / TIM1_CH3 (9) | - |
| C12 | C10 | C1 | 44 | 70 | 103 | PA11 | I/O FT | PA11 | USART1_CTS/USBDM CAN_RX (9) /TIM1_CH4 (9) | - |
| B12 | B10 | C2 | 45 | 71 | 104 | PA12 | I/O FT | PA12 | USART1_RTS/USBDP/ CAN_TX (9) /TIM1_ETR (9) | - |
| A12 | A10 | D4 | 46 | 72 | 105 | PA13 | I/O FT | JTMS- SWDIO | - | PA13 |
| C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | C11 F8 - - 73 106 Not connected | - |
| G9 | E6 | B1 | 47 | 74 | 107 | V SS_2 | S - | V SS_2 | - | - |
| F9 | F6 | A1 | 48 | 75 | 108 | V DD_2 | S - | V DD_2 | - | - |
| A11 | A9 | B2 | 49 | 76 | 109 | PA14 | I/O FT | JTCK- SWCLK | - | PA14 |
| A10 | A8 | C3 | 50 | 77 | 110 | PA15 | I/O FT | JTDI | SPI3_NSS/ I2S3_WS | TIM2_CH1_ETR PA15 / SPI1_NSS |
| B11 | B9 | A2 | 51 | 78 | 111 | PC10 | I/O FT | PC10 | UART4_TX/SDIO_D2 | USART3_TX |
| B10 | B8 | B3 | 52 | 79 | 112 | PC11 | I/O FT | PC11 | UART4_RX/SDIO_D3 | USART3_RX |
| C10 | C8 | C4 | 53 | 80 | 113 | PC12 | I/O FT | PC12 | UART5_TX/SDIO_CK | USART3_CK |
| E10 | D8 | D8 | 5 | 81 | 114 | PD0 | I/O FT | OSC_IN (10) | FSMC_D2 (11) | CAN_RX |
| D10 | E8 | D7 | 6 | 82 | 115 | PD1 | I/O FT | OSC_OUT (10) | FSMC_D3 (11) | CAN_TX |
| 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 | USART2_CTS |
136
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | |||
|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | Main function (3) (after reset) | Default | Remap |
| C9 | D7 | - | - | 85 | 118 | PD4 | I/O | PD4 | FSMC_NOE | USART2_RTS |
| B9 | B6 | - | - | 86 | 119 | PD5 | I/O | PD5 | FSMC_NWE | USART2_TX |
| E7 | - | - | - | - | 120 | V SS_10 | S | V SS_10 | - | - |
| F7 | - | - | - | - | 121 | V DD_10 | S | V DD_10 | - | - |
| A8 | C6 | - | - | 87 | 122 | PD6 | I/O | PD6 | FSMC_NWAIT | USART2_RX |
| A9 | D6 | - | - | 88 | 123 | PD7 | I/O | PD7 | FSMC_NE1/FSMC_NCE2 | USART2_CK |
| E8 | - | - | - | - | 124 | PG9 | I/O | PG9 | FSMC_NE2/FSMC_NCE3 | - |
| D8 | - | - | - | - | 125 | PG10 | I/O | PG10 | FSMC_NCE4_1/ FSMC_NE3 | - |
| C8 | - | - | - | - | 126 | PG11 | I/O | PG11 | FSMC_NCE4_2 | - |
| B8 | - | - | - | - | 127 | PG12 | I/O | PG12 | FSMC_NE4 | - |
| D7 | - | - | - | - | 128 | PG13 | I/O | PG13 | FSMC_A24 | - |
| C7 | - | - | - | - | 129 | PG14 | I/O | PG14 | FSMC_A25 | - |
| E6 | - | - | - | - | 130 | V SS_11 | S | V SS_11 | - | - |
| F6 | - | - | - | - | 131 | V DD_11 | S | V DD_11 | - | - |
| B7 | - | - | - | - | 132 | PG15 | I/O | PG15 | - | - |
| A7 | A7 | A4 | 55 | 89 | 133 | PB3 | I/O | JTDO | SPI3_SCK / I2S3_CK/ | PB3/TRACESWO TIM2_CH2 / SPI1_SCK |
| A6 | A6 | B4 | 56 | 90 | 134 | PB4 | I/O | 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 | PB6 | I2C1_SCL (9) / TIM4_CH1 (9) | USART1_TX |
| D6 | A5 | C5 | 59 | 93 | 137 | PB7 | I/O | PB7 | I2C1_SDA (9) / FSMC_NADV / TIM4_CH2 (9) | USART1_RX |
| D5 | D5 | A6 | 60 | 94 | 138 | BOOT0 | I | BOOT0 | - | - |
| C5 | B4 | D5 | 61 | 95 | 139 | PB8 | I/O | PB8 | TIM4_CH3 (9) /SDIO_D4 | I2C1_SCL/ CAN_RX |
| B5 | A4 | B6 | 62 | 96 | 140 | PB9 | I/O | PB9 | TIM4_CH4 (9) /SDIO_D5 | I2C1_SDA / CAN_TX |
| Pins | Pins | Pins | Pins | Pins | Pins | Alternate functions (4) | Alternate functions (4) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LFBGA144 | LFBGA100 | WLCSP64 | LQFP64 | LQFP100 | LQFP144 | Pin name | Type (1) | I / O Level (2) | Main function (3) (after reset) | Default | Remap |
| 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 | V SS_3 | S | - | V SS_3 | - | - |
| F5 | F5 | A8 | 64 | 100 | 144 | V DD_3 | S | - | V DD_3 | - | - |
- I = input, O = output, S = supply.
- FT = 5 V tolerant.
- Function availability depends on the chosen device.
- 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 .
- In the WCLSP64 package, the PC3 I/O pin is not bonded and it must be configured by software to output mode (Push-pull) and writing 0 to the data register in order to avoid an extra consumption during low-power modes.
- Unlike in the LQFP64 package, there is no PC3 in the WLCSP package. The V REF+ 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 WCLSP64/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.
136
Table 6. FSMC pin definition
| Pins | FSMC | FSMC | FSMC | FSMC | FSMC | LQFP100 BGA100 (1) |
|---|---|---|---|---|---|---|
| Pins | CF | CF/IDE | NOR/PSRAM/ SRAM | NOR/PSRAM Mux | NAND 16 bit | LQFP100 BGA100 (1) |
| PE2 | - | - | A23 | A23 | - | Yes |
| PE3 | - | - | A19 | A19 | - | Yes |
| PE4 | - | - | A20 | A20 | - | Yes |
| PE5 | - | - | A21 | A21 | - | Yes |
| PE6 | - | - | A22 | A22 | - | Yes |
| PF0 | A0 | A0 | A0 | - | - | - |
| PF1 | A1 | A1 | A1 | - | - | - |
| PF2 | A2 | A2 | A2 | - | - | - |
| PF3 | A3 | - | A3 | - | - | - |
| PF4 | A4 | - | A4 | - | - | - |
| PF5 | A5 | - | A5 | - | - | - |
| PF6 | NIORD | NIORD | - | - | - | - |
| PF7 | NREG | NREG | - | - | - | - |
| PF8 | NIOWR | NIOWR | - | - | - | - |
| PF9 | CD | CD | - | - | - | - |
| PF10 | INTR | INTR | - | - | - | - |
| PF11 | NIOS16 | NIOS16 | - | - | - | - |
| PF12 | A6 | - | A6 | - | - | - |
| PF13 | A7 | - | A7 | - | - | - |
| PF14 | A8 | - | A8 | - | - | - |
| PF15 | A9 | - | A9 | - | - | - |
| PG0 | A10 | - | A10 | - | - | - |
| PG1 | - | - | A11 | - | - | - |
| PE7 | D4 | D4 | D4 | DA4 | D4 | Yes |
| PE8 | D5 | D5 | D5 | DA5 | D5 | Yes |
| PE9 | D6 | D6 | D6 | DA6 | D6 | Yes |
| PE10 | D7 | D7 | D7 | DA7 | D7 | Yes |
| PE11 | D8 | D8 | D8 | DA8 | D8 | Yes |
| PE12 | D9 | D9 | D9 | DA9 | D9 | Yes |
| PE13 | D10 | D10 | D10 | DA10 | D10 | Yes |
| PE14 | D11 | D11 | D11 | DA11 | D11 | Yes |
| PE15 | D12 | D12 | D12 | DA12 | D12 | Yes |
| PD8 | D13 | D13 | D13 | DA13 | D13 | Yes |
Table 6. FSMC pin definition
Table 6. FSMC pin definition (continued)
| Pins | FSMC | FSMC | FSMC | FSMC | FSMC | LQFP100 BGA100 (1) |
|---|---|---|---|---|---|---|
| Pins | CF | CF/IDE | NOR/PSRAM/ SRAM | NOR/PSRAM Mux | NAND 16 bit | LQFP100 BGA100 (1) |
| PD9 | D14 | D14 | D14 | DA14 | D14 | Yes |
| PD10 | D15 | D15 | D15 | DA15 | D15 | Yes |
| PD11 | - | - | A16 | A16 | CLE | Yes |
| PD12 | - | - | A17 | A17 | ALE | Yes |
| PD13 | - | - | A18 | A18 | - | Yes |
| PD14 | D0 | D0 | D0 | DA0 | D0 | Yes |
| PD15 | D1 | D1 | D1 | DA1 | D1 | Yes |
| PG2 | - | - | A12 | - | - | - |
| PG3 | - | - | A13 | - | - | - |
| PG4 | - | - | A14 | - | - | - |
| PG5 | - | - | A15 | - | - | - |
| PG6 | - | - | - | - | INT2 | - |
| PG7 | - | - | - | - | INT3 | - |
| PD0 | D2 | D2 | D2 | DA2 | D2 | Yes |
| PD1 | D3 | D3 | D3 | DA3 | D3 | Yes |
| PD3 | - | - | CLK | CLK | - | Yes |
| PD4 | NOE | NOE | NOE | NOE | NOE | Yes |
| PD5 | NWE | NWE | NWE | NWE | NWE | Yes |
| PD6 | NWAIT | NWAIT | NWAIT | NWAIT | NWAIT | Yes |
| PD7 | - | - | NE1 | NE1 | NCE2 | Yes |
| PG9 | - | - | NE2 | NE2 | NCE3 | - |
| PG10 | NCE4_1 | NCE4_1 | NE3 | NE3 | - | - |
| PG11 | NCE4_2 | NCE4_2 | - | - | - | - |
| PG12 | - | - | NE4 | NE4 | - | - |
| PG13 | - | - | A24 | A24 | - | - |
| PG14 | - | - | A25 | A25 | - | - |
| PB7 | - | - | NADV | NADV | - | Yes |
| PE0 | - | - | NBL0 | NBL0 | - | Yes |
| PE1 | - | - | NBL1 | NBL1 | - | Yes |
136
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) | Symbol | Parameter | Conditions | Min | Max | Unit |
|---|---|---|---|---|---|---|
| 10 | f max(IO)out | Maximum frequency (2) | C L = 50 pF, V DD = 2 V to 3.6 V | - | 2 | MHz |
| 10 | t f(IO)out | Output high to low level fall time | C L = 50 pF, V DD = 2 V to 3.6 V | - | 125 (3) | ns |
| 10 | t r(IO)out | Output low to high level rise time | C L = 50 pF, V DD = 2 V to 3.6 V | - | 125 (3) | ns |
| 01 | f max(IO)out | Maximum frequency (2) | C L = 50 pF, V DD = 2 V to 3.6 V | - | 10 | MHz |
| 01 | t f(IO)out | Output high to low level fall time | C L = 50 pF, V DD = 2 V to 3.6 V | - | 25 (3) | ns |
| 01 | t r(IO)out | Output low to high level rise time | C L = 50 pF, V DD = 2 V to 3.6 V | - | 25 (3) | ns |
| 11 | F max(IO)out | Maximum frequency (2) | C L = 30 pF, V DD = 2.7 V to 3.6 V | - | 50 | MHz |
| 11 | F max(IO)out | Maximum frequency (2) | C L = 50 pF, V DD = 2.7 V to 3.6 V | - | 30 | MHz |
| 11 | F max(IO)out | Maximum frequency (2) | C L = 50 pF, V DD = 2 V to 2.7 V | - | 20 | MHz |
| 11 | t f(IO)out | Output high to low level fall time | C L = 30 pF, V DD = 2.7 V to 3.6 V | - | 5 (3) | ns |
| 11 | t f(IO)out | Output high to low level fall time | C L = 50 pF, V DD = 2.7 V to 3.6 V | - | 8 (3) | ns |
| 11 | t f(IO)out | Output high to low level fall time | C L = 50 pF, V DD = 2 V to 2.7 V | - | 12 (3) | ns |
| 11 | t r(IO)out | Output low to high level rise time | C L = 30 pF, V DD = 2.7 V to 3.6 V | - | 5 (3) | ns |
| 11 | t r(IO)out | Output low to high level rise time | C L = 50 pF, V DD = 2.7 V to 3.6 V | - | 8 (3) | ns |
| 11 | t r(IO)out | Output low to high level rise time | C L = 50 pF, V DD = 2 V to 2.7 V | - | 12 (3) | ns |
| - | t EXTIpw | Pulse width of external signals detected by the EXTI controller | - | 10 | - | ns |
- The maximum frequency is defined in Figure 46 .
- 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
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD -V SS | External main supply voltage (including V DDA and V DD ) (1) | -0.3 | 4.0 | V |
| V IN (2) | Input voltage on five volt tolerant pin | V SS - 0.3 | V DD + 4.0 | V |
| V IN (2) | Input voltage on any other pin | V SS - 0.3 | 4.0 | V |
| \ | ∆ 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
| Symbol | Ratings | Max. | Unit |
|---|---|---|---|
| I VDD | Total current into V DD /V DDA power lines (source) (1) | 150 | mA |
| I VSS | Total current out of V SS ground lines (sink) (1) | 150 | mA |
| I IO | Output current sunk by any I/O and control pin | 25 | mA |
| I IO | Output current source by any I/Os and control pin | - 25 | mA |
| I INJ(PIN) (2) | Injected current on five volt tolerant pins (3) | -5/+0 | mA |
| I INJ(PIN) (2) | Injected current on any other pin (4) | ± 5 | mA |
| Σ I INJ(PIN) | Total injected current (sum of all I/O and control pins) (5) | ± 25 | mA |
- 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.
- 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.
- 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
| 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 (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 Number | Manufacturer | Package |
|---|---|---|
| STM32F103RC | STMicroelectronics | — |
| STM32F103RCT6 | STMicroelectronics | 64-LQFP |
| STM32F103RD | STMicroelectronics | — |
| STM32F103RE | STMicroelectronics | — |
| STM32F103RX | STMicroelectronics | — |
| STM32F103VC | STMicroelectronics | — |
| STM32F103VD | STMicroelectronics | — |
| STM32F103VE | STMicroelectronics | — |
| STM32F103VX | STMicroelectronics | — |
| STM32F103X4 | STMicroelectronics | — |
| STM32F103X4/6 | STMicroelectronics | — |
| STM32F103X6 | STMicroelectronics | — |
| STM32F103X8 | STMicroelectronics | — |
| STM32F103X8/B | STMicroelectronics | — |
| STM32F103XB | STMicroelectronics | — |
| STM32F103XC | STMicroelectronics | — |
| STM32F103XC/D/E | STMicroelectronics | — |
| STM32F103XD | STMicroelectronics | LQFP64 10 × 10 mm |
| STM32F103XE | STMicroelectronics | — |
| STM32F103XF | STMicroelectronics | — |
| STM32F103XG | STMicroelectronics | — |
| STM32F103XGSTM32F103XF | STMicroelectronics | — |
| STM32F103XX | STMicroelectronics | — |
| STM32F103ZC | STMicroelectronics | — |
| STM32F103ZD | STMicroelectronics | — |
| STM32F103ZE | STMicroelectronics | — |
| STM32F103ZX | STMicroelectronics | LQFP64 1 |
Get structured datasheet data via API
Get started free