STM32F100X4
STM32F100X4
STM32F100x8 STM32F100xB
Low & medium-density value line, advanced ARM-based 32-bit MCU
with 16 to 128 KB Flash, 12 timers, ADC, DAC & 8 comm interfaces
Preliminary data
Features
■ Core: ARM 32-bit Cortex™-M3 CPU FBGA
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.2.1 ARM® Cortex™-M3 core with embedded Flash and SRAM . . . . . . . . . 14
2.3 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 14
2.5 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.6 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . . 15
2.7 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.8 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.9 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.10 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.11 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.12 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.13 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.14 DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.15 RTC (real-time clock) and backup registers . . . . . . . . . . . . . . . . . . . . . . . 17
2.16 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.16.1 Advanced-control timer (TIM1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.16.2 General-purpose timers (TIM2, TIM3, TIM4, TIM15, TIM16 & TIM17) . 18
2.16.3 Basic timers TIM6 and TIM7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.16.4 Independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.16.5 Window watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.16.6 SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
²
2.17 I C bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.18 Universal synchronous/asynchronous receiver transmitter (USART) . . . 20
2.19 Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.20 HDMI (high-definition multimedia interface) consumer
electronics control (CEC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.21 GPIOs (general-purpose inputs/outputs) . . . . . . . . . . . . . . . . . . . . . . . . . 21
4 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 35
5.3.3 Embedded reset and power control block characteristics . . . . . . . . . . . 35
5.3.4 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.3.5 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.3.6 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5.3.7 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.3.8 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3.9 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.10 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.3.11 Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . . 53
5.3.12 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.3.13 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5.3.14 TIMx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.3.15 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6 Package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.1 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.2 Thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.2.1 Reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.2.2 Selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . . . 80
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
List of tables
List of figures
1 Introduction
This datasheet provides the ordering information and mechanical device characteristics of
the STM32F100x4, STM32F100x6, STM32F100x8 and STM32F100xB value line
microcontrollers. In the rest of the document, the STM32F100x4 and STM32F100x6 are
referred to as low-density devices while the STM32F100x8 and STM32F100xB are
identified as medium-density devices.
The STM32F100xx datasheet should be read in conjunction with the low- and medium-
density STM32F100xx reference manual.
For information on programming, erasing and protection of the internal Flash memory
please refer to the STM32F100xx Flash programming manual.
The reference and Flash programming manuals are both available from the
STMicroelectronics website www.st.com.
For information on the Cortex™-M3 core please refer to the Cortex™-M3 Technical
Reference Manual, available from the www.arm.com website at the following address:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/.
2 Description
The STM32F100xx value line family incorporates the high-performance ARM Cortex™-M3
32-bit RISC core operating at a 24 MHz frequency, high-speed embedded memories (Flash
memory up to 128 Kbytes and SRAM up to 8 Kbytes), and an extensive range of enhanced
peripherals and I/Os connected to two APB buses. All devices offer standard communication
interfaces (up to two I2Cs, two SPIs, one HDMI CEC, and up to three USARTs), one 12-bit
ADC, two 12-bit DACs, up to six general-purpose 16-bit timers and an advanced-control
PWM timer.
The STM32F100xx low- and medium-density value line family operates in the –40 to +85 °C
and –40 to +105 °C temperature ranges, from a 2.0 to 3.6 V power supply. A comprehensive
set of power-saving mode allows the design of low-power applications.
The STM32F100xx value line family includes devices in three different packages ranging
from 48 pins to 100 pins. Depending on the device chosen, different sets of peripherals are
included, the description below gives an overview of the complete range of peripherals
proposed in this family.
These features make the STM32F100xx value line microcontroller family suitable for a wide
range of applications:
● Application control and user interface
● Medical and handheld equipment
● PC peripherals, gaming and GPS platforms
● Industrial applications: PLC, inverters, printers, and scanners
● Alarm systems, Video intercom, and HVAC
Figure 1 shows the general block diagram of the device family.
42!#%#,+
4RACE
42!#%$;= *4!' 37 PBUS 0OWER
CONTROLLER 6$$
AS !& 6$$ 6 TO 6
6OLTAGE REG
.*4234 6 TO 6 633
&LASH OBL
INTERFACE
*4$) )BUS &LASH +"
*4#+37#,+ #ORTEX - #05 BIT
6$$
*4-337$)/
*4$/ $BUS
&MAX -(Z 0/2 3UPPLY
AS !& SUPERVISION .234
32!- 2ESET
6$$!
+" 6$$! )NT 0/2 0$2
"US MATRIX
3YSTEM 633!
.6)# 2# (3 06$
2# ,3
'0 $-! 6$$!
6$$
/3#?).
CHANNELS
84!, /3# /3#?/54
0,, -(Z
0#,+ )7$'
2ESET
0#,+
!(" & MAX -(Z
CLOCK 3TANDBY
CONTROL (#,+ INTERFACE 6"! 4 6 TO 6
&#,+
%84) 4 6"!4
!&
7+50
/3#?).
84!, K(Z
'0)/ PORT ! /3#?/54
0!;=
24# "ACKUP
REGISTER 4!- 0%2 24#
0";= '0)/ PORT " !75
!,!2- /54
"ACKUP INTERFACE
0#;= '0)/ PORT #
CHANNELS
!(" 4)-
!(" AS !&
0$;= '0)/ PORT $ !0" !0"
CHANNELS
4)- AS !&
0%;= '0)/ PORT %
CHANNELS
!0" & MAX -(Z 4)-
CHANNELS COMPL AS !&
CHANNEL AND "+). 4)- 28 48 #43 243
AS !& 53!24
#+ AS !&
CHANNEL COMPL 28 48 #43 243
CHANNEL AND "+). 4)- 53!24
#+ AS !&
AS !&
CHANNEL COMPL -/3) -)3/
30)
!0" & MAX -(Z
6
2%&
6 6$$!
2%&n 6$$!
AIB
-(Z
(3) 2# (3)
(#,+
-(Z MAX TO !(" BUS CORE
#LOCK MEMORY AND $-!
%NABLE
TO #ORTEX 3YSTEM TIMER
0,,32# 37
0,,-5, &#,+ #ORTEX
(3) FREE RUNNING CLOCK
X 393#,+ !(" !0"
-(Z MAX 0#,+
X X X 0,,#,+ -(Z
0RESCALER 0RESCALER
TO !0"
0,, MAX PERIPHERALS
0ERIPHERAL #LOCK
(3%
%NABLE
4)-
)F !0" PRESCALER X TO 4)- AND
#33 ELSE X 4)-X#,+
0ERIPHERAL #LOCK
%NABLE
02%$)6 !0"
-(Z MAX 0#,+
0RESCALER
/3#?/54 PERIPHERALS TO !0"
-(Z 0ERIPHERAL #LOCK
(3% /3# %NABLE
/3#?). TO 4)- 4)-
4)- TIMERS 4)- AND 4)-
)F !0" PRESCALER X
ELSE X 4)-X#,+
0ERIPHERAL #LOCK
%NABLE
!$# TO !$#
/3#?). TO 24#
,3% /3# ,3% 0RESCALER
!$##,+ -(Z MAX
K(Z 24##,+
/3#?/54
24#3%,;=
-AIN ,EGEND
0,,#,+
CLOC K OUT PUT (3% (IGH SPEED EXTERNAL CLOCK SIGNAL
-#/ (3) (3) (IGH SPEED INTERNAL CLOCK SIGNAL
(3% ,3) ,OW SPEED INTERNAL CLOCK SIGNAL
393#,+ ,3% ,OW SPEED EXTERNAL CLOCK SIGNAL
-#/
AI
2.2 Overview
The device can be woken up from Stop mode by any of the EXTI line. The EXTI line
source can be one of the 16 external lines, the PVD output or the RTC alarm.
● Standby mode
The Standby mode is used to achieve the lowest power consumption. The internal
voltage regulator is switched off so that the entire 1.8 V domain is powered off. The
PLL, the HSI RC and the HSE crystal oscillators are also switched off. After entering
Standby mode, SRAM and register contents are lost except for registers in the Backup
domain and Standby circuitry.
The device exits Standby mode when an external reset (NRST pin), a IWDG reset, a
rising edge on the WKUP pin, or an RTC alarm occurs.
Note: The RTC, the IWDG, and the corresponding clock sources are not stopped by entering Stop
or Standby mode.
2.14 DMA
The flexible 7-channel general-purpose DMA is able to manage memory-to-memory,
peripheral-to-memory and memory-to-peripheral transfers. The DMA controller supports
circular buffer management avoiding the generation of interrupts when the controller
reaches the end of the buffer.
Each channel is connected to dedicated hardware DMA requests, with support for software
trigger on each channel. Configuration is made by software and transfer sizes between
source and destination are independent.
The DMA can be used with the main peripherals: SPI, DAC, I2C, USART, all timers and
ADC.
2.16.2 General-purpose timers (TIM2, TIM3, TIM4, TIM15, TIM16 & TIM17)
There are six synchronizable general-purpose timers embedded in the STM32F100xx
devices (see Table 3 for differences). Each general-purpose timers can be used to generate
PWM outputs, or as simple time base.
Eight DAC trigger inputs are used in the STM32F100xx. The DAC channels are triggered
through the timer update outputs that are also connected to different DMA channels.
BOOT0
VDD_3
VSS_3
PC12
PC11
PC10
PA15
PA14
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PE1
PE0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
PE2 1 75 VDD_2
PE3 2 74 VSS_2
PE4 3 73 NC
PE5 4 72 PA 13
PE6 5 71 PA 12
VBAT 6 70 PA 11
PC13-TAMPER-RTC 7 69 PA 10
PC14-OSC32_IN 8 68 PA 9
PC15-OSC32_OUT 9 67 PA 8
VSS_5 10 66 PC9
VDD_5 11 65 PC8
OSC_IN 12
LQFP100 64 PC7
OSC_OUT 13 63 PC6
NRST 14 62 PD15
PC0 15 61 PD14
PC1 16 60 PD13
PC2 17 59 PD12
PC3 18 58 PD11
VSSA 19 57 PD10
VREF- 20 56 PD9
VREF+ 21 55 PD8
VDDA 22 54 PB15
PA0-WKUP 23 53 PB14
PA1 24 52 PB13
PA2 25 51 PB12
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PA3
VSS_4
VDD_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PB10
PB11
VSS_1
VDD_1
ai14386b
BOOT0
VDD_3
VSS_3
PC12
PC11
PC10
PA15
PA14
PD2
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VBAT 1 48 VDD_2
PC13-TAMPER-RTC 2 47 VSS_2
PC14-OSC32_IN 3 46 PA13
PC15-OSC32_OUT 4 45 PA12
PD0 OSC_IN 5 44 PA11
PD1 OSC_OUT 6 43 PA10
NRST 7 42 PA9
PC0 8 41 PA8
PC1 9
LQFP64 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA 12 37 PC6
VDDA 13 36 PB15
PA0-WKUP 14 35 PB14
PA1 15 34 PB13
PA2 16 33 PB12
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
PA3
VSS_4
VDD_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PB10
PB11
VSS_1
VDD_1
ai14387b
PA15
PA14
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48 47 46 45 44 43 42 41 40 39 38 37
VBAT 1 36 VDD_2
PC13-TAMPER-RTC 2 35 VSS_2
PC14-OSC32_IN 3 34 PA13
PC15-OSC32_OUT 4 33 PA12
PD0-OSC_IN 5 32 PA11
PD1-OSC_OUT 6 31 PA10
NRST 7
LQFP48 30 PA9
VSSA 8 29 PA8
VDDA 9 28 PB15
PA0-WKUP 10 27 PB14
PA1 11 26 PB13
PA2 12 25 PB12
13 14 15 16 17 18 19 20 21 22 23 24
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
PB10
PB11
VSS_1
VDD_1
ai14378d
PC14- PC13-
A OSC32_IN TAMPER-RTC PB9 PB4 PB3 PA15 PA14 PA13
PC15-
B OSC32_OUT VBAT PB8 BOOT0 PD2 PC11 PC10 PA12
AI15494
Main
TFBGA64
LQFP100
LQFP64
LQFP48
I / O level(2)
Type(1)
Main
TFBGA64
LQFP100
LQFP64
PC14-
8 3 A1 3 I/O PC14(6) OSC32_IN
OSC32_IN(5)
PC15-
9 4 B1 4 I/O PC15(6) OSC32_OUT
OSC32_OUT(5)
10 - - - VSS_5 S VSS_5
11 - - - VDD_5 S VDD_5
12 5 C1 5 OSC_IN I OSC_IN
13 6 D1 6 OSC_OUT O OSC_OUT
14 7 E1 7 NRST I/O NRST
15 8 E3 - PC0 I/O PC0 ADC1_IN10
16 9 E2 - PC1 I/O PC1 ADC1_IN11
17 10 F2 - PC2 I/O PC2 ADC1_IN12
18 11 -(7) - PC3 I/O PC3 ADC1_IN13
19 12 F1 8 VSSA S VSSA
20 - - - VREF- S VREF-
21 - G1 - VREF+ S VREF+
22 13 H1 9 VDDA S VDDA
WKUP / USART2_CTS(12)/
23 14 G2 10 PA0-WKUP I/O PA0
ADC1_IN0 / TIM2_CH1_ETR(12)
USART2_RTS(12)/ ADC1_IN1 /
24 15 H2 11 PA1 I/O PA1
TIM2_CH2(12)
USART2_TX(12)/ ADC1_IN2 /
25 16 F3 12 PA2 I/O PA2
TIM2_CH3(12)/ TIM15_CH1(12)
USART2_RX(12)/ ADC1_IN3 /
26 17 G3 13 PA3 I/O PA3
TIM2_CH4(12) / TIM15_CH2(12)
27 18 C2 - VSS_4 S VSS_4
28 19 D2 - VDD_4 S VDD_4
SPI1_NSS(12)/ADC1_IN4
29 20 H3 14 PA4 I/O PA4
USART2_CK(12) / DAC1_OUT
SPI1_SCK(12)/ADC1_IN5 /
30 21 F4 15 PA5 I/O PA5
DAC2_OUT
SPI1_MISO(12)/ADC1_IN6 / TIM1_BKIN /
31 22 G4 16 PA6 I/O PA6
TIM3_CH1(12) TIM16_CH1
SPI1_MOSI(12)/ADC1_IN7 / TIM1_CH1N /
32 23 H4 17 PA7 I/O PA7
TIM3_CH2(12) TIM17_CH1
33 24 H5 - PC4 I/O PC4 ADC1_IN14
I / O level(2)
Type(1)
Main
TFBGA64
LQFP100
LQFP64
I / O level(2)
Type(1)
Main
TFBGA64
LQFP100
LQFP64
I / O level(2)
Type(1)
Main
TFBGA64
LQFP100
LQFP64
PB4 / TIM3_CH1
90 56 A4 40 PB4 I/O FT NJTRST
SPI1_MISO
TIM3_CH2 /
91 57 C4 41 PB5 I/O PB5 I2C1_SMBA / TIM16_BKIN
SPI1_MOSI
I2C1_SCL(12)/ TIM4_CH1(10)(12)
92 58 D3 42 PB6 I/O FT PB6 USART1_TX
TIM16_CH1N
I2C1_SDA(12)/ TIM17_CH1N
93 59 C3 43 PB7 I/O FT PB7 USART1_RX
TIM4_CH2(10)(12)
94 60 B4 44 BOOT0 I BOOT0
TIM4_CH3(10)(12) /
95 61 B3 45 PB8 I/O FT PB8 I2C1_SCL
TIM16_CH1(12) / CEC(12)
TIM4_CH4(10)(12) /
96 62 A3 46 PB9 I/O FT PB9 I2C1_SDA
TIM17_CH1(12)
97 - - - PE0 I/O FT PE0 TIM4_ETR(10)
98 - - - PE1 I/O FT PE1
99 63 D4 47 VSS_3 S VSS_3
100 64 E4 48 VDD_3 S VDD_3
1. I = input, O = output, S = supply, HiZ= high impedance.
2. FT= 5 V tolerant.
3. Function availability depends on the chosen device. For devices having reduced peripheral counts, it is always the lower
number of peripherals that is included. For example, if a device has only one SPI, two USARTs and two timers, they will be
called SPI1, USART1 & USART2 and TIM2 & TIM 3, respectively. Refer to Table 2 on page 11.
4. 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).
5. PC13, PC14 and PC15 are supplied through the power switch and since the switch only sinks a limited amount of current
(3 mA), the use of GPIOs PC13 to PC15 in output mode is restricted: 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).
6. 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.
7. Unlike in the LQFP64 package, there is no PC3 in the TFBGA64 package. The VREF+ functionality is provided instead.
8. I2C2 is not present on low-density value line devices.
9. SPI2 is not present on low-density value line devices.
10. TIM4 is not present on low-density value line devices.
11. The pins number 2 and 3 in the VFQFPN36 package, 5 and 6 in the LQFP48 and LQFP64 packages and C1 and C2 in the
TFBGA64 package 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 more details, refer to the Alternate function I/O and debug configuration section in
the STM32F10xxx reference manual.
12. 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.
4 Memory mapping
The memory map is shown in Figure 7.
5 Electrical characteristics
C = 50 pF VIN
ai14124b
ai14123b
VBAT
Backup circuitry
Po wer swi tch (OSC32K,RTC,
1.8-3.6V
Wake-up logic
Backup registers)
Level shifter
OUT
IO
GP I/Os Logic
IN Kernel logic
(CPU,
Digital
VDD
VDD & Memories)
1/2/3/4/5 Regulator
5 × 100 nF VSS
+ 1 × 4.7 µF 1/2/3/4/5
VDD
VDDA
VREF
VREF+
10 nF Analog:
10 nF VREF- ADC
+ 1 µF RCs, PLL,
+ 1 µF
...
VSSA
ai14125d
IDD_VBAT
VBAT
IDD
VDD
VDDA
ai14126
.
Table 10. Embedded reset and power control block characteristics
Symbol Parameter Conditions Min Typ Max Unit
Table 12. Maximum current consumption in Run mode, code with data processing
running from Flash
Max(1)
Symbol Parameter Conditions fHCLK Unit
TA = 85 °C TA = 105 °C
Table 13. Maximum current consumption in Run mode, code with data processing
running from RAM
Max(1)
Symbol Parameter Conditions fHCLK Unit
TA = 85 °C TA = 105 °C
24 MHz 14.5 15
External clock (2), all
16 MHz 10 10.5
peripherals enabled
Supply current 8 MHz 6 6.3
IDD mA
in Run mode 24MHz 9.3 9.7
External clock(2) all
16 MHz 6.8 7.2
peripherals disabled
8 MHz 4.4 4.7
1. Based on characterization, tested in production at VDD max, fHCLK max.
2. External clock is 8 MHz and PLL is on when fHCLK > 8 MHz.
Figure 12. Maximum current consumption in Run mode versus frequency (at 3.6 V) -
code with data processing running from RAM, peripherals enabled
#ONSUMPTION M!
-(Z
-(Z
-(Z
n # # # #
4EMPERATURE #
AI
Figure 13. Maximum current consumption in Run mode versus frequency (at 3.6 V) -
code with data processing running from RAM, peripherals disabled
#ONSUMPTION M!
-(Z
-(Z
-(Z
n # # # #
4EMPERATURE # AI
24 MHz 9.6 10
External clock(2) all
16 MHz 7.1 7.5
peripherals enabled
Supply current 8 MHz 4.5 4.8
IDD mA
in Sleep mode 24 MHz 3.8 4
External clock(2), all
16 MHz 3.3 3.5
peripherals disabled
8 MHz 2.7 3
1. Based on characterization, tested in production at VDD max and fHCLK max with peripherals enabled.
2. External clock is 8 MHz and PLL is on when fHCLK > 8 MHz.
Table 15. Typical and maximum current consumptions in Stop and Standby modes(1)
Typ(2) Max
Symbol Parameter Conditions Unit
VDD/VBAT VDD/ VBAT VDD/VBAT TA = TA =
= 2.0 V = 2.4 V = 3.3 V 85 °C 105 °C
Figure 14. Typical current consumption in Stop mode with regulator in Run mode versus
temperature at VDD = 3.3 V and 3.6 V
#ONSUMPTION !
6
6
n # # # #
4EMPERATURE # AI
Figure 15. Typical current consumption in Stop mode with regulator in Low-power mode versus
temperature at VDD = 3.3 V and 3.6 V
#ONSUMPTION !
6
6
n # # # #
4EMPERATURE # AI
Figure 16. Typical current consumption in Standby mode versus temperature at VDD = 3.3 V and
3.6 V
#ONSUMPTION !
6
6
n # # # #
4EMPERATURE # AI
Table 16. Typical current consumption in Run mode, code with data processing
running from Flash
Typical values(1)
Symbol Parameter Conditions fHCLK Unit
All peripherals All peripherals
enabled(2) disabled
24 MHz 15.4 9
16 MHz 11.2 6.50
8 MHz 6.2 3.9
Running on high-speed 4 MHz 3.75 2.5
external clock with an
8 MHz crystal(3) 2 MHz 2.3 1.8
1 MHz 1.65 1.35
500 kHz 1.3 1.2
Supply 125 kHz 1.1 1
IDD current in mA
Run mode 24 MHz 15 8.4
16 MHz 10.3 6.1
8 MHz 5.5 3.4
Table 17. Typical current consumption in Sleep mode, code running from Flash or
RAM
Typical values(1)
Symbol Parameter Conditions fHCLK Unit
All peripherals All peripherals
enabled(2) disabled
TIM2 0.52
TIM3 0.46
TIM4 0.5
TIM6 0.125
TIM7 0.19
DAC 0.5(2)
APB1 WWDG 0.13
SPI2 0.2
USART2 0.38
USART3 0.32
I2C1 0.27
I2C2 0.28
HDMI CEC 0.16 mA
GPIO A 0.25
GPIO B 0.12
GPIO C 0.18
GPIO D 0.15
GPIO E 0.15
(3)
ADC1 0.15
APB2
SPI1 0.12
USART1 0.27
TIM1 0.63
TIM15 0.33
TIM16 0.26
TIM17 0.25
1. fHCLK = fAPB1 = fAPB2 = 24 MHz, default prescaler value for each peripheral.
2. Specific conditions for DAC: EN1 bit in DAC_CR register set to 1.
3. Specific conditions for ADC: fHCLK = 24 MHz, fAPB1 = fAPB2 = fHCLK, fADCCLK = fAPB2/2, ADON bit in the
ADC_CR2 register is set to 1.
VHSEH
90%
10%
VHSEL
tr(HSE) tW(HSE) t
tf(HSE) tW(HSE)
THSE
External fHSE_ext
IL
clock source OSC _IN
STM32F10xxx
ai14127b
VLSEH
90%
10%
VLSEL
tr(LSE) tW(LSE) t
tf(LSE) tW(LSE)
TLSE
External fLSE_ext
OSC32_IN IL
clock source
STM32F10xxx
ai14140c
Resonator with
integrated capacitors
CL1
OSC_IN fHSE
Bias
8 MH z controlled
RF
resonator gain
OSC_OU T STM32F10xxx
CL2 REXT(1)
ai14128b
Note: For CL1 and CL2 it is recommended to use high-quality ceramic capacitors in the 5 pF to
15 pF range selected to match the requirements of the crystal or resonator. CL1 and CL2, are
usually the same size. The crystal manufacturer typically specifies a load capacitance which
is the series combination of CL1 and CL2.
Load capacitance CL has the following formula: CL = CL1 x CL2 / (CL1 + CL2) + Cstray where
Cstray is the pin capacitance and board or trace PCB-related capacitance. Typically, it is
between 2 pF and 7 pF.
Caution: To avoid exceeding the maximum value of CL1 and CL2 (15 pF) it is strongly recommended
to use a resonator with a load capacitance CL 7 pF. Never use a resonator with a load
capacitance of 12.5 pF.
Example: if you choose a resonator with a load capacitance of CL = 6 pF, and Cstray = 2 pF,
then CL1 = CL2 = 8 pF.
RF Feedback resistor 5 M
Resonator with
integrated capacitors
CL1
OSC32_IN fLSE
Bias
32.768 KH z controlled
RF
resonator gain
OSC32_OU T STM32F10xxx
CL2
ai14129b
Prequalification trials
Most of the common failures (unexpected reset and program counter corruption) can be
reproduced by manually forcing a low state on the NRST pin or the Oscillator pins for 1
second. To complete these trials, ESD stress can be applied directly on the device, over the
range of specification values. When unexpected behavior is detected, the software can be
hardened to prevent unrecoverable errors occurring (see application note AN1015).
Static latch-up
Two complementary static tests are required on six parts to assess the latch-up
performance:
● A supply overvoltage is applied to each power supply pin
● A current injection is applied to each input, output and configurable I/O pin
These tests are compliant with EIA/JESD78 IC latch-up standard.
0.28 (VDD–2)
Standard I/O input low level voltage –0.5
+0.8
VIL
0.32 (VDD–2)
I/O FT(1) input low level voltage –0.5
+0.75
V
0.41 (VDD–2)
Standard I/O input high level voltage VDD+0.5
+1.3
VIH
0.42 (VDD–2)
I/O FT(1) input high level voltage 5.5
+1
Standard I/O Schmitt trigger voltage
200 mV
hysteresis(2)
Vhys
I/O FT Schmitt trigger voltage
5% VDD(3) mV
hysteresis(2)
VSS VIN VDD
1
Standard I/Os
Ilkg Input leakage current(4) µA
VIN = 5 V
3
I/O FT
RPU Weak pull-up equivalent resistor(5) VIN VSS 30 40 50 k
Weak pull-down equivalent
RPD VIN VDD 30 40 50 k
resistor(5)
CIO I/O pin capacitance 5 pF
1. FT = 5V tolerant. To sustain a voltage higher than VDD+0.5 the internal pull-up/pull-down resistors must be disabled.
2. Hysteresis voltage between Schmitt trigger switching levels. Based on characterization, not tested in production.
3. With a minimum of 100 mV.
4. Leakage could be higher than max. if negative current is injected on adjacent pins.
5. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This
PMOS/NMOS contribution to the series resistance is minimum (~10% order).
All I/Os are CMOS and TTL compliant (no software configuration required). Their
characteristics cover more than the strict CMOS-technology or TTL parameters. The
coverage of these requirements is shown in Figure 21 and Figure 22 for standard I/Os, and
in Figure 23 and Figure 24 for 5 V tolerant I/Os.
6)(6), 6
6 $$ 6
6 )( $$
REQUIREMENT 6 )(
STANDARD
#-/3
)NPUT RANGE
7)(MIN
NOT GUARANTEED
7),MAX
6 ),6 $$
6
MENT 6 ), $$
#-/3 STAN DARD REQUIRE
6$$ 6
AI
6)(6), 6
7),MAX 6 ),6 $$
44, REQUIREMENTS 6),6
6$$ 6
AI
6)(6), 6
6 $$
TS 6 )(
ARD REQ UIREMEN 6 )(6 $$
#-/ 3 STAND
)NPUT RANGE
NOT GUARANTEED
6 ),6 $$
6 6 $$
DARD REQUIRMENT ),
#-/3 STAN
6$$ 6
6$$
AI
6)(6), 6
6
6 )( $$ .OT GUARANTEED
7)(MIN INPUT RANGE
6 ), 6 $$
7),MAX
44, REQUIREMENTS 6 ),6
6$$ 6
AI
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 25 and
Table 35, respectively.
Unless otherwise specified, the parameters given in Table 35 are derived from tests
performed under the ambient temperature and VDD supply voltage conditions summarized
in Table 8.
90% 10%
50% 50%
10% 90%
Maximum frequency is achieved if (tr + tf) 2/3)T and if the duty cycle is (45-55%)
when loaded by 50pF
ai14131
6$$
%XTERNAL
RESET CIRCUIT
205 )NTERNAL RESET
.234
&ILTER
&
34-&X
AID
1 tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 24 MHz 41.7 ns
KΩ KΩ 34-&X
Ω
3$!
)£# BUS Ω
3#,
3TART REPEATED
3TART
3TART
TSU34!
3$!
TF3$! TR3$! TSU3$!
3TOP TSU34/34!
TH34! TW3#,, TH3$!
3#,
TW3#,( TR3#, TF3#, TSU34/
AID
400 0x8011
300 0x8016
200 0x8021
100 0x0064
50 0x00C8
20 0x01F4
1. RP = External pull-up resistance, fSCL = I2C speed,
2. For speeds around 400 kHz, the tolerance on the achieved speed is of 2%. For other speed ranges, the
tolerance on the achieved speed 1%. These variations depend on the accuracy of the external
components used to design the application.
NSS input
tc(SCK)
tSU(NSS) th(NSS)
CPHA= 0
SCK Input
CPOL=0
tw(SCKH)
CPHA= 0 tw(SCKL)
CPOL=1
Figure 29. SPI timing diagram - slave mode and CPHA = 1(1)
NSS input
tSU(NSS) tc(SCK) th(NSS)
CPHA=1
SCK Input
CPOL=0
tw(SCKH)
CPHA=1 tw(SCKL)
CPOL=1
ai14135
High
NSS input
tc(SCK)
CPHA= 0
SCK Input
CPOL=0
CPHA= 0
CPOL=1
CPHA=1
SCK Input
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI) tw(SCKL) tf(SCK)
MISO
INP UT MS BIN BI T6 IN LSB IN
th(MI)
MOSI
M SB OUT B I T1 OUT LSB OUT
OUTUT
tv(MO) th(MO)
ai14136
The above formula (Equation 1) is used to determine the maximum external impedance allowed for an
error below 1/4 of LSB. Here N = 12 (from 12-bit resolution).
Note: ADC accuracy vs. negative injection current: Injecting a negative current on any of the
standard (non-robust) analog input pins should be avoided as this significantly reduces the
accuracy of the conversion being performed on another analog input. It is recommended to
add a Schottky diode (pin to ground) to standard analog pins which may potentially inject
negative currents.
Any positive injection current within the limits specified for IINJ(PIN) and IINJ(PIN) in
Section 5.3.12 does not affect the ADC accuracy.
VDD STM32F10xxx
ai14139d
Figure 33. Power supply and reference decoupling (VREF+ not connected to VDDA)
STM32F10xxx
V REF+
1 µF // 10 nF V DDA
1 µF // 10 nF
V SSA/V REF-
ai14380b
1. VREF+ is available on 100-pin packages and on TFBGA64 packages. VREF- is available on 100-pin
packages only.
Figure 34. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32F10xxx
VREF+/VDDA
1 µF // 10 nF
VREF–/VSSA
ai14381b
Buffer(1)
R LOAD
12-bit DACx_OUT
digital to
analog
converter
C LOAD
ai17157
1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external loads directly
without the use of an external operational amplifier. The buffer can be bypassed by configuring the BOFFx bit in the
DAC_CR register.
6 Package characteristics
Figure 36. LQFP100, 14 x 14 mm, 100-pin low-profile Figure 37. Recommended footprint(1)(2)
quad flat package outline(1)
0.25 mm
0.10 inch
GAGE PLANE
k 75 51
D
L 76 50
D1
0.5
D3 L1
75 51 C
0.3
76 50
16.7 14.3
E3 E1 E
100 26
1.2
1 25
100 26
Pin 1 1 25
12.3
ccc C
identification
16.7
e
A1
ai14906
A2
A
SEATING PLANE C
1L_ME
Table 47. LQPF100 – 14 x 14 mm, 100-pin low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A 1.60 0.063
A1 0.05 0.15 0.002 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
b 0.17 0.22 0.27 0.0067 0.0087 0.0106
c 0.09 0.2 0.0035 0.0079
D 15.80 16.00 16.2 0.622 0.6299 0.6378
D1 13.80 14.00 14.2 0.5433 0.5512 0.5591
D3 12.00 0.4724
E 15.80 16.00 16.2 0.622 0.6299 0.6378
E1 13.80 14.00 14.2 0.5433 0.5512 0.5591
E3 12.00 0.4724
e 0.50 0.0197
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 0.0394
k 0° 3.5° 7° 0.0° 3.5° 7.0°
ccc 0.08 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
Figure 38. LQFP64 – 10 x 10 mm, 64 pin low-profile quad Figure 39. Recommended
flat package outline(1) footprint(1)(2)
D 48 33
D1 ccc C
0.3
D3 A
A2 49 0.5 32
48 33
49 32
12.7
10.3
b
L1
10.3
E3 E1 E
64 17
1.2
L
A1 K
1 16
64 7.8
17
Pin 1
identification 1 16
12.7
c
5W_ME
ai14909
Table 48. LQFP64 – 10 x 10 mm, 64-pin low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A 1.60 0.0630
A1 0.05 0.15 0.0020 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
b 0.17 0.22 0.27 0.0067 0.0087 0.0106
c 0.09 0.20 0.0035 0.0079
D 12.00 0.4724
D1 10.00 0.3937
E 12.00 0.4724
E1 10.00 0.3937
e 0.50 0.0197
0° 3.5° 7° 0° 3.5° 7°
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 0.0394
Number of pins
N 64
1. Values in inches are converted from mm and rounded to 4 decimal digits.
Figure 40. TFBGA64 - 8 x 8 active ball array, 5 x 5 mm, 0.5 mm pitch, package outline
B D
A D1
A
A1 e F
H
F
G
F
E
E1 E
D
C
B
A
e
1 2 3 4 5 6 7 8
A3 A1 ball pad corner Øb (64 balls)
A4
A2
Seating
plane C Bottom view
ME_R8
Table 49. TFBGA64 - 8 x 8 active ball array, 5 x 5 mm, 0.5 mm pitch, package
mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A 1.200 0.0472
A1 0.150 0.0059
A2 0.785 0.0309
A3 0.200 0.0079
A4 0.600 0.0236
b 0.250 0.300 0.350 0.0098 0.0118 0.0138
D 4.850 5.000 5.150 0.1909 0.1969 0.2028
D1 3.500 0.1378
E 4.850 5.000 5.150 0.1909 0.1969 0.2028
E1 3.500 0.1378
e 0.500 0.0197
F 0.750 0.0295
ddd 0.080 0.0031
eee 0.150 0.0059
fff 0.050 0.0020
1. Values in inches are converted from mm and rounded to 4 decimal digits.
Figure 41. Recommended PCB design rules for pads (0.5 mm pitch BGA)
Pitch 0.5 mm
D pad 0.27 mm
Dsm
ai15495
Figure 42. LQFP48 – 7 x 7 mm, 48-pin low-profile quad flat Figure 43. Recommended
package outline(1) footprint(1)(2)
Seating plane
C
A A2
A1 c 0.50
b
1.20
0.25 mm
ccc C Gage plane
0.30
36 25
D 37 24
D1
k
0.20
D3 7.30
A1 L 9.70 5.80
36 25
L1
7.30
24 48 13
37 1 12
1.20
5.80
E3 E1 E
9.70
ai14911b
48
13
Pin 1 1 12
identification
5B_ME
Table 50. LQFP48 – 7 x 7 mm, 48-pin low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A 1.600 0.0630
A1 0.050 0.150 0.0020 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.170 0.220 0.270 0.0067 0.0087 0.0106
c 0.090 0.200 0.0035 0.0079
D 8.800 9.000 9.200 0.3465 0.3543 0.3622
D1 6.800 7.000 7.200 0.2677 0.2756 0.2835
D3 5.500 0.2165
E 8.800 9.000 9.200 0.3465 0.3543 0.3622
E1 6.800 7.000 7.200 0.2677 0.2756 0.2835
E3 5.500 0.2165
e 0.500 0.0197
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 1.000 0.0394
k 0° 3.5° 7° 0° 3.5° 7°
ccc 0.080 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
700
600
500
PD (mW)
400 Suffix 6
Suffix 7
300
200
100
0
65 75 85 95 105 115 125 135
TA (°C)
Device family
STM32 = ARM-based 32-bit microcontroller
Product type
F = General-purpose
Device subfamily
100 = value line
Pin count
C = 48 pins
R = 64 pins
V = 100 pins
Package
T = LQFP
H = BGA
Temperature range
6 = Industrial temperature range, –40 to 85 °C
7 = Industrial temperature range, –40 to 105 °C
Internal code
B
Options
xxx = programmed parts
TR = tape and real
For a list of available options (speed, package, etc.) or for further information on any aspect
of this device, please contact your nearest ST sales office.
8 Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.