1. I = input, O = output, S = supply, HiZ = high impedance.
2. FT= 5 V tolerant.
3. Function availability depends on the chosen device. Refer to Table 2 on page 7.
4. PC13, PC14 and PC15 are supplied through the power switch, and so their use in ouptut mode is limited: they can be used
only in output 2 MHz mode with a maximum load of 30 pF and only one pin can be put in output mode at a time.
5. Available only on devices with a Flash memory density equal or higher than 64 Kbytes.
6. 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,
UM0306, available from the STMicroelectronics website: www.st.com.
7. For the LQFP48 and LQFP64 packages, 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.
SS_3
DD_3
SV
SV
SS_3
DD_3
21/67
Page 11
Memory mappingSTM32F103xx
4 Memory mapping
The memory map is shown in Figure 6.
Figure 6.Memory map
APB memory space
0xFFFF FFFF
0xFFFF F000
7
0xE010 0000
0xE000 0000
6
0xC000 0000
5
0xA000 0000
4
0x8000 0000
3
0x6000 0000
2
0x4000 0000
1
0x2000 0000
0
0x0000 0000
Cortex-M3 Internal
Peripherals
PERIPHERALS
SRAM
CODE
Reserved
0x1FFF FFFF
0x1FFF F9FF
0x1FFF F800
0x1FFF F000
0x0801 FFFF
0x0800 0000
reserved
OPTION BYTES
SYSTEM MEMORY
reserved
FLASH
0xFFFF FFFF
0xE010 0000
0x6000 0000
0x4002 3400
0x4002 3000
0x4002 2400
0x4002 2000
0x4002 1400
0x4002 1000
0x4002 0400
0x4002 0000
0x4001 3C00
0x4001 3800
0x4001 3400
0x4001 3000
0x4001 2C00
0x4001 2800
0x4001 2400
0x4001 1C00
0x4001 1800
0x4001 1400
0x4001 1000
0x4001 0C00
0x4001 0800
0x4001 0400
0x4001 0000
0x4000 7400
0x4000 7000
0x4000 6C00
0x4000 6800
0x4000 6400
0x4000 6000
0x4000 5C00
0x4000 5800
0x4000 5400
0x4000 4C00
0x4000 4800
0x4000 4400
0x4000 3C00
0x4000 3800
0x4000 3400
0x4000 3000
0x4000 2C00
0x4000 2800
0x4000 0C00
0x4000 0800
0x4000 0400
0x4000 0000
reserved
reserved
reserved
reserved
reserved
Flash Interface
reserved
RCC
reserved
DMA
reserved
USART1
reserved
SPI1
TIM1
ADC2
ADC1
reserved
Port E
Port D
Port C
Port B
Port A
EXTI
AFIO
reserved
PWR
BKP
reserved
bxCAN
shared 512 byte
USB/CAN SRAM
USB Registers
I2C2
I2C1
reserved
USART3
USART2
reserved
SPI2
reserved
IWDG
WWDG
RTC
reserved
TIM4
TIM3
TIM2
ai14394
4 Kbits
1 Kbit
3 Kbits
1 Kbit
3 Kbits
1 Kbit
3 Kbits
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
2 Kbits
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
35 Kbits
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
2 Kbits
1 Kbit
1 Kbit
2 Kbits
1 Kbit
1 Kbit
1 Kbit
1 Kbit
1 Kbit
7 Kbits
1 Kbit
1 Kbit
1 Kbit
22/67
Page 12
Electrical characteristicsSTM32F103xx
Figure 7.Pin loading conditionsFigure 8.Pin input voltage
STM32F103xx pin
C = 50 pF
5.1.6 Power supply scheme
Figure 9.Power supply scheme
1.8-3.6 V
V
DD
5 × 100 nF
+ 1 × 10 µF
V
DD
V
REF
10 nF
+ 1 µF
10 nF
+ 1 µF
ai14141
V
BAT
GP I/Os
V
DD
1/2/3/4/5
V
SS
1/2/3/4/5
V
DDA
V
REF+
V
REF-
V
SSA
3.3 V
3.3V
Power switch
OUT
IN
Regulator
ADC
Backup circuitry
(OSC32K,RTC,
Wake-up logic
Backup registers)
IO
Logic
Level shifter
Analog:
RCs, PLL,
...
V
IN
STM32F103xx pin
ai14142
Kernel logic
(CPU,
Digital
& Memories)
ai14125
24/67
Page 13
STM32F103xxElectrical characteristics
5.1.7 Current consumption measurement
Figure 10. Current consumption measurement scheme
IDD_V
BAT
V
BAT
I
DD
V
DD
V
DDA
ai14126
25/67
Page 14
Electrical characteristicsSTM32F103xx
5.2 Absolute maximum ratings
Stresses above the absolute maximum ratings listed in Table 4: Voltage characteristics,
Table 5: Current characteristics, and T ab le 6: Thermal characteristics may cause permanent
damage to the device. These are stress ratings only and functional operation of the device
at these conditions is not implied. Exposure to maximum rating conditions for extended
periods may affect device reliability.
Table 4.Voltage characteri stics
SymbolRatingsMinMaxUnit
VDD–V
External 3.3 V supply voltage (including V
SS
and VDD)
(1)
Input voltage on five volt tolerant pin
V
IN
|∆V
DDx
− VSS|Variations between all the different ground pins5050
|V
SSX
V
ESD(HBM)
1. All 3.3 V power (VDD, V
supply.
2. I
INJ(PIN)
maximum is respected. If VIN maximum cannot be respected, the injection current must be limited
externally to the I
induced by V
Table 5.Current characteristics
Input voltage on any other pin
|Variations between different power pins5050
Electrostatic discharge voltage (human body
model)
) and ground (VSS, V
DDA
must never be exceeded (see Table 5: Current characteristics). This is implicitly insured if VIN
value. A positive injection is induced by VIN>VDD while a negative injection is
INJ(PIN)
< VSS.
IN
(2)
) pins must always be connected to the external 3.3 V
SSA
(2)
DDA
–0.34.0
V
− 0.3+5.5
SS
VSS − 0.3VDD+0.3
see Section 5.3.11:
Absolute maximum ratings
(electrical sensitivity)
SymbolRatings Max.Unit
I
VDD
I
VSS
Total current into V
DD
Total current ou t of V
power lines (source)
ground lines (sink)
SS
(1)
(1)
150
150
Output current sunk by any I/O and control pin25
I
IO
Output current source by any I/Os and control pin− 25
mA
Injected current on NRST pin± 5
(2)(3)
I
INJ(PIN)
ΣI
INJ(PIN)
1. All 3.3 V power (VDD, V
supply.
2. I
3. Negative injection disturbs the analog performance of the device. See note in Section 5.3.17: 12-bit ADC
4. When several inputs are submitted to a current injection, the maximum ΣI
must never be exceeded. This is implicitly insured if VIN maximum is respected. If VIN maximum
INJ(PIN)
cannot be respected, the injection current must be limited externally to the I
injection is induced by V
characteristics.
positive and negative injected currents (instantaneous values). These results are based on
characterization with ΣI
Injected current on HSE OSC_IN and LSE OSC_IN pins± 5
Injected current on any other pin
(2)
Total injected current (sum of all I/O and control pins)
) and ground (VSS, V
DDA
> VDD while a negative injection is induced by V
IN
maximum current injection on four I/O port pins of the device.
INJ(PIN)
(4)
(4)
) pins must always be connected to the external 3.3 V
SSA
INJ(PIN)
< VSS.
IN
INJ(PIN)
± 5
± 25
value. A positive
is the absolute sum of the
V
mV
26/67
Page 15
STM32F103xxElectrical characteristics
Table 6.Thermal characteristics
SymbolRatings ValueUnit
T
STG
T
J
Storage temperature range–65 to +150°C
Maximum junction temperature (see Thermal characteristics)
5.3 Operating conditions
5.3.1 General operating conditions
Table 7.General operating conditions
SymbolParameter ConditionsMinMaxUnit
f
HCLK
PCLK1
f
PCLK2
V
DD
V
BAT
T
A
5.3.2 Operating conditions at power-up / power-down
The parameters given in Table 8 are derived from tests performed under the ambient
temperature condition summarized in Table 7.
Table 12.Maximum current consumption in Stop and Standby modes
SymbolParameterConditions
(2)
Typ
V
/ V
BAT
VDD/V
= 3.3 V
DD
= 2.4 V
Regulator in Run mode,
Low-speed and high-speed internal
RC oscillators and high-speed
TBD24TBDTBD
oscillator OFF (no independent
Supply current
in Stop mode
I
DD
watchdog)
Regulator in Low Power mode,
Low-speed and high-speed internal
RC oscillators and high-speed
TBD
(4)
oscillator OFF (no independent
watchdog)
Supply current
in Standby
(5)
mode
I
DD_VBAT
1. TBD stands for to be determined.
2. Typical values are measured at T
3. Data based on characterization results, tested in production at V
4. Values expected for next silicon revision.
5. To have the Standby consumption with RTC ON, add I
VDD is present the Backup Domain is powered by VDD supply).
Backup domain
supply current
Low-speed internal RC oscillator and
independent watchdog OFF, low-
TBD
speed oscillator and RTC OFF
Low-speed oscillator and RTC ON1
= 25 °C, V
A
= 3.3 V, unless otherwise specified.
DD
, f
DD max
DD_VBAT
(Low-speed oscillator and RTC ON) to IDD Standby (when
HCLK
(4)
(4)
max. and TA max (for other temperature.
14
2
1.4
(1)
(4)
(4)
(4)
BAT
TA =
85 °C
TBD
TBD
TBD
Max
(4)
(4)
(4)
(3)
TA =
105 °C
(4)
TBD
(4)
TBD
(4)
TBD
Unit
µA
30/67
Page 19
STM32F103xxElectrical characteristics
Typical current consumption
The MCU is placed under the following conditions:
●All I/O pins are in input mode with a static value at V
●All peripherals are disabled except if it is explicitly mentioned.
●The Flash access time is adjusted to f
frequency (0 wait state from 0 to 24 MHz, 1
HCLK
wait state from 24 to 48 MHZ and 2 wait states above).
●Ambient temperature and V
Table 13.Typical current consumption in Run and Sleep modes
SymbolParameterConditionsf
Oscillator running at 8 MHz with PLL, code
running from Flash, all peripheral disabled
(see RCC register description): f
Running on HSI clock, code running from
Flash, all peripheral disabled (see RCC
Supply
current in
Run mode
register description): f
f
PCLK2=fHCLK.
Running on HSI clock, code running from
I
DD
RAM, all peripheral disabled (see RCC
register description): f
f
PCLK2=fHCLK.
Oscillator running at 8MHz with PLL, code
running from Flash, all peripheral disabled
(see RCC register description): f
Supply
current in
Sleep mode
Running on HSI clock, code running from
Flash, all peripheral disabled (see RCC
register description): f
f
PCLK2=fHCLK.
supply voltage conditions summarized in Table 7.
DD
/2, f
f
HCLK
PCLK2=fHCLK
PCLK1
= f
AHB pre-scaler used to
reduce the frequency
= f
PCLK1
AHB pre-scaler used to
reduce the frequency
f
/2, f
HCLK
PCLK2=fHCLK
PCLK1
= f
AHB pre-scaler used to
reduce the frequency
or VSS (no load).
DD
=
PCLK1
/2,
HCLK
/2,
HCLK
=
PCLK1
/2,
HCLK
(1)
HCLK
Typ
72 MHz21
48 MHz18
36 MHzTBD
24 MHz13
16 MHzTBD
8 MHz7.8
4 MHz7
2 MHz6.3
1 MHz6.2
500 kHz6.1
125 kHz5.95
8 MHz2.3
4 MHz1.6
2 MHz1.2
1 MHz1
500 kHz0.88
125 kHz0.82
72 MHz6
48 MHzTBD
36 MHzTBD
24 MHzTBD
16 MHz1
8 MHzTBD
4 MHzTBD
2 MHzTBD
1 MHzTBD
500 kHzTBD
(2)
Unit
mA
mA
mA
mA
mA
1. TBD stands for to be determined.
2. Typical values are measures at TA = 25 °C, VDD = 3.3 V.
31/67
Page 20
Electrical characteristicsSTM32F103xx
Table 14.Typical current consumption in Stop and Standby modes
SymbolParameterConditions
Regulator in Run mode,
Low-speed and high-speed internal RC
oscillators OFF
High-speed oscillator OFF (no
Supply current in
Stop mode
independent watchdog)
Regulator in Low Power mode,
Low-speed and high-speed internal RC
oscillators OFF,
High-speed oscillator OFF (no
I
DD
independent watchdog)
Low-speed internal RC oscillator and
independent watchdog OFF
Supply current in
Standby mode
Low-speed internal RC oscillator and
(4)
independent watchdog ON
Low-speed internal RC oscillator ON,
independent watchdog OFF
Low-speed oscillator and RTC ON
I
DD_VBAT
Backup domain
supply current
Low-speed oscillator OFF, RTC ON
1. TBD stands for to be determined.
2. Typical values are measures at T
3. Values expected for next silicon revision.
4. To obtain Standby consumption with RTC ON, add I
Standby.
= 25 °C, V
A
DD
= 3.3 V.
DD_VBAT
(Low-speed oscillator and RTC ON) to IDD
V
DD
3.3 V24
2.4 VTBD
3.3 V14
2.4 VTBD
3.3 V2
2.4 VTBD
3.3 V3.1
2.4 VTBD
3.3 V2.9
2.4 VTBD
3.3 V1.4
2.4 V1
3.3 V0.5
2.4 VTBD
(1)
Typ
(3)
(3)
(3)
(3)
(3)
(3)
(3)
(2)
(3)
(3)
(3)
(3)
(3)
Unit
µA
µA
µA
32/67
Page 21
STM32F103xxElectrical characteristics
5.3.6 External clock source characteristics
High-speed external user clock
The characteristics given in Table 15 result from tests performed using an high-speed
external clock source, and under ambient temperature and supply voltage conditions
summarized in Table 7.
Table 15.High-speed external (HSE) user clock characteristics
SymbolParameterConditionsMinTypMaxUnit
f
HSE_ext
V
HSEH
V
HSEL
t
w(HSE)
t
w(HSE)
t
r(HSE)
t
f(HSE)
1. Value based on design simulation and/or technology characteristics. It is not tested in production.
User external clock source
frequency
(1)
OSC_IN input pin high level
voltage
OSC_IN input pin low level
voltage
OSC_IN high or low time
OSC_IN rise or fall time
OSC_IN Input leakage
I
L
current
(1)
(1)
V
SS≤VIN≤VDD
0.7V
V
16
SS
DD
825MHz
V
DD
0.3V
DD
5
±1µA
Low-speed external userclock
The characteristics given in Table 16 result from tests performed using an low-speed
external clock source, and under ambient temperature and supply voltage conditions
summarized in Table 7.
Table 16.Low-spee d external user clock characteristics
SymbolParameterConditionsMinTypMaxUnit
f
LSE_ext
V
LSEH
V
LSEL
t
w(LSE)
t
w(LSE)
t
r(LSE)
t
f(LSE)
1. Value based on design simulation and/or technology characteristics. It is not tested in production.
User External clock source
frequency
(1)
OSC32_IN input pin high level
voltage
OSC32_IN input pin low level
voltage
OSC32_IN high or low time
OSC32_IN rise or fall time
OSC32_IN Input leakage
I
L
current
(1)
(1)
V
SS≤VIN≤VDD
0.7V
V
450
32.7681000kHz
DD
SS
V
DD
0.3V
DD
5
±1µA
V
ns
V
ns
33/67
Page 22
Electrical characteristicsSTM32F103xx
Figure 11. High-speed external clock source AC timing diagram
V
HSEH
V
HSEL
90%
10%
t
r(HSE)
EXTERNAL
CLOCK SOURC E
T
f
HSE_ext
HSE
t
f(HSE)
OSC _I N
t
W(HSE)
I
L
STM32F103xx
t
W(HSE)
ai14143
t
Figure 12. Low-speed external clock source AC timing diagram
V
LSEH
V
LSEL
90%
10%
t
r(LSE)
EXTERNAL
CLOCK SOURC E
f
LSE_ext
T
LSE
t
f(LSE)
OSC32_IN
t
W(LSE)
I
L
STM32F103xx
t
W(LSE)
ai14144b
t
34/67
Page 23
STM32F103xxElectrical characteristics
High-speed external clock
The high-speed external (HSE) clock can be supplied with a 4 to 16 MHz crystal/ceramic
resonator oscillator. All the inf ormation given in this paragraph are based on characterization
results obtained with typical external components specified in Table 17. In the application,
the resonator and the load capacitors have to be placed as close as possible to the oscillator
pins in order to minimize output distortion and startup stabilization time. Refer to the crystal
resonator manufacturer for more details on the resonator characte ristics (frequency,
package, accuracy).
1. Resonator characteristics given by the crystal/ceramic resonator manufacturer.
2. For CL1 and C
designed for high-frequency applications, and selected to match the requirements of the crystal or
resonator. C
capacitance which is the series combination of CL1 and CL2. PCB and MCU pin capacitance must be
included when sizing CL1 and C
capacitance).
3. The relatively low value of the RF resistor offers a good protection against issues resulting from use in a
humid environment, due to the induced leakage and the bias condition change. However, it is
recommended to take this point into account if the MCU is used in tough humidity conditions.
4. t
SU(HSE)
oscillation is reached. This value is measured for a standard crystal resonator and it can vary significantly
with the crystal manufacturer
Oscillator TransconductanceStartup25mA/V
m
(4)
startup time VSS is stabilized2ms
it is recommended to use high-quality ceramic capacitors in the 5 pF to 25pF range (typ.),
L2
and C
L1
is the startup time measured from the moment it is enabled (by software) to a stabilized 8 MHz
are usually the same size. The crystal manufacturer typically specifies a load
L2,
(10 pF can be used as a rough estimate of the combined pin and board
L2
Figure 13. Typical application with a 8-MHz c rysta l
1. R
Resonator with
integrated capacitors
C
L1
OSC_IN
8 MHz
resonator
OSC_OUT
(1)
R
C
L2
value depends on the crystal characteristics. Typical value is in the range of 5 to 6RS.
EXT
EXT
R
F
Bias
controlled
gain
f
STM32F103xx
35/67
HSE
ai14145
Page 24
Electrical characteristicsSTM32F103xx
Low-speed external clock
The low-speed external (LSE) clock can be supplied with a 32.768 kHz crystal/ceramic
resonator oscillator. All the inf ormation given in this paragraph are based on characterization
results obtained with typical external components specified in Table 18. In the application,
the resonator and the load capacitors have to be placed as close as possible to the oscillator
pins in order to minimize output distortion and startup stabilization time. Refer to the crystal
resonator manufacturer for more details on the resonator characte ristics (frequency,
package, accuracy).
Table 18.LSE oscillator characteristics (f
SymbolParameterConditionsMinTypMaxUnit
= 32.768 kHz)
LSE
R
C
L1
C
L2
I
2
g
m
t
SU(LSE)
1. The oscillator selection can be optimized in terms of supply current using an high quality resonator with
small RS value for example MSIV-TIN32.768kHz. Refer to crystal manufacturer for more details
2. t
SU(LSE)
kHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary
significantly with the crystal manufacturer
Feedback resistor5MΩ
F
Recommended load capacitance
versus equivalent serial
resistance of the crystal (R
LSE driving current
(1)
)
S
RS = 30 kΩ15pF
= 3.3 V
V
DD
= V
V
IN
SS
Oscillator Transconductance5µA/V
(2)
startup time VSS is stabilized3s
is the startup time measured from the moment it is enabled (by software) to a stabilized 32.768
1.4µA
Figure 14. Typical application with a 32.768 kHz crystal
Resonator with
integrated capacitors
C
L1
32.768 kHz
resonator
C
L2
OSC32_IN
OSC32_OUT
R
F
Bias
controlled
gain
f
LSE
STM32F103xx
ai14146
36/67
Page 25
STM32F103xxElectrical characteristics
5.3.7 Internal clock source characteristics
The parameters given in Table 19 are derived from tests performed under ambient
temperature and V
High-speed internal (HSI) RC oscillator
Table 19.HSI oscillator characteristics
SymbolParameterConditionsMinTypMax
supply voltage conditions summarized in Table 7.
DD
(1)(2)
(3)
Unit
f
ACC
t
su(HSI)
I
DD(HSI)
1. V
2. TBD stands for to be determined.
3. Values based on device characterization, not tested in production.
Frequency 8MHz
HSI
T
= –40 to 105 °CTBD±3TBD%
Accuracy of HSI oscillator
HSI
A
= 25°CTBD±1TBD%
at T
A
HSI oscillator start up time12µs
HSI oscillator power
consumption
= 3.3 V, TA = −40 to 105 °C unless otherwise specified.
DD
LSI Low Speed Internal RC Oscillator
Table 20.LSI oscillator characteristics
SymbolParameterConditionsMinTyp
f
t
su(LSI)
I
DD(LSI)
1. V
2. Value based on device characterization, not tested in production.
Frequency 3060kHz
LSI
LSI oscillator start up time85µs
LSI oscillator power
consumption
= 3 V, TA = −40 to 105 °C unless otherwise specified.
DD
(1)
0.651.2µA
80100µA
(2)
Max
Unit
37/67
Page 26
Electrical characteristicsSTM32F103xx
Wakeup time from low power mode
The wakeup times giv en in Table 21 is measured on a wakeup phase with a 8-MHz HSI RC
oscillator. The clock source used to wake up the device depends from the current operating
mode:
●Stop or Standby mode: the clock source is the RC oscillator
●Sleep mode: the clock source is the clock that was set before entering Sleep mode.
All timings are derived from tests performed under ambient temperature and V
voltage conditions summarized in Table 7.
Table 21.Low-power mode wakeup timings
SymbolParameterConditionsTypMax Unit
(2)
t
WUSLEEP
Wakeup from Sleep modeWakeup on HSI RC clock0.75TBDµs
Wakeup from Stop mode
(regulator in run mode)
t
WUSTOP
(2)
Wakeup from Stop mode
(regulator in low power mode)
(3)
t
WUSTDBY
1. TBD stands for to be determined.
2. The wakeup time from Sleep and Stop mode are measured from the wakeup event to the point in which the
user application code reads the first instruction.
3. The wakeup time from Standby mode is measured from the wakeup event to the point in which the device
exits from reset.
Wakeup from Standby mode
5.3.8 PLL characteristics
The parameters given in Table 22 are derived from tests performed under ambient
temperature and V
Table 22.PLL characteristics
supply voltage conditions summarized in Table 7.
DD
(1)
supply
DD
(1)
HSI RC wakeup tim e = 2 µs4TBD
HSI RC wakeup tim e = 2 µs,
Regulator wakeup from LP
7TBD
mode time = 5 µs
HSI RC wakeup tim e = 2 µs,
Regulator wakeup from power
40TBDµs
down time = 38 µs
µs
SymbolParameter Test Conditions
PLL input clock8.0MHz
f
PLL_IN
f
PLL_OUT
f
VCO
t
LOCK
t
JITTER
1. TBD stands for to be determined.
2. Data based on device characterization, not tested in production.
(locked)
PLL lock time200µs
Cycle to cycle jitter (+/-3Σ
peak to peak)
V
38/67
Value
MinTypMax
(2)
32144MHz
is stableTBDTBD%
DD
Unit
Page 27
STM32F103xxElectrical characteristics
5.3.9 Memory characteristics
Flash memory
The characteristics are given at TA = −40 to 105 °C unless otherwise specified.
Table 23.Flash memory characteristics
SymbolParameter ConditionsMinTypMax
(1)
Unit
t
prog
t
ERASE
t
ME
Word programming timeTA = −40 to +105 °C2040µs
Page (1kB) erase timeTA = −40 to +105 °C2040ms
Mass erase timeTA = −40 to +105 °C2040ms
Read mode
f
= 72 MHz with
HCLK
2 wait states,
= 3.3 V
V
DD
I
DD
Supply current
Write / Erase modes
= 72 MHz,
f
HCLK
VDD = 3.3 V
Pow er-down mode /
HALT,
= 3.0 to 3.6 V
V
DD
1. Values based on characterization and not tested in production.
Table 24.Flash memory endurance and dat a retention
SymbolParameter Conditions
N
t
1. Values based on characterization not tested in production.
Endurance
END
Data retentionTA = 85 °C30Years
RET
Min
(1)
1
20mA
5mA
50µA
Value
Unit
TypMax
10kcycles
39/67
Page 28
Electrical characteristicsSTM32F103xx
5.3.10 EMC characteristics
Susceptibility tests are performed on a sample basis during device characterization.
Functional EMS (electromagnetic susceptibility)
While a simple application is e xec uted on the de vice (toggling 2 LEDs through I /O ports). the
device is stressed by two electromagnetic events until a failure occurs. The failure is
indicated by the LEDs:
●Electrostatic discharge (ESD) (positive and negative ) is applied to all de vice pins until
a functional disturbance occurs. This test is complian t with the IEC 1000-4-2 standard.
●FTB: A Burst of Fast Transient voltage (positive and negative) is applied to V
V
through a 100 pF capacitor, until a functional disturbance occurs. This test is
SS
compliant with the IEC 1000-4-4 standard.
A device reset allows normal operations to be resumed.
The test results are given in Table 25. They are based on the EMS levels and classes
defined in application note AN1709.
Table 25.EMS characteristics
(1)
DD
and
SymbolParameterConditions
= 3.3 V, TA = +25 °C,
V
V
FESD
V
EFTB
1. TBD stands for to be determined.
V oltage limits to be applied on any I/O pin to
induce a functional disturbance
Fast transient voltage burst limits to be
applied through 100pF on VDD and V
to induce a functional disturbance
SS
pins
DD
f
=48 MHz
HCLK
conforms to IEC 1000-4-2
VDD = 3.3 V, TA = +25 °C,
f
= 48 MHz
HCLK
conforms to IEC 1000-4-4
Level/
Class
TBD
4A
Designing hardened software to avoid noise problems
EMC characterization and optimization are performed at component level with a typical
application environment and simplified MCU sof tware. It should be noted that good EMC
performance is highly dependent on the user application and the software in particular .
Therefore it is recommended that the user applies EMC software optimization and
prequalification tests in relation with the EMC level requested for his application.
Software recommendations
The software flowchart must include the management of runaway conditions such as:
●Corrupted program counte r
●Unexpected reset
●Critical Data corruption (control registers...)
40/67
Page 29
STM32F103xxElectrical characteristics
Prequalification trials
Most of the common failures (u nexpected 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 applie d directly on the de vice , o v er the r ange of
specification values. When unexpected behavior is detected, the software can be hardened
to prevent unrecoverab le errors occurring (see application note AN1015).
Electromagnetic Interference (EMI)
The electromagnetic field emitted by the device are monitored while a simple application is
executed (toggling 2 LEDs through the I/O ports). This emission test is compliant with SAE J
1752/3 standard which specifies the testboard and the pin loading.
Table 26.EMI characteristics
Symbol ParameterConditions
= 3.3 V, TA = 2 5 °C,
V
DD
S
EMI
Peak level
LQFP100 package
compliant with SAE J
1752/3
Monitored
Frequency Band
0.1 to 30 MHz1212
130 MHz to 1GHz2329
SAE EMI Level44-
Max vs. [f
8/48 MHz 8/72 MHz
HSE/fHCLK
]
Unit
dBµV30 to 130 MHz2219
41/67
Page 30
Electrical characteristicsSTM32F103xx
5.3.11 Absolute maximum ratings (electrical sensitivity)
Based on three different tests (ESD, LU) using specific measurement methods, the device is
stressed in order to determine its performance in terms of electrical sensitivity.
Electrostatic discharge (ESD)
Electrostatic discharges (a positive then a negative pulse separated by 1 second) are
applied to the pins of each sample according to each pin combination. The sample size is
either 3 parts (cumulative mode) or 3 parts × (n + 1) supply pins (non-cumulative mode).
The human body model (HBM) can be simulated. The tests are compliant with JESD22A114A standard.
For more details, refer to the application note AN1181.
Table 27.ESD absolute maximum ratings
SymbolRatingsConditionsMaximum value
(1)
(2)
Unit
V
ESD(HBM)
V
ESD(CDM)
1. TBD stands for to be determined.
2. Values based on characterization results, not tested in production.
Electrostatic discharge voltage
(human body model)
Electrostatic discharge voltage
(charge device model)
= +25 °C
T
A
2000
TBD
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/JESD 78A IC latch-up standard.
Table 28.Electrical sensitivities
SymbolParameterConditionsClass
LUStatic latch-up classT
= +105 °CII level A
A
V
42/67
Page 31
STM32F103xxElectrical characteristics
5.3.12 I/O port pin characteristics
General input/output characteristics
Unless otherwise specified, the parameters given in Table 29 are derived from tests
performed under ambient temperature and V
Table 7.
All unused pins must be held at a fixed voltage, by using the I/O output mode, an external
pull-up or pull-down resistor (see Figure 15).
Table 29.I/O static characteristics
SymbolParameterConditionsMinTyp
V
Input low level voltage
IL
IO TC input high level
(2)
voltage
V
IH
IO FT high level voltage
Input low level voltage
V
IL
Input high level voltage
V
IH
IO TC Schmitt trigger voltage
hysteresis
V
hys
IO TC Schmitt trigger voltage
hysteresis
Input leakage current
I
lkg
(3)
(3)
(2)
(2)
(2)
(2)
(5)
(1)
V
Standard I/Os
5 V tolerant I/Os
supply voltage conditions summarized in
DD
–0.50.8
TTL ports
2V
25.5V
–0.50.35 V
CMOS ports
0.65 V
DD
200mV
DD
(4)
SS≤VIN≤VDD
= 5 V
V
IN
5% V
MaxUnit
+0.5
DD
DD
VDD+0.5
±1
3
V
V
mV
µA
R
R
1. V
2. Values based on characterization results, and not tested in production.
3. Hysteresis voltage between Schmitt trigger switching levels. Based on characterization results, not tested.
4. With a minimum of 100 mV.
5. Leakage could be higher than max. if negative current is injected on adjacent pins.
6. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable
Weak pull-up equivalent
PU
PD
C
IO
= 3.3 V, TA = −40 to 105 °C unless otherwise specified.
DD
PMOS/NMOS. This MOS/NMOS contribution to the series resistance is minimum (~10% order).
(6)
resistor
Weak pull-down equivalent
(6)
resistor
I/O pin capacitance5pF
V
= V
IN
SS
V
= V
IN
DD
304050kΩ
304050kΩ
43/67
Page 32
Electrical characteristicsSTM32F103xx
Figure 15. Unused I/O pin connection
V
DD
10 kΩ
10 kΩ
STM32F103xx
UNUSED I/O PORT
STM32F103xx
UNUSED I/O PORT
ai14147b
Output driving current
The GPIOs (general purpose input/outputs) can sink or source up to +/-8 mA, and sink
+20 mA (with a relaxed V
In the user application, the number of I/O pins which can drive current must be limited to
respect the absolute maximum rating specified in Section 5.2:
●The sum of the currents sourced by all the I/Os on V
consumption of the MCU sourced on V
I
(see Table 5).
VDD
●The sum of the currents sunk by all the I/Os on V
consumption of the MCU sunk on V
I
(see Table 5).
VSS
OL
).
plus the maximum Run
cannot exceed the absolute ma ximum r ating
DD,
cannot exceed the absolute maximum rating
SS
DD,
plus the maximum Run
SS
44/67
Page 33
STM32F103xxElectrical characteristics
Output voltage levels
Unless otherwise specified, the parameters given in Table 30 are derived from tests
performed under ambient temperature and V
Table 7.
Table 30.Output voltage characteristics
SymbolParameterConditionsMinMaxUnit
Output low level voltage for an I/O pin
(1)
V
OL
when 8 pins are sunk at same time
Output high level voltage for an I/O pin
(2)
V
OH
when 4 pins are sourced at same time
Output low level voltage for an I/O pin
(1)
V
OL
when 8 pins are sunk at same time
Output high level voltage for an I/O pin
(2)
V
OH
V
V
V
V
OH
when 4 pins are sourced at same time
Output low level voltage for an I/O pin
(1)
OL
when 8 pins are sunk at same time
Output high level voltage for an I/O pin
(2)
OH
when 4 pins are sourced at same time
Output low level voltage for an I/O pin
(1)
OL
when 8 pins are sunk at same time
Output high level voltage for an I/O pin
(2)
when 4 pins are sourced at same time
supply voltage conditions summarized in
DD
TTL port
= +8 mA
I
IO
2.7 V < V
< 3.6 V
DD
CMOS port
=+ 8mA
I
IO
2.7 V < V
I
IO
< 3.6 V
DD
= +20 mA
2.7 V < VDD < 3.6 V
= +6 mA
I
IO
2 V < V
< 2.7 V
DD
–0.4
V
DD
2.4
–1.3
V
DD
V
–0.4
DD
0.4
0.4
1.3
0.4
V
V
V
V
1. The IIO current sunk by the device must always respect the absolute maximum rating specified in Table 5
and the sum of IIO (I/O ports and control pins) must not exceed I
2. The IIO current sourced by the device must always respect the absolute maximum rating specified in
Table 5 and the sum of IIO (I/O ports and control pins) must not exceed I
VSS
.
.
VDD
45/67
Page 34
Electrical characteristicsSTM32F103xx
Input/output AC characteristics
The definition and values of input /output AC characteristics are given in Figure 16 and
Table 31, respectively.
Unless otherwise specified, the parameters given in Table 31 are derived from tests
performed under ambient temperature and V
Table 7.
Table 31.I/O AC characteristics
(1)
supply voltage conditions summarized in
DD
I/O
(1)
mode
10
01
F
11
-t
SymbolParameterConditionsMin Max Unit
f
max(IO)out
t
f(IO)out
t
r(IO)out
f
max(IO)out
t
f(IO)out
t
r(IO)out
max(IO)out
t
f(IO)out
t
r(IO)out
Maximum frequency
Output high to low level f all
(3)
time
Output low to high level
rise time
(3)
Maximum frequency
Output high to low level f all
(3)
time
Output low to high level
rise time
(3)
Maximum frequency
Output high to low level f all
(3)
time
Output low to high level
rise time
(3)
(2)
(2)
(2)
CL = 50 pF, V
= 2 V to 3.6 V2MHz
DD
125
CL = 50 pF, V
= 2 V to 3.6 V
DD
125
CL = 50 pF, V
= 2 V to 3.6 V10MHz
DD
25
CL = 50 pF, V
= 2 V to 3.6 V
DD
25
CL = 30 pF, V
= 50 pF, VDD = 2.7 V to 3.6 V30MHz
C
L
= 50 pF, V
C
L
CL = 30 pF, V
= 50 pF, V
C
L
= 50 pF, V
C
L
CL = 30 pF, V
= 50 pF, V
C
L
= 50 pF, V
C
L
= 2.7 V to 3.6 V50MHz
DD
= 2 V to 2.7 V20MHz
DD
= 2.7 V to 3.6 V5
DD
= 2.7 V to 3.6 V8
DD
= 2 V to 2.7 V12
DD
= 2.7 V to 3.6 V5
DD
= 2.7 V to 3.6 V8
DD
= 2 V to 2.7 V12
DD
Pulse width of external
EXTIpw
signals detected by the
10ns
EXTI controller
ns
ns
ns
1. Refer to the Reference user manual UM0306 for a description of GPIO Port configuration register.
2. The maximum frequency is defined in Figure 16.
3. Values based on design simulation and validated on silicon, not tested in production.
46/67
Page 35
STM32F103xxElectrical characteristics
Figure 16. I/O AC characteristics definition
EXTERNAL
OUTPUT
ON 50pF
Maximum frequency is achieved if (tr + tf) £ 2/3)T and if the duty cycle is (45-55%)
t
r(IO)out
5.3.13 NRST pin characteristics
The NRST pin input driver uses CMOS technology. It is connected to a permanent pull-up
resistor, R
Unless otherwise specified, the parameters given in Table 32 are derived from tests
performed under ambient temperature and V
Table 7.
Table 32.NRST pin characteristics
SymbolParameterConditionsMinTypMaxUnit
V
IL(NRST)
V
IH(NRST)
V
hys(NRST)
R
PU
V
F(NRST)
V
NF(NRST)
1. TBD stands for to be determined.
2. The pull-up is designed with a true resistance in series with a switchable PMOS. This PMOS contribution
to the series resistance must be minimum (~10% order).
3. Values guaranteed by design, not tested in production.
(see Table 29).
PU
NRST Input low level voltage–0.50.8
NRST Input high level voltage2VDD+0.5
NRST Schmitt trigger voltage
2. The reset network protects the device against parasitic resets.
3. The user must ensure that the level on the NRST pin can go below the V
Table 32. Otherwise the reset will not be taken into account by the device.
DD
R
PU
FILTER
Internal Reset
STM32F101xx
max level specified in
IL(NRST)
ai14132b
5.3.14 TIM timer characteristics
Unless otherwise specified, the parameters given in Table 33 are derived from tests
performed under ambient temper at ure, f
summarized in Table 7.
Refer to Section 5.3.12: I/O port pin characteristics for details on the input/output alternate
function characteristics (output compare, input capture, external clock, PWM output).
Table 33.TIMx
(1)
characteristics
frequency and VDD supply voltage conditions
PCLKx
SymbolParameterConditionsMinMaxUnit
1
t
res(TIM)
f
EXT
Res
t
COUNTER
Timer resolution time
f
TIMxCLK
Timer external clock
frequency on CH1 to CH4
Timer resolution16bit
TIM
0
f
TIMxCLK
16-bit counter clock period
= 72 MHz
= 72 MHz
13.9ns
f
TIMxCLK
036MHz
165536
when internal clock is
selected
f
TIMxCLK
= 72 MHz
0.0139910µs
/2
65536 × 65536
t
MAX_COUNT
1. TIMx is used as a general term to refer to the TIM1, TIM2, TIM3 and TIM4 timers.
Maximum possible count
f
TIMxCLK
= 72 MHz
59.6s
t
TIMxCLK
MHz
t
TIMxCLK
t
TIMxCLK
48/67
Page 37
STM32F103xxElectrical characteristics
5.3.15 Communications interfaces
I2C interface characteristics
Unless otherwise specified, the parameters given in Table 34 are derived from tests
performed under ambient temperature, f
summarized in Table 7.
2
The STM32F103xx performance line
2
I
C communication protocol with the following restrictions: the I/O pins SDA and SCL are
I
C interface meets the requirements of the standard
mapped to are not “true” open-drain. Wh en configur ed as open-dr ain, t he PMOS connect ed
between the I/O pin and V
diode between the I/O pin and V
connected to the
2
C
I
bus, it is not possible to po wer o ff the STM3 2F103xx while anot her
is disabled, but is still present. In addition, there is a protection
DD
. As a consequence, when multiple master devices are
DD
master node remains powered on. Otherwise, the STM32F103xx would be powered by the
protection diode.
2
The I
C characteristics are described in Table 34. Refer also to Section 5.3.12: I/O port pin
characteristics
and SCL)
Table 34.I2C characteristics
SymbolParameter
for more details on the input/output alternate function characteristics (SDA
.
frequency and VDD supply voltage conditions
PCLK1
Standard mode I
2C(1)
Fast mode I2C
(1)(2)
MinMaxMinMax
Unit
2
I
C
t
w(SCLL)
t
w(SCLH)
t
su(SDA)
t
h(SDA)
t
r(SDA)
t
r(SCL)
t
f(SDA)
t
f(SCL)
t
h(STA)
t
su(STA)
t
su(STO)
t
w(STO:STA)
C
Values based on standard I
1.
2. f
PCLK1
higher than 4 MHz to achieve the maximum fast mode I
The maximum hold time of the Start condition has only to be met if the interface does not stretch the low
3.
period of SCL signal.
The device must internally provide a hold time of at least 300ns for the SDA signal in order to bridge the
4.
undefined region of the falling edge of SCL.
SCL clock low time4.71.3
SCL clock high time4.00.6
SDA setup time250100
SDA data hold time0
(3)
SDA and SCL rise time100020 + 0.1C
SDA and SCL fall time30020 + 0.1C
(4)
0
900
300
b
300
b
Start condition hold time4.00.6
Repeated Start condition
setup time
4.70.6
Stop condition setup time4.00.6 µs
Stop to Start condition time
(bus free)
Capacitive load for each bus
b
line
2
C protocol requirement, not tested in production.
must be higher than 2 MHz to achieve the maximum standard mode I2C frequency. It must be
4.71.3µs
400400pF
2
C frequency.
(3)
µs
ns
µs
49/67
Page 38
Electrical characteristicsSTM32F103xx
Figure 18. I2C bus AC waveforms and measurement circuit
V
DD
t
w(SCKL)
r(SCK)
4.7kΩ
t
= 36 MHz.,VDD = 3.3 V)
PCLK1
4.7kΩ
2
C bus
I
START
SDA
t
f(SDA)
SCL
t
w(SCKH)
Measurement points are done at CMOS levels: 0.3V
1.
Table 35.SCL frequency (f
t
h(STA)
f
SCL
t
r(SDA)
(kHz)
t
400TBD
300TBD
V
DD
su(SDA)
100Ω
100Ω
t
h(SDA)
t
f(SCK)
and 0.7VDD.
DD
STM32F103xx
SDA
SCL
t
su(STA)
(1)(2)(3)
I2C_CCR value
START REPEATED
STOP
t
su(STO)
R
= 4.7 kΩ
P
START
t
su(STA:STO)
ai14149b
200TBD
100TBD
50TBD
20TBD
1. TBD = to be determined.
= External pull-up resistance, f
2. R
P
3. For speeds around 200 kHz, the tolerance on the achieved speed is of ±5%. For other speed ranges, the
tolerance on the achieved speed ±2%. These variations depend on the accuracy of the external
components used to design the application.
= I2C speed,
SCL
50/67
Page 39
STM32F103xxElectrical characteristics
SPI interface characteristics
Unless otherwise specified, the parameters given in Table 36 are derived from tests
performed under ambient temper at ure, f
summarized in Table 7.
Refer to Section 5.3.12: I/O port pin characteristics for more details on the input/output
alternate function characteristics (NSS, SCK, MOSI, MISO).
Table 36.SPI characteristics
SymbolParameterConditionsMinMaxUnit
(1)
frequency and VDD supply voltage conditions
PCLKx
f
SCK
1/t
c(SCK)
t
r(SCK)
t
f(SCK)
t
su(NSS)
t
h(NSS)
t
w(SCKH)
t
w(SCKL)
t
su(MI)
t
su(SI)
t
h(MI)
t
h(SI)
t
a(SO)
t
dis(SO)
t
v(SO)
t
v(MO)
t
h(SO)
t
h(MO)
SPI clock frequency
Master mode TBD TBD
Slave mode0 TBD
SPI clock rise and fall
time
(2)
NSS setup time Slave mode0
(2)
NSS hold timeSlave mode0
(2)
SCK high and low
(2)
time
(2)
Data input setup time
(2)
Capacitive load: C=50 pF TBD
Master mode, f
PCLK
=TBD,
presc = TBD
Master mode TBD
Slave modeTBD
Master mode TBD
(2)
Data input hold time
(2)
Data output access
(2)(4)
time
Data output disable
(2)(5)
time
(2)(1)
Data output valid time
Slave mode (after enable edge) TBD
Slave modeTBD
Master mode, f
Slave mode, f
=TBD TBD
PCLK
=TBDTBD
PCLK
Slave mode TBD TBD
Slave mode, f
=TBD TBD TBD
PCLK
Slave mode TBD TBD
f
= TBD TBD
PCLK
Master mode (after enable
(2)(1)
Data output valid time
(2)
Data output hold time
(2)
Slave mode (after enable edge) TBD
Master mode (after enable
edge)
= TBD TBD TBD
f
PCLK
edge)
MHz
TBD
(3)
(3)
ns
TBD
TBD
1. TBD = to be determined.
2. Values based on design simulation and/or characterization results, and not tested in production.
3. Depends on f
4. Min time is for the minimum time to drive the output and the max time is for the maximum time to validate
the data.
5. Min time is for the minimum time to invalidate the output and the max time is for the maximum time to put
the data in Hi-Z
1. Measurement points are done at CMOS levels: 0.3VDD and 0.7V
DD
.
USB characteristics
The USB interface is USB-IF certified (Full Speed).
Table 37.USB DC electrical characteristics
SymbolParameterConditionsMin.
Input levels
V
V
CM
V
Output levels
V
V
OH
1. All the voltages are measured from the local ground potential.
R
2.
L
Differential input sensitivityI(USBDP, USBDM) 0.2
DI
Differential common mode
range
Single ended receiver
SE
threshold
Static output level lowRL of 1.5 kΩ to 3.6 V
OL
Includes V
range0.82.5
DI
Static output level highRL of 15 kΩ to V
is the load connected on the USB drivers
SS
(2)
(2)
(1)
Max.
1.32.0
0.3
2.83.6
(1)
Unit
V
V
53/67
Page 42
Electrical characteristicsSTM32F103xx
Figure 22. USB timings: definition of data signal rise and fall time
Crossover
(1)
(1)
points
t
r
CL = 50 pF
420ns
ai14137
CL = 50 pF420ns
f
90110%
Differential
Data Lines
V
CRS
V
SS
Table 38.USB: Full speed electrical characteristics
t
f
SymbolParameterConditionsMinMaxUnit
Driver characteristics
t
r
t
f
t
rfm
V
CRS
Measured from 10% to 90% of the data signal. For more detailed informations, please refer to USB
1.
Specification - Chapter 7 (version 2.0).
Output signal crossover voltage1.32.0V
Rise time
Fall Time
Rise/ fall time matchingtr/t
5.3.16 CAN (controller area network) interface
Refer to I/O port characteristics for more details on the input/output alternate function characteristics (CANTX and CANRX).
5.3.17 12-bit ADC characteristics
Unless otherwise specified, the parameters given in Table 39 are derived from tests
performed under ambient temperature, f
conditions summarized in Table 7.
Note:It is recommended to perform a calibration after each power-up.
Table 39.ADC characteristics
SymbolParameter ConditionsMinTypMaxUnit
V
V
f
f
V
ADC power supply2.4V3.6VV
DDA
Positive reference voltage2.0
REF+
ADC clock frequency0.614MHz
ADC
f
Sampling rateTBD0.051MHz
S
External trigger frequencyf
TRIG
Conversion voltage range
AIN
(2)
(1)
frequency and V
PCLK2
= 14 MHz
ADC
supply voltage
DDA
V
SSA
V
DDA
823kHz
171/f
V
DDA
V
ADC
V
54/67
Page 43
STM32F103xxElectrical characteristics
Table 39.ADC characteristics
(1)
(continued)
SymbolParameter ConditionsMinTypMaxUnit
R
C
R
C
t
t
STAB
External input impedance
AIN
External capacitor on analog
AIN
input
Negative input leakage current
I
lkg
on analog pins
Sampling switch resistance1kΩ
ADC
Internal sample and hold
ADC
capacitor
V
< V
| I
SS,
| < 400 µA
IN
IN
on adjacent analog pin
(2)(3)
TBD
56µA
5.9µs
Calibration timef
CAL
t
Injection conversion latencyf
lat
t
Sampling timef
S
= 14MHz
ADC
= 14 MHz
ADC
= 14 MHz0.10717.1µs
ADC
831/f
Power-up time001µs
kΩ
pF
5pF
0.214µs
31/f
118µs
t
CONV
T otal conversion time (including
sampling time)
f
ADC
= 14 MHz
14 (1.5 for sampling
+12.5 for successive
1/f
approximation)
1. TBD = to be determined.
), C
2. Depending on the input signal variation (f
allow the use of a larger serial resistor (R
3. During the sample time the input capacitance C
source. The internal resistance of the analog source must allow the capacitance to reach its final voltage
level within t
the conversion result. Values for the sample clock tS depend on programming.
Table 40.ADC accuracy (f
After the end of the sample time tS, changes of the analog input voltage have no effect on
S.
(1)
3.3 V)
PCLK2
AIN
AIN
= 14 MHz, f
can be increased for stabilization time and reduced to
AIN
). It is valid for all f
(5 max) can be charged/discharged by the external
AIN
ADC
frequencies ≤ 14 MHz.
ADC
= 14 MHz, R
AIN
<10 kΩ, V
DDA
=
ADC
ADC
ADC
SymbolParameter ConditionsTypMaxUnit
(2)
(2)
(2)
INJ(PIN)
and ΣI
3TBD
1TBD
2TBD
3TBD
2TBD
in Section 5.3.12 does not
INJ(PIN)
LSB
|Total unadjusted error
|E
T
|E
|Offset error
O
|Gain Error
|E
G
|Differential linearity error
|E
D
|E
|Integral linearity error
L
1. TBD = to be determined.
2. ADC Accuracy vs. Negative Injection Current: Injecting negative current on any of the standard (nonrobust) 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 current.
Any positive injection current within the limits specified for I
affect the ADC accuracy.
(2)
(2)
55/67
Page 44
Electrical characteristicsSTM32F103xx
Figure 23. ADC accuracy characteristics
E
G
1023
1022
1021
V
1LSB
IDEAL
7
6
5
E
4
3
2
1
O
0
1234567
V
SSA
DDAVSSA
--------------------------- ------------- -=
–
1024
E
1LSB
T
IDEAL
(2)
(3)
(1)
E
L
E
D
1021 102210231024
(1) Example of an actual transfer curve
(2) The ideal transfer curve
(3) End point correlation line
E
=Total Unadjusted Error: maximum deviation
T
between the actual and the ideal transfer curves.
=Offset Error: deviation between th e fir st actual
E
O
transition and the first ideal one.
=Gain Error: deviation between the last ideal
E
G
transition and the last actual one.
=Differential Linearity Error: maximum deviation
E
D
between actual steps and the ideal one.
=Integral Linearity Error: maximum deviation
E
L
between any actual transition and the end point
correlation line.
V
DDA
ai14395
Figure 24. Typical connection diagram using the ADC
V
DD
V
T
R
AIN
V
AIN
AINx
(1)
C
AIN
0.6V
V
0.6V
R
ADC
T
IL±1mA
12-bit A/D
conversion
STM32F103xx
C
ADC
1. Refer to Table 39 for the values of R
2. C
PARASITIC
PCB layout quality) plus the pad capacitance (3 pF). A high C
accuracy. To remedy this, f
must be added to C
ADC
AIN
should be reduced.
ADC
and C
ADC
.
. It represents the capacitance of the PCB (dependent on soldering and
PARASITIC
ai14150
value will downgrade conversion
56/67
Page 45
STM32F103xxElectrical characteristics
General PCB design guidelines
Po wer supply decoupling should be performed as shown in Figure 25 or Figure 26,
depending on whether V
ceramic (good quality). They should be placed them as close as possible to the chip.
is connected to V
REF+
or not. The 10 nF capacitors should be
DDA
Figure 25. Power supply and reference decoupling (V
STM32F103xx
V
REF+
(see note 1)
1. V
REF+
and V
1 µF // 10 nF
1 µF // 10 nF
inputs are available only on 100-pin packages.
REF–
V
DDA
V
SSA/VREF+
Figure 26. Power supply and reference decoupling (V
Further developments of the STM32F103xx performance line will see an expansion of the
current options. Larger packages will soon be available with up to 512KB Flash, 64KB
SRAM and with extended features such as EMI support, SDIO, I2S, DA C and additional
timers and USARTS.
SRAM
memory
Kbytes
Package
LQFP48
LQFP64STM32F103R8T66420
LQFP100
LFBGA100
65/67
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.