Stm32f303re PDF
Stm32f303re PDF
Features
• Core: ARM® Cortex®-M4 32-bit CPU with
72 MHz FPU, single-cycle multiplication and
HW division, 90 DMIPS (from CCM), DSP LQFP64
LQFP100
(14 × 14 mm)
LQFP144
(10 × 10 mm) (20 x 20 mm)
instruction and MPU (memory protection unit)
• Operating conditions:
– VDD, VDDA voltage range: 2.0 V to 3.6 V
• Memories
WLCSP100
– Up to 512 Kbytes of Flash memory UFBGA100
(7 x 7 mm) (4.775 x 5.041 mm)
– 64 Kbytes of SRAM, with HW parity check
implemented on the first 32 Kbytes. • Two 12-bit DAC channels with analog supply
from 2.4 to 3.6 V
– Routine booster: 16 Kbytes of SRAM on
instruction and data bus, with HW parity • Seven ultra-fast rail-to-rail analog comparators
check (CCM) with analog supply from 2.0 to 3.6 V
– Flexible memory controller (FSMC) for • Four operational amplifiers that can be used in
static memories, with four Chip Select PGA mode, all terminals accessible with
• CRC calculation unit analog supply from 2.4 to 3.6 V
– Three I2C Fast mode plus (1 Mbit/s) with – USB 2.0 full-speed interface with LPM
20 mA current sink, SMBus/PMBus, support
wakeup from STOP – Infrared transmitter
– Up to five USART/UARTs (ISO 7816 • SWD, Cortex®-M4 with FPU ETM, JTAG
interface, LIN, IrDA, modem control)
• 96-bit unique ID
– Up to four SPIs, 4 to 16 programmable bit
frames, two with multiplexed half/full duplex
I2S interface
Table 1. Device summary
Reference Part number
STM32F303xD STM32F303RD, STM32F303VD, STM32F303ZD.
STM32F303xE STM32F303RE, STM32F303VE, STM32F303ZE.
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 ARM® Cortex®-M4 core with FPU with embedded Flash and SRAM . . . 16
3.2 Memory protection unit (MPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.5 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.6 Cyclic redundancy check (CRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.7 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.8 Interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.9 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.10 General-purpose input/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.11 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.12 Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . . 22
3.13 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.13.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 23
3.14 Fast analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.14.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.14.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.14.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.14.4 OPAMP reference voltage (VREFOPAMP) . . . . . . . . . . . . . . . . . . . . . . 24
3.15 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.16 Operational amplifier (OPAMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.17 Ultra-fast comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.18 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 73
List of tables
List of figures
1 Introduction
This datasheet provides the ordering information and mechanical device characteristics of
the STM32F303xD/E microcontrollers.
This STM32F303xD/E datasheet should be read in conjunction with the reference manual of
STM32F303xB/C/D/E, STM32F358xC and STM32F328x4/6/8 devices (RM0316) available
on STMicroelectronics website at www.st.com.
For information on the ARM® Cortex®-M4 core with FPU, refer to the following documents:
• Cortex® -M4 with FPU Technical Reference Manual, available from the www.arm.com
website
• STM32F3 and STM32F4 Series Cortex® -M4 programming manual (PM0214)
available on STMicroelectronics website at www.st.com.
2 Description
2%/
038)38
LQWHUIDFH
DV$) 9WR9
)ODVK
-7567 .%)/$6+ 966
,EXV
-7', ELWV #9''$
%XV0DWUL[
&RUWH[0&38
-7&.6:&/.
'EXV 325 6XSSO\
-7066:',2
)PD[0+] .%&&05$0 6XSHUYLVLRQ
-7'2 5HVHW 15(6(7
$V$) 6\VWHP ,QW 3253'5 9''$
19,& .%65$0 #9''$ 966$
39'
5&+60+] #9'',2
*3'0$
FKDQQHOV 5&/6
3// ;7$/26& 26&B,1
*3'0$ 0+]
26&B287
FKDQQHOV
,QG:'*.
7HPSVHQVRU $+%3&/. 6WDQGE\
$3%3&/. LQWHUIDFH
ELW$'& 9%$7 9WR9
,) $3%3&/.
ELW$'& 5HVHW +&/. #96:
95() 26&B,1
$+%
63,,6
6&.&.166:60&/.DV$)
3)>@ *3,23257)
63,,6 026,6'0,62H[WB6'
3*>@ *3,23257* 6&.&.166:60&/.DV$)
86$57 5;7;&76576DV$)
3+>@ *3,23257+
;;*URXSVRI 86$57 5;7;&76576DV$)
7RXFK6HQVLQJ
FKDQQHOVDV
&RQWUROOHU 8$57 5;7;DV$)
$)
$+% $+%
8$57 5;7;DV$)
$3% $3%
,& 6&/6'$60%$DV$)
;;
(;7,7:.83
$) ,& 6&/6'$60%$DV$)
&KDQQHOV&RPS :LQ:$7&+'2*
&KDQQHO%5.DV$) 7,0(5 ,& 6&/6'$60%$DV$)
&KDQQHO&RPS 7,0(5 86%65$0% E[&$1
%65$0 &$17;&$15;
&KDQQHO%5.DV$)
&KDQQHO&RPS 7,0(5 86%)6 86%B'386%B'0
&KDQQHO%5.DV$) 7,0(5
$3%IPD[ 0+]
&KDQQHOV '$&B&+DV$)
&RPSFKDQQHOV 7,0(53:0 ,) ELW'$&
7,0(5
(75%5.DV$) '$&B&+DV$)
#9''$
&KDQQHOV
&RPSFKDQQHOV 7,0(53:0
(75%5.DV$) #9''$
&KDQQHOV
7,0(53:0 ,1[[
&RPSFKDQQHOV 2S$PS
287[[
,17(5)$&(
;[,QV287VDV$) 06Y9
3 Functional overview
3.1 ARM® Cortex®-M4 core with FPU with embedded Flash and
SRAM
The ARM® Cortex®-M4 processor with FPU is the latest generation of ARM processors for
embedded systems. It was developed to provide a low-cost platform that meets the needs of
MCU implementation, with a reduced pin count and low-power consumption, while
delivering outstanding computational performance and an advanced response to interrupts.
The ARM® Cortex®-M4 32-bit RISC processor with FPU features exceptional code-
efficiency, delivering the high-performance expected from an ARM core in the memory size
usually associated with 8- and 16-bit devices.
The processor supports a set of DSP instructions which allows efficient signal processing
and complex algorithm execution.
Its single precision FPU speeds up software development by using metalanguage
development tools, while avoiding saturation.
With its embedded ARM core, the STM32F303xD/E family is compatible with all ARM tools
and software.
Figure 1 shows the general block diagram of the STM32F303xD/E family devices.
• VBAT = 1.65 to 3.6 V: power supply for RTC, external clock 32 kHz oscillator and
backup registers (through power switch) when VDD is not present.
GPIO
RTCCLK Clock source used as input channel for HSI and
TIM16
HSE/32 LSI calibration
MC0
CSS
CPU (hard fault) TIM1, TIM8, TIM20
Timer break
COMPx TIM15, 16, 17
GPIO
TIMx External trigger, timer break
GPIO ADCx
Conversion external trigger
DAC1
DAC1 COMPx Comparator inverting input
Note: For more details about the interconnect actions, refer to the corresponding sections in the
STM32F303xD/Ereference manual (RM0316).
)/,7)&/.
WR)ODVKSURJUDPPLQJLQWHUIDFH
+6,
6<6&/. WR,&[[
,665&
6<6&/.
86%
SUHVFDOHU 86%&/.WR86%LQWHUIDFH
0+] +6,
+6,5& WR)0&
+&/.
WR$+%EXVFRUHPHPRU\DQG
'0$
3//65& WR&RUWH[V\VWHPWLPHU
6:
3//08/ )+&/.&RUWH[IUHHUXQQLQJFORFN
+6, $+%
3// $+ % $3% 3&/.
3//&/. SUHVFDOHU
[[ SUHVFDOHU WR$3%SHULSKHUDOV
«[ +6(
35(',9 ,I$3%SUHVFDOHU WR7,0
[HOVH[
&66
3/&/.
6<6&/.
+6, WR86$57[[
26&B287 /6(
0+]
+6(26& WR7,0
26&B,1
$3% 3&/.
SUHVFDOHU WR$3%SHULSKHUDOV
26&B,1 57&&/.
/6(26& WR57&
N+] /6( ,I$3%SUHVFDOHU
26&B287 [HOVH[
57&6(/>@
3&/.
/6,5& /6, ,:'*&/. 6<6&/.
N+] WR,:'* +6, WR86$57
/6(
$'&SUHVFDOHU
069
effective graphic applications using LCD modules with embedded controllers or high
performance solutions using external controllers with dedicated acceleration.
The events generated by the general-purpose timers and the advanced-control timers
(TIM1, TIM8 and TIM20) can be internally connected to the ADC start trigger and injection
trigger, respectively, to allow the application to synchronize A/D conversion and timers.
Any integer
TIM1, TIM8, Up, Down,
Advanced 16-bit between 1 Yes 4 Yes
TIM20 Up/Down
and 65536
Any integer
General- Up, Down,
TIM2 32-bit between 1 Yes 4 No
purpose Up/Down
and 65536
Any integer
General- Up, Down,
TIM3, TIM4 16-bit between 1 Yes 4 No
purpose Up/Down
and 65536
Any integer
General-
TIM15 16-bit Up between 1 Yes 2 1
purpose
and 65536
Any integer
General-
TIM16, TIM17 16-bit Up between 1 Yes 1 1
purpose
and 65536
Any integer
TIM6,
Basic 16-bit Up between 1 Yes 0 No
TIM7
and 65536
Note: TIM1/8/20/2/3/4/15/16/17 can have PLL as clock source, and therefore can be clocked at
144 MHz.
All I2C bus interfaces support 7-bit and 10-bit addressing modes, multiple 7-bit slave
addresses (2 addresses, 1 with configurable mask). They also include programmable
analog and digital noise filters.
In addition, they provide hardware support for SMBUS 2.0 and PMBUS 1.1: ARP capability,
Host notify protocol, hardware CRC (PEC) generation/verification, timeouts verifications and
ALERT protocol management. They also have a clock domain independent from the CPU
clock, allowing the I2Cx (x=1,2,3) to wake up the MCU from Stop mode on address match.
The I2C interfaces can be served by the DMA controller.
Refer to Table 7 for the features available in I2C1, I2C2 and I2C3.
communication mode and have LIN Master/Slave capability. The USART interfaces can be
served by the DMA controller.
7,0(5 2&
IRUHQYHORS 3%3$
7,0(5 2&
IRUFDUULHU
06Y9
G1 3 3
G2 3 3
G3 3 3
G4 3 3
G5 3 3
G6 3 3
G7 3 0
G8 3 0
Number of capacitive sensing
24 18
channels
port analyzer (TPA) device. The TPA is connected to a host computer using a high-speed
channel. Real-time instruction and data flow activity can be recorded and then formatted for
display on the host computer running debugger software. TPA hardware is commercially
available from common development tool vendors. It operates with third party debugger
software tools.
3&
3&
3&
%227
3'
3$
3$
9''
966
3%
3%
3%
3%
3%
3%
3%
9%$7 9''
3& 966
3&26&B,1 3$
3&26&B287 3$
3)26&B,1 3$
3)26&B287 3$
1567 3$
3& 3$
/4)3
3& 3&
3& 3&
3& 3&
966$ 3&
9''$ 3%
3$ 3%
3$ 3%
3$ 3%
9''
3%
9''
3%
3%
3%
966
966
3&
3&
3%
3$
3$
3$
3$
3$
069
%22 7
3&
3&
3&
3$
3$
3(
3(
3%
3%
3%
3%
3%
3%
3%
3'
3'
3'
3'
3'
3'
3'
3'
9''
966
3( 9''
3( 966
3( 3)
3( 3$
3( 3$
9%$7 3$
3& 3$
3&26&B,1 3$
3&26&B287 3$
3) 3&
3) 3&
3)26&B,1 3&
3)2&6B287 /4)3 3&
1567 3'
3& 3'
3& 3'
3& 3'
3& 3'
3) 3'
966$95() 3'
95() 3'
9''$ 3%
3$ 3%
3$ 3%
3$ 3%
9''
966
3$
3$
3$
3$
3&
3&
3%
3%
3%
3(
3(
3(
3(
3(
3(
3(
3(
3(
3%
3%
966
9''
3$
069
%227
3*
3*
3*
3*
3*
3*
3&
3&
3&
3$
3$
9''
966
966
3*
9''
9''
3'
3'
3'
3'
3'
3'
3'
3'
3(
3(
3%
3%
3%
3%
3%
3%
3%
966
3( 9''
3( 966
3( 3+
3( 3$
3( 3$
9%$7 3$
3&B$17,B7$03 3$
3&B26&B,1 3$
3&B26&B287 3$
3+ 3&
3+ 3&
3) 3&
3) 3&
3) 9''
3) 966
966 3*
9'' 3*
3) 3*
3) /4)3 3*
3) 3*
3) 3*
3) 3*
3)26&B,1 3'
3)26&B287 3'
1567 9''
3& 966
3& 3'
3& 3'
3& 3'
966$ 3'
95() 3'
95() 3'
9''$ 3%
3$B:.83 3%
3$ 3%
3$ 3%
966
9''
3$
3$
3$
3$
3$
3&
3&
3%
3%
3%
3)
3)
3)
3)
3)
3*
3*
3(
3(
3(
3(
3(
3(
3(
3(
3(
3%
3%
966
966
9''
9''
966
9''
069
$ 966 966 3& 3' 3% 3% %227 3( 9'' 9''
% 966 3$ 3' 3' 3% 3% 3( 9'' 3( 9''
' 3$ 9'' 3& 3' 3% 3( 3( 9%$7 3& 3)
26&287
( 3$ 3$ 3$ 3& 3$ 3( 3( 3) 1567 3)
) 3) 3)
3& 3& 3& 3& 3$ 3& 3$ 3(
26&287 26&,1
* 3' 3' 3' 3' 3( 3& 3$ 3& 3& 3&
+ 3' 3' 3' 3% 3( 3$ 3$ 966$ 3$ 3&
06Y9
3( 3( 3% %227 3' 3' 3% 3% 3$ 3$ 3$ 3$
$
% 3( 3( 3% 3% 3% 3' 3' 3' 3' 3& 3& 3$
& 3& 3( 3( 9'' 3% 3' 3' 3& 3) 3$
. 966$ 3& 3$ 3$ 3& 3' 3' 3% 3% 3%
95()
/ 9''$ 3$ 3$ 3$ 3& 3% 3( 3( 3( 3% 3% 3%
0 95() 3$ 3$ 3$ 3% 3% 3( 3( 3( 3( 3( 3(
069
Unless otherwise specified in brackets below the pin name, the pin function during and
Pin name
after reset is the same as the actual pin name
FT 5 V tolerant I/O
FTf 5 V tolerant I/O, I2C FM+ option
TTa 3.3 V tolerant I/O
I/O structure TC Standard 3.3V I/O
B Dedicated to BOOT0 pin
RST Bi-directional reset pin with embedded weak pull-up resistor
Unless otherwise specified by a note, all I/Os are set as floating inputs during and after
Notes
reset
Alternate
Functions selected through GPIOx_AFR registers
functions
Pin
functions Additional
Functions directly selected/enabled through peripheral registers
functions
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
TRACECK, EVENTOUT,
(1) TIM3_CH1, TSC_G7_IO1,
- 1 B2 D6 1 PE2 I/O FT -
SPI4_SCK, TIM20_CH1,
FMC_A23
TRACED0, EVENTOUT,
(1) TIM3_CH2, TSC_G7_IO2,
- 2 A1 D7 2 PE3 I/O FT -
SPI4_NSS, TIM20_CH2,
FMC_A19
TRACED1, EVENTOUT,
(1) TIM3_CH3, TSC_G7_IO3,
- 3 B1 C8 3 PE4 I/O FT -
SPI4_NSS, TIM20_CH1N,
FMC_A20
TRACED2, EVENTOUT,
(1) TIM3_CH4, TSC_G7_IO4,
- 4 C2 B9 4 PE5 I/O FT -
SPI4_MISO,
TIM20_CH2N, FMC_A21
TRACED3, EVENTOUT,
(1)
- 5 D2 E7 5 PE6 I/O FT SPI4_MOSI, WKUP3, RTC_TAMP3
TIM20_CH3N, FMC_A22
1 6 E2 D8 6 VBAT S - - - -
WKUP2,RTC_TAMP1,
2 7 C1 C9 7 PC13(2) I/O TC - EVENTOUT, TIM1_CH1N
RTC_TS, RTC_OUT
PC14 -
3 8 D1 C10 8 I/O TC - EVENTOUT OSC32_IN
OSC32_IN (2)
PC15 -
4 9 E1 D9 9 I/O TC - EVENTOUT OSC32_OUT
OSC32_OUT(2)
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
EVENTOUT,
(1)
- - - - 14 PF4 I/O TTa COMP1_OUT, ADC1_IN5(3)
TIM20_CH1N, FMC_A4
(1) EVENTOUT,
- - - - 15 PF5 I/O FT -
TIM20_CH2N, FMC_A5
(1)
- - - - 16 VSS S - - -
- - - - 17 VDD S - (1)
- -
EVENTOUT, TIM4_CH4,
(1) I2C2_SCL,
- 73 C11 C1 18 PF6 I/O FTf -
USART3_RTS,
FMC_NIORD
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
EVENTOUT, TIM1_CH4,
11 18 K2 H10 29 PC3 I/O TTa - ADC12_IN9
TIM1_BKIN2
(1)
12 20 K1 H8 30 VSSA S - - -
(1)
- - - - 31 VREF- S - - -
- 21 M1 J8 32 VREF+(4) S - - - -
13 22 L1 J10 33 VDDA S - - - -
TIM2_CH1/TIM2_ETR,
TSC_G1_IO1, ADC1_IN1(3),
USART2_CTS, COMP1_INM,
14 23 L2 H9 34 PA0 I/O TTa -
COMP1_OUT, RTC_TAMP2,
TIM8_BKIN, TIM8_ETR, WKUP1
EVENTOUT
RTC_REFIN, TIM2_CH2,
ADC1_IN2(3),
TSC_G1_IO2,
COMP1_INP,
15 24 M2 J9 35 PA1 I/O TTa - USART2_RTS,
OPAMP1_VINP,
TIM15_CH1N,
OPAMP3_VINP
EVENTOUT
TIM2_CH3, TSC_G1_IO3,
ADC1_IN3(3),
(5) USART2_TX,
16 25 K3 F7 36 PA2 I/O TTa COMP2_INM,
COMP2_OUT,
OPAMP1_VOUT
TIM15_CH1, EVENTOUT
TIM2_CH4, TSC_G1_IO4, ADC1_IN4(3),
17 26 L3 G7 37 PA3 I/O TTa - USART2_RX, OPAMP1_VINM
TIM15_CH2, EVENTOUT OPAMP,1_VINP
K9,
18 27 D3 38 VSS S - - - -
K10
19 28 H3 K8 39 VDD S - (1)
- -
ADC2_IN1(3),
DAC1_OUT1,
COMP1_INM,
TIM3_CH2, TSC_G2_IO1, COMP2_INM,
(5) SPI1_NSS, COMP3_INM,
20 29 M3 J7 40 PA4 I/O TTa
SPI3_NSS/I2S3_WS, COMP4_INM,
USART2_CK, EVENTOUT COMP5_INM,
COMP6_INM,
COMP7_INM,
OPAMP4_VINP
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
ADC2_IN2(3),
DAC1_OUT2,
COMP1_INM,
COMP2_INM,
COMP3_INM,
TIM2_CH1/TIM2_ETR,
(5) COMP4_INM,
21 30 K4 H7 41 PA5 I/O TTa TSC_G2_IO2, SPI1_SCK,
COMP5_INM,
EVENTOUT
COMP6_INM,
COMP7_INM,
OPAMP1_VINP,
OPAMP2_VINM,
OPAMP3_VINP
TIM16_CH1, TIM3_CH1,
TSC_G2_IO3,
(5) TIM8_BKIN, SPI1_MISO, ADC2_IN3(3),
22 31 L4 H6 42 PA6 I/O TTa
TIM1_BKIN, OPAMP2_VOUT
COMP1_OUT,
EVENTOUT
TIM17_CH1, TIM3_CH2, ADC2_IN4(3),
TSC_G2_IO4, COMP2_INP,
23 32 M4 K7 43 PA7 I/O TTa -
TIM8_CH1N, SPI1_MOSI, OPAMP1_VINP,
TIM1_CH1N, EVENTOUT OPAMP2_VINP
EVENTOUT, TIM1_ETR,
24 33 K5 G6 44 PC4 I/O TTa - ADC2_IN5(3)
USART1_TX
EVENTOUT, TIM15_BKIN, ADC2_IN11,
25 34 L5 F6 45 PC5 I/O TTa - TSC_G3_IO1, OPAMP1_VINM,
USART1_RX OPAMP2_VINM
ADC3_IN12,
TIM3_CH3, TSC_G3_IO2,
COMP4_INP,
26 35 M5 J6 46 PB0 I/O TTa - TIM8_CH2N,
OPAMP2_VINP,
TIM1_CH2N, EVENTOUT
OPAMP3_VINP
TIM3_CH4, TSC_G3_IO3,
TIM8_CH3N,
(5) ADC3_IN1(3),
27 36 M6 K6 47 PB1 I/O TTa TIM1_CH3N,
OPAMP3_VOUT
COMP4_OUT,
EVENTOUT
ADC2_IN12,
TSC_G3_IO4,
28 37 L6 K5 48 PB2 I/O TTa - COMP4_INM,
EVENTOUT
OPAMP3_VINM
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
(1)
- - - - 49 PF11 I/O FT EVENTOUT, TIM20_ETR -
(1) EVENTOUT,
- - - - 56 PG0 I/O FT -
TIM20_CH1N, FMC_A10
(1) EVENTOUT,
- - - - 57 PG1 I/O FT -
TIM20_CH2N, FMC_A11
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
EVENTOUT, TIM1_CH4,
(1)
- 45 M11 - 67 PE14 I/O TTa SPI4_MOSI, TIM1_BKIN2, ADC4_IN1(3)
FMC_D11
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
(1) EVENTOUT,
- 56 K8 G4 78 PD9 I/O TTa ADC4_IN13
USART3_RX, FMC_D14
(1) EVENTOUT,
- - - - 87 PG2 I/O FT -
TIM20_CH3N, FMC_A12
(1) EVENTOUT,
- - - - 89 PG4 I/O FT -
TIM20_BKIN2, FMC_A14
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
EVENTOUT, TIM3_CH1,
37 63 E12 F4 96 PC6 I/O FT - TIM8_CH1, I2S2_MCK, -
COMP6_OUT
EVENTOUT, TIM3_CH2,
38 64 E11 F2 97 PC7 I/O FT - TIM8_CH2, I2S3_MCK, -
COMP5_OUT
EVENTOUT, TIM3_CH3,
39 65 E10 F1 98 PC8 I/O FT - -
TIM8_CH3, COMP3_OUT
EVENTOUT, TIM3_CH4,
40 66 D12 F3 99 PC9 I/O FTf - I2C3_SDA, TIM8_CH4, -
I2SCKIN, TIM8_BKIN2
MCO, I2C3_SCL,
I2C2_SMBAL, I2S2_MCK,
41 67 D11 F5 100 PA8 I/O FTf - TIM1_CH1, USART1_CK, -
COMP3_OUT, TIM4_ETR,
EVENTOUT
I2C3_SMBAL,
TSC_G4_IO1, I2C2_SCL,
I2S3_MCK, TIM1_CH2,
42 68 D10 E5 101 PA9 I/O FTf - USART1_TX, -
COMP5_OUT,
TIM15_BKIN, TIM2_CH3,
EVENTOUT
TIM17_BKIN,
TSC_G4_IO2, I2C2_SDA,
SPI2_MISO/I2S2ext_SD,
43 69 C12 E1 102 PA10 I/O FTf - -
TIM1_CH3, USART1_RX,
COMP6_OUT, TIM2_CH4,
TIM8_BKIN, EVENTOUT
SPI2_MOSI/I2S2_SD,
TIM1_CH1N,
USART1_CTS,
44 70 B12 E2 103 PA11 I/O FT - USB_DM
COMP1_OUT, CAN_RX,
TIM4_CH1, TIM1_CH4,
TIM1_BKIN2, EVENTOUT
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
TIM16_CH1, I2SCKIN,
TIM1_CH2N,
USART1_RTS,
45 71 A12 D1 104 PA12 I/O FT - USB_DP
COMP2_OUT, CAN_TX,
TIM4_CH2, TIM1_ETR,
EVENTOUT
SWDIO-JTMS,
TIM16_CH1N,
46 72 A11 E3 105 PA13 I/O FT - TSC_G4_IO3, IR-OUT, -
USART3_CTS,
TIM4_CH3, EVENTOUT
(1)
- - - - 106 PH2 I/O FT EVENTOUT -
A1,
47 74 F11 A2, 107 VSS S - - - -
B1
48 75 G11 D2 108 VDD S - - - -
SWCLK-JTCK,
TSC_G4_IO4, I2C1_SDA,
49 76 A10 C2 109 PA14 I/O FTf - -
TIM8_CH2, TIM1_BKIN,
USART2_TX, EVENTOUT
JTDI,
TIM2_CH1/TIM2_ETR,
TIM8_CH1, TSC_SYNC,
50 77 A9 B2 110 PA15 I/O FTf - I2C1_SCL, SPI1_NSS, -
SPI3_NSS/I2S3_WS,
USART2_RX, TIM1_BKIN,
EVENTOUT
EVENTOUT, TIM8_CH1N,
UART4_TX,
51 78 B11 E4 111 PC10 I/O FT - -
SPI3_SCK/I2S3_CK,
USART3_TX
EVENTOUT, TIM8_CH2N,
UART4_RX,
52 79 C10 D3 112 PC11 I/O FT - -
SPI3_MISO/I2S3ext_SD,
USART3_RX
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
EVENTOUT, TIM8_CH3N,
UART5_TX,
53 80 B10 A3 113 PC12 I/O FT - -
SPI3_MOSI/I2S3_SD,
USART3_CK
(1) EVENTOUT,
- 86 A6 - 119 PD5 I/O FT -
USART2_TX, FMC_NWE
(1)
- - - - 120 VSS S - - -
(1)
- - - - 121 VDD S - - -
EVENTOUT, TIM2_CH4,
- 87 B6 - 122 PD6 I/O FT (1)
USART2_RX, -
FMC_NWAIT
EVENTOUT, TIM2_CH3,
- 88 A5 D4 123 PD7 I/O FT (1)
USART2_CK, -
FMC_NE1/FMC_NCE2
(1) EVENTOUT,
- - - - 124 PG9 I/O FT -
FMC_NE2/FMC_NCE3
(1) EVENTOUT,
- - - - 125 PG10 I/O FT -
FMC_NCE4_1/FMC_NE3
(1) EVENTOUT,
- - - - 126 PG11 I/O FT -
FMC_NCE4_2
- - - - 127 PG12 I/O FT (1) EVENTOUT, FMC_NE4 -
(1)
- - - - 128 PG13 I/O FT EVENTOUT, FMC_A24 -
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
(1)
- - - - 129 PG14 I/O FT EVENTOUT, FMC_A25 -
- - - - 130 VSS S - (1)
- -
(1)
- - - - 131 VDD S - - -
(1)
- - - - 132 PG15 I/O FT EVENTOUT -
JTDO-TRACESWO,
TIM2_CH2, TIM4_ETR,
TSC_G5_IO1,
55 89 A8 A5 133 PB3 I/O FT - TIM8_CH1N, SPI1_SCK, -
SPI3_SCK/I2S3_CK,
USART2_TX, TIM3_ETR,
EVENTOUT
JTRST, TIM16_CH1,
TIM3_CH1, TSC_G5_IO2,
TIM8_CH2N, SPI1_MISO,
56 90 A7 B5 134 PB4 I/O FT - -
SPI3_MISO/I2S3ext_SD,
USART2_RX,
TIM17_BKIN, EVENTOUT
TIM16_BKIN, TIM3_CH2,
TIM8_CH3N,
I2C1_SMBAl, SPI1_MOSI,
57 91 C5 A6 135 PB5 I/O FTf - -
SPI3_MOSI/I2S3_SD,
USART2_CK, I2C3_SDA,
TIM17_CH1, EVENTOUT
TIM16_CH1N, TIM4_CH1,
TSC_G5_IO3, I2C1_SCL,
58 92 B5 B6 136 PB6 I/O FTf - TIM8_CH1, TIM8_ETR, -
USART1_TX,
TIM8_BKIN2, EVENTOUT
TIM17_CH1N, TIM4_CH2,
TSC_G5_IO4, I2C1_SDA,
59 93 B4 C5 137 PB7 I/O FTf - TIM8_BKIN, USART1_RX, -
TIM3_CH4, FMC_NADV,
EVENTOUT
60 94 A4 A7 138 BOOT0 I - - - -
I/O structure
Pin type
Pin name
WLCSP100
UFBGA100
Notes
LQFP100
LQFP144
LQFP64
TIM16_CH1, TIM4_CH3,
TSC_SYNC, I2C1_SCL,
USART3_RX,
61 95 A3 D5 139 PB8 I/O FTf - -
COMP1_OUT, CAN_RX,
TIM8_CH2, TIM1_BKIN,
EVENTOUT
TIM17_CH1, TIM4_CH4,
I2C1_SDA, IR-OUT,
62 96 B3 C6 140 PB9 I/O FTf - USART3_TX, -
COMP2_OUT, CAN_TX,
TIM8_CH3, EVENTOUT
EVENTOUT, TIM4_ETR,
(1)
- 97 C3 B7 141 PE0 I/O FT TIM16_CH1, TIM20_ETR, -
USART1_TX, FMC_NBL0
EVENTOUT, TIM17_CH1,
(1)
- 98 A2 A8 142 PE1 I/O FT TIM20_CH4, -
USART1_RX, FMC_NBL1
63 99 E3 C7 143 VSS S - - - -
A9,
A10
,
64 100 C4 144 VDD S - - - -
B10
,
B8
1. Function availability depends on the chosen device.
2. PC13, PC14 and PC15 are supplied through the power switch. Since the switch sinks only a limited amount of current (3
mA), the use of GPIO PC13 to PC15 in output mode is limited:
- The speed should not exceed 2 MHz with a maximum load of 30 pF
- These GPIOs must not be used as current sources (e.g. to drive an LED)
After the first backup domain power-up, PC13, PC14 and PC15 operate as GPIOs. Their function then depends on the
content of the Backup registers which is not reset by the main reset. For details on how to manage these GPIOs, refer to
the Battery backup domain and BKP register description sections in the RM0316 reference manual.
3. Fast ADC channel.
4. The VREF+ functionality is not available on the 64-pin package. In this package, the VREF+ is internally connected to
VDDA.
5. These GPIOs offer a reduced touch sensing sensitivity. It is thus recommended to use them as sampling capacitor I/O.
SPI1/SPI2
Port I2C3/TIM1 I2C3/TIM /I2S2/SPI3 SPI2/I2S2/ USART1/2
TIM2/15/ I2C1/2/TI I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
TIM2_
TSC_G1 USART2_ COMP1_ TIM8_ TIM8_ EVENT
PA0 - CH1/TIM - - - - - - - -
_IO1 CTS OUT BKIN ETR OUT
2_ETR
TIM2_
TSC_G2 EVENT
PA5 - CH1/TIM - - SPI1_SCK - - - - - - - - -
_IO2 OUT
2_ETR
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
SPI2_MIS
TIM17_ TSC_G4 TIM1_ USART1_ COMP6_ TIM2_ TIM8_B EVENT
PA10 - - I2C2_SDA O/I2S2ext - - - -
BKIN _IO2 CH3 RX OUT CH4 KIN OUT
_SD
SPI2_MO
TIM1_ USART1_ COMP1_ TIM4_ TIM1_ TIM1_ EVENT
PA11 - - - - - SI/I2S2_ CAN_RX - -
CH1N CTS OUT CH1 CH4 BKIN2 OUT
SD
DocID026415 Rev 5
TIM2_
TIM8_ TSC_ SPI3_NSS USART2_ TIM1_ EVENT
PA15 JTDI CH1/TIM I2C1_SCL SPI1_NSS - - - - - -
CH1 SYNC /I2S3_WS RX BKIN OUT
2_ETR
STM32F303xD STM32F303xE
CH3 _IO2 CH2N CH2N OUT
TSC_G3 EVENT
PB2 - - - - - - - - - - - - - -
_IO4 OUT
JTDO-
TIM2_ TIM4_ TSC_G5 TIM8_ SPI3_SCK USART2_ TIM3_ EVENT
PB3 TRACES SPI1_SCK - - - - - -
CH2 ETR _IO1 CH1N /I2S3_CK TX ETR OUT
WO
Table 14. STM32F303xD/E alternate function mapping (continued)
STM32F303xD STM32F303xE
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
SPI3_MIS
TIM16_ TIM3_ TSC_G5 TIM8_ SPI1_ USART2_ TIM17_ EVENT
PB4 JTRST O/I2S3ext - - - - - -
CH1 CH1 _IO2 CH2N MISO RX BKIN OUT
_SD
SPI3_MO
TIM16_ TIM3_ TIM8_ I2C1_ SPI1_ USART2_ TIM17_ EVENT
PB5 - SI/I2S3_ I2C3_SDA - - - - -
BKIN CH2 CH3N SMBAl MOSI CK CH1 OUT
SD
DocID026415 Rev 5
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
SPI2_MIS
TIM15_ TSC_G6 TIM1_ USART3_ EVENT
PB14 - - - O/I2S2ext - - - - - - -
CH1 _IO4 CH2N RTS OUT
_SD
SPI2_MO
RTC_ TIM15_ TIM15_ TIM1_ EVENT
PB15 - SI/I2S2_S - - - - - - - - -
Port B
EVENT TIM1_
PC0 - - - - - - - - - - - - - -
OUT CH1
EVENT TIM1_
PC1 - - - - - - - - - - - - - -
OUT CH2
STM32F303xD STM32F303xE
EVENT TIM15_ TSC_G3 USART1_
PC5 - - - - - - - - - - - -
OUT BKIN _IO1 RX
STM32F303xD STM32F303xE
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
SPI3_MIS
EVENT TIM8_ UART4_ USART3_
PC11 - - - O/I2S3ext - - - - - - - -
OUT CH2N RX RX
_SD
DocID026415 Rev 5
SPI3_MO
Port C
EVENT TIM1_
PC13 - - - - - - - - - - - - - -
OUT CH1N
EVENT
PC14 - - - - - - - - - - - - - - -
OUT
EVENT
PC15 - - - - - - - - - - - - - - -
OUT
EVENT
PD0 - - - - - - CAN_RX - - - - FMC_D2 - - -
OUT
TIM2_CH
EVENT USART2_ FMC_
PD3 - 1/TIM2_ - - - - - - - - - - -
OUT CTS CLK
ETR
PD4 - - - - - - - - - - - -
OUT CH2 RTS NOE
Table 14. STM32F303xD/E alternate function mapping (continued)
58/173
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
FMC_NE
EVENT TIM2_ USART2_
PD7 - - - - - - - - - 1/FMC_ - - -
DocID026415 Rev 5
OUT CH3 CK
NCE2
STM32F303xD STM32F303xE
OUT CH1 _IO1 RTS A17
STM32F303xD STM32F303xE
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
EVENT TIM1_
PE7 - - - - - - - - - - FMC_D4 - - -
OUT ETR
EVENT TIM1_
EVENT TIM1_
PE9 - - - - - - - - - - FMC_D6 - - -
OUT CH1
EVENT TIM1_
PE10 - - - - - - - - - - FMC_D7 - - -
OUT CH2N
EVENT TIM1_
PE11 - - - SPI4_NSS - - - - - - FMC_D8 - - -
OUT CH2
59/173
Table 14. STM32F303xD/E alternate function mapping (continued)
60/173
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
EVENT TIM1_
PE12 - - - SPI4_SCK - - - - - - FMC_D9 - - -
OUT CH3N
EVENT SPI2_SCK
PF1 - - - I2C2_SCL - - - - - - - - - -
OUT /I2S2_CK
EVENT TIM20_
PF2 - - - - - - - - - - FMC_A2 - - -
OUT CH3
STM32F303xD STM32F303xE
Port F
EVENT TIM20_
PF3 - - - - - - - - - - FMC_A3 - - -
OUT CH4
EVENT TIM20_
PF5 - - - - - - - - - - FMC_A5 - - -
OUT CH2N
STM32F303xD STM32F303xE
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
EVENT TIM20_
PF11 - - - - - - - - - - - - - -
OUT ETR
Port F
EVENT TIM20_
PF12 - - - - - - - - - - FMC_A6 - - -
OUT CH1
EVENT TIM20_
PF13 - - - - - - - - - - FMC_A7 - - -
OUT CH2
EVENT TIM20_
PF14 - - - - - - - - - - FMC_A8 - - -
OUT CH3
EVENT TIM20_
PF15 - - - - - - - - - - FMC_A9 - - -
OUT CH4
PG4 - - - - - - - - - - - - -
OUT BKIN2 A14
Table 14. STM32F303xD/E alternate function mapping (continued)
62/173
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
EVENT FMC_
PG6 - - - - - - - - - - - - - -
OUT INT2
EVENT FMC_
PG7 - - - - - - - - - - - - - -
OUT INT3
DocID026415 Rev 5
EVENT
PG8 - - - - - - - - - - - - - - -
OUT
FMC_NE
EVENT
PG9 - - - - - - - - - - - 2/FMC_ - - -
OUT
NCE3
Port G
FMC_
EVENT NCE4_1/
PG10 - - - - - - - - - - - - - -
OUT FMC_
NE3
EVENT FMC_
PG11 - - - - - - - - - - - - - -
OUT NCE4_2
STM32F303xD STM32F303xE
EVENT FMC_
PG12 - - - - - - - - - - - - - -
OUT NE4
EVENT FMC_
PG13 - - - - - - - - - - - - - -
OUT A24
EVENT FMC_
PG14 - - - - - - - - - - - - - -
OUT A25
EVENT
PG15 - - - - - - - - - - - - - - -
OUT
Table 14. STM32F303xD/E alternate function mapping (continued)
STM32F303xD STM32F303xE
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
SPI1/SPI2
Port TIM2/15/
I2C3/TIM1 I2C3/TIM
I2C1/2/TI
/I2S2/SPI3 SPI2/I2S2/ USART1/2
I2C3/GPC
/2/3/4/8/20 8/20/15/G /I2S3/SPI4 SPI3/I2S3/ /3/CAN/GP CAN/TIM1 TIM2/3/ FSMC
SYS_AF 16/17/E M1/8/16/ OMP1/2/3/ TIM1/8 - - EVENT
/15/GPCO PCOMP7 /UART4/5/ TIM1/8/20/ COMP3/5/ /8/15 4/8/17 /TIM1
VENT 17 4/5/6
MP1 /TSC TIM8/Infra Infrared 6
red
EVENT TIM20_
PH0 - - - - - - - - - - FMC_A0 - - -
OUT CH1
Port H
EVENT TIM20_
PH1 - - - - - - - - - - FMC_A1 - - -
OUT CH2
EVENT
PH2 - - - - - - - - - - - - - - -
OUT
DocID026415 Rev 5
5 Memory mapping
[)))))))) [))
&RUWH[0 $+%
ZLWK)38 [
,QWHUQDO 5HVHUYHG
3HULSKHUDOV [
[( $+%
[
5HVHUYHG
[& [))
$+%
[
5HVHUYHG
[&
[$
)0&FRQWURO $3%
UHJLVWHUV [
[$ 5HVHUYHG
)0&
EDQNDQG [$
EDQN $3%
[ [
)0&
EDQNDQG [)))))))
EDQN
2SWLRQE\WHV
[ [))))
6\VWHPPHPRU\
[)))'
5HVHUYHG
[
[ 3HULSKHUDOV &&05$0
[
5HVHUYHG
[
[ 65$0 )ODVKPHPRU\
[
&2'( 5HVHUYHG
[
[ )ODVKV\VWHP
PHPRU\RU65$0
GHSHQGLQJRQ%227
FRQILJXUDWLRQ
5HVHUYHG [
06Y9
6 Electrical characteristics
Figure 10. Pin loading conditions Figure 11. Pin input voltage
0&8SLQ 0&8SLQ
& S) 9,1
069 069
9%$7
%DFNXSFLUFXLWU\
3RZHU
±9 /6(57&
VZLWFK
:DNHXSORJLF
%DFNXSUHJLVWHUV
287
/HYHOVKLIWHU
*3,2V ,2ORJLF
,1 .HUQHOORJLF
&38
GLJLWDO
9'' PHPRULHV
[9''
5HJXODWRU
[Q)
[) [966
9''$
9''$
95()
$QDORJ5&V
Q) Q) 95() $'&'$& 3//FRPSDUDWRUV23$03
) )
95()
966$
069
1. Dotted lines represent the internal connections on low pin count packages, joining the dedicated supply
pins.
Caution: Each power supply pair (VDD/VSS, VDDA/VSSA etc.) must be decoupled with filtering ceramic
capacitors as shown above. These capacitors must be placed as close as possible to, or
below the appropriate pins on the underside of the PCB to ensure the good functionality of
the device.
)$$
6$$
)$$!
6$$!
-36
ΣIVDD Total current into sum of all VDD_x power lines (source) 160
ΣIVSS Total current out of sum of all VSS_x ground lines (sink) -160
(1)
IVDD Maximum current into each VDD_x power line (source) 100
IVSS Maximum current out of each VSS _x ground line (sink)(1) 100
Output current sunk by any I/O and control pin 25
IIO(PIN)
Output current source by any I/O and control pin -25
mA
(2)
Total output current sunk by sum of all IOs and control pins 80
ΣIIO(PIN)
Total output current sourced by sum of all IOs and control pins(2) -80
Injected current on FT, FTf, and B pins(3) -5/+0
IINJ(PIN) Injected current on TC and RST pin(4) ±5
(5)
Injected current on TTa pins ±5
ΣIINJ(PIN) Total injected current (sum of all I/O and control pins)(6) ±25
1. All main power (VDD, VDDA) and ground (VSS and VSSA) pins must always be connected to the external power supply, in the
permitted range.
2. This current consumption must be correctly distributed over all I/Os and control pins.The total output current must not be
sunk/sourced between two consecutive power supply pins referring to high pin count LQFP packages.
3. Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum
value.
4. A positive injection is induced by VIN > VDD while a negative injection is induced by VIN< VSS. IINJ(PIN) must never be
exceeded. Refer to Table 16: Voltage characteristics for the maximum allowed input voltage values.
5. A positive injection is induced by VIN > VDDA while a negative injection is induced by VIN< VSS. IINJ(PIN) must never be
exceeded. Refer also to Table 16: Voltage characteristics for the maximum allowed input voltage values. Negative injection
disturbs the analog performance of the device. See note (2) below Table 81.
6. When several inputs are submitted to a current injection, the maximum ΣIINJ(PIN) is the absolute sum of the positive and
negative injected currents (instantaneous values).
All Run-mode current consumption measurements given in this section are performed with a
reduced code that gives a consumption equivalent to CoreMark code.
Note: The total current consumption is the sum of IDD and IDDA.
Table 25. Typical and maximum current consumption from VDD supply at VDD = 3.6V
All peripherals enabled All peripherals disabled
Supply 64 MHz 59.6 66.2 67.6 68.4 29.3 33.1 33.9 34.4
current in External 48 MHz 47.0 53.4 53.6 54.9 22.4 25.6 26.2 27.2
IDD Run mode, clock (HSE
executing bypass) 32 MHz 33.0 36.6 37.2 38.1 16.0 19.0 19.5 20.4
from RAM 24 MHz 25.6 29.0 29.5 30.6 12.8 15.7 16.3 17.6
8 MHz 10.3 13.4 13.8 14.7 6.40 9.48 9.93 10.90
Table 25. Typical and maximum current consumption from VDD supply at VDD = 3.6V (continued)
All peripherals enabled All peripherals disabled
External
clock (HSE 1 MHz 3.92 7.06 7.54 8.60 3.42 6.53 7.05 8.10
bypass)
Supply
current in 64 MHz 55.4 59.2 62.5 62.9 29.1 32.7 34.0 34.6
IDD Run mode, 48 MHz 43.1 46.7 49.0 49.9 22.8 26.1 26.8 27.8
executing Internal
from RAM 32 MHz 30.5 33.2 35.0 35.5 15.8 18.8 19.5 20.9
clock (HSI)
24 MHz 23.8 27.8 27.9 29.2 12.6 15.6 16.3 17.5
8 MHz 9.85 13.1 14.1 14.6 6.20 9.37 10.3 10.7
(2)
72 MHz 48.8 53.5 53.6 54.0(2) 7.60 8.20(2) 8.50 9.00(2)
64 MHz 43.5 48.6 49.1 49.3 6.90 7.50 7.80 8.00
48 MHz 33.6 38.1 40.0 41.3 5.30 5.80 6.00 6.40 mA
External
clock (HSE 32 MHz 24.3 27.5 28.1 29.3 3.80 4.10 4.40 4.70
Supply bypass)
current in 24 MHz 18.6 21.9 22.4 22.6 2.90 3.30 3.40 3.90
Sleep 8 MHz 8.24 11.27 11.79 12.70 1.36 1.74 1.85 2.00
IDD mode,
executing 1 MHz 3.64 6.72 7.36 8.30 0.79 1.17 1.26 1.35
from Flash 64 MHz 39.7 43.9 45.5 45.8 6.70 7.30 7.40 7.70
or RAM
48 MHz 30.4 33.9 35.3 36.5 5.10 5.60 5.70 6.10
Internal
32 MHz 21.9 25.8 26.2 26.7 3.60 4.10 4.20 4.50
clock (HSI)
24 MHz 17.0 20.2 21.5 21.7 2.98 3.41 3.46 3.57
8 MHz 7.81 11.0 11.7 12.4 1.41 1.74 1.81 1.87
1. Data based on characterization results, not tested in production unless otherwise specified.
2. Data based on characterization results and tested in production with code executing from RAM.
Table 26. Typical and maximum current consumption from the VDDA supply
VDDA = 2.4 V VDDA = 3.6 V
Conditions
Symbol Parameter (1) fHCLK Max @ TA(2) Max @ TA(2) Unit
Typ Typ
25 °C 85 °C 105 °C 25 °C 85 °C 105 °C
Table 26. Typical and maximum current consumption from the VDDA supply (continued)
VDDA = 2.4 V VDDA = 3.6 V
Conditions
Symbol Parameter (1) fHCLK Max @ TA(2) Max @ TA(2) Unit
Typ Typ
25 °C 85 °C 105 °C 25 °C 85 °C 105 °C
HSE
1 MHz 1.9 3.1 3.6 4.4 2.5 3.7 4.4 5.5
Supply bypass
current in 64 MHz 266 290 301 306 295 320 335 341
Run mode,
IDDA code 48 MHz 216 237 247 251 240 262 274 279 µA
executing HSI clock 32 MHz 170 188 196 199 190 208 217 221
from Flash
or RAM 24 MHz 148 164 170 172 166 182 189 192
8 MHz 70 78 81 82 84 92 95 97
1. Current consumption from the VDDA supply is independent of whether the peripherals are on or off. Furthermore when the
PLL is off, IDDA is independent from the frequency.
2. Data based on characterization results, not tested in production.
Table 27. Typical and maximum VDD consumption in Stop and Standby modes
Typ @VDD (VDD=VDDA) Max
Symbol Parameter Conditions Unit
TA = TA = TA =
2.0 V 2.4 V 2.7 V 3.0 V 3.3 V 3.6 V
25 °C 85 °C 105 °C
Table 28. Typical and maximum VDDA consumption in Stop and Standby modes
Typ @VDD (VDD = VDDA) Max(1)
Symbol Parameter Conditions Unit
TA = TA = TA =
2.0 V 2.4 V 2.7 V 3.0 V 3.3 V 3.6 V
25 °C 85 °C 105 °C
Table 29. Typical and maximum current consumption from VBAT supply
Max
Typ @VBAT
@VBAT = 3.6 V(2)
Para Conditions
Symbol (1) Unit
meter
T = TA = TA =
1.65V 1.8V 2V 2.4V 2.7V 3V 3.3V 3.6V A
25°C 85°C 105°C
Figure 14. Typical VBAT current consumption (LSE and RTC ON/LSEDRV[1:0] 00’)
6
6
6
6"!4 !
6
6
)
6
6
6
# # # #
4! #
-36
Table 30. Typical current consumption in Run mode, code with data processing running
from Flash
Typ
Symbol Parameter Conditions fHCLK Peripherals Peripherals Unit
enabled disabled
72 MHz 60.7 27.3
64 MHz 54.3 24.1
48 MHz 42.1 19.4
32 MHz 28.7 13.9
24 MHz 22.2 11.0
Supply current in 16 MHz 15.4 7.9
IDD Run mode from mA
VDD supply 8 MHz 8.3 4.51
4 MHz 5.14 3.02
2 MHz 3.37 2.21
1 MHz 2.49 1.80
500 kHz 2.04 1.57
Running from HSE
crystal clock 8 MHz, 125 kHz 1.71 0.84
code executing from 72 MHz 239.7
Flash
64 MHz 210.5
48 MHz 155.6
32 MHz 105.5
24 MHz 81.9
Supply current in 16 MHz 58.6
IDDA(1) (2) Run mode from µA
VDDA supply 8 MHz 1.16
4 MHz 1.16
2 MHz 1.16
1 MHz 1.16
500 kHz 1.16
125 kHz 1.16
1. VDDA supervisor is OFF.
2. When peripherals are enabled, the power consumption of the analog part of peripherals such as ADC, DAC, Comparators,
OpAmp is not included. Refer to the tables of characteristics in the subsequent sections.
Table 31. Typical current consumption in Sleep mode, code running from Flash or RAM
Typ
Symbol Parameter Conditions fHCLK Peripherals Peripherals Unit
enabled disabled
72 MHz 43.0 7.4
64 MHz 38.3 6.8
48 MHz 29.0 5.29
32 MHz 19.7 3.91
24 MHz 15.2 3.19
Supply current in 16 MHz 10.8 2.46
IDD Sleep mode from mA
VDD supply 8 MHz 5.85 1.55
4 MHz 3.80 1.45
2 MHz 2.67 1.32
1 MHz 2.12 1.22
500 kHz 1.83 1.19
Running from HSE
crystal clock 8 MHz, 125 kHz 1.60 0.83
code executing from 72 MHz 239.7
Flash or RAM
64 MHz 210.5
48 MHz 155.6
32 MHz 105.5
24 MHz 81.9
Supply current in 16 MHz 58.6
IDDA(1) (2) Sleep mode from µA
VDDA supply 8 MHz 1.16
4 MHz 1.16
2 MHz 1.16
1 MHz 1.16
500 kHz 1.16
125 kHz 1.16
1. VDDA supervisor is OFF.
2. When peripherals are enabled, the power consumption of the analog part of peripherals such as ADC, DAC, Comparators,
OpAmp is not included. Refer to the tables of characteristics in the subsequent sections.
I SW = V DD × f SW × C
where:
ISW is the current sunk by a switching I/O to charge/discharge the capacitive load
VDD is the MCU supply voltage
fSW is the I/O switching frequency
C is the total capacitance seen by the I/O pin: C = CINT+ CEXT+CS
The test pin is configured in push-pull output mode and is toggled by software at a fixed
frequency.
2 MHz 0.90
4 MHz 0.93
VDD = 3.3 V 8 MHz 1.16
Cext = 0 pF
C = CINT + CEXT+ CS 18 MHz 1.60
36 MHz 2.51
48 MHz 2.97
2 MHz 0.93
4 MHz 1.06
VDD = 3.3 V 8 MHz 1.47
Cext = 10 pF
C = CINT + CEXT +CS 18 MHz 2.26
36 MHz 3.39
48 MHz 5.99
2 MHz 1.03
I/O current
ISW 4 MHz 1.30 mA
consumption VDD = 3.3 V
Cext = 22 pF 8 MHz 1.79
C = CINT + CEXT +CS
18 MHz 3.01
36 MHz 5.99
2 MHz 1.10
4 MHz 1.31
VDD = 3.3 V
Cext = 33 pF 8 MHz 2.06
C = CINT + CEXT+ CS
18 MHz 3.47
36 MHz 8.35
2 MHz 1.20
4 MHz 1.54
VDD = 3.3 V
Cext = 47 pF 8 MHz 2.46
C = CINT + CEXT+ CS
18 MHz 4.51
36 MHz 9.98
1. CS = 5 pF (estimated value).
Regulator in
5.4 5.2 5.2 5.1 5.0 4.9 5.6
run mode
Wakeup from
tWUSTOP Regulator in
Stop mode
low power 12.0 10.1 9.2 8.6 8.1 7.8 12.9
µs
mode
Wakeup from
LSI and
tWUSTANDBY(1) Standby 91.0 77.1 71.7 68.0 65.1 63.1 139
IWDG OFF
mode
CPU
Wakeup from
tWUSLEEP - 6 - clock
Sleep mode
cycles
1. Data based on characterization results, not tested in production.
WZ+6(+
9+6(+
9+6(/
WU+6( W
WI+6( WZ+6(/
7+6(
069
WZ/6(+
9/6(+
9/6(/
WU/6( W
WI/6( WZ/6(/
7/6(
069
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the
5 pF to 25 pF range (Typ.), designed for high-frequency applications, and selected to match
the requirements of the crystal or resonator (see Figure 17). 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. PCB and MCU pin capacitance must be included (10 pF
can be used as a rough estimate of the combined pin and board capacitance) when sizing
CL1 and CL2.
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
5HVRQDWRUZLWKLQWHJUDWHG
FDSDFLWRUV
&/
26&B,1 I+6(
%LDV
0+] FRQWUROOHG
UHVRQDWRU 5) JDLQ
5(;7 26&B287
&/
069
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
5HVRQDWRUZLWKLQWHJUDWHG
FDSDFLWRUV
&/
26&B,1 I/6(
N+] 'ULYH
UHVRQDWRU SURJUDPPDEOH
DPSOLILHU
26&B287
&/
069
Note: An external resistor is not required between OSC32_IN and OSC32_OUT and it is forbidden
to add one.
Figure 19. HSI oscillator accuracy characterization results for soldered parts
."9
.*/
5<$>
"
069
&-#?.%
&-#?./%
&-#?.7%
TV!?.% T H!?./%
&-#?!;= !DDRESS
TV",?.% T H",?./%
&-#?.",;=
T H$ATA?.%
T SU$ATA?./% TH$ATA?./%
T SU$ATA?.%
&-#?$;= $ATA
T V.!$6?.%
TW.!$6
&-#?.!$6
&-#?.7!)4
TH.%?.7!)4
TSU.7!)4?.%
-36
TW.%
&-#?.%X
&-#?./%
TV.7%?.% TW.7% T H.%?.7%
&-#?.7%
TV!?.% TH!?.7%
&-#?!;= !DDRESS
TV",?.% TH",?.7%
&-#?.",;= .",
TV$ATA?.% TH$ATA?.7%
&-#?$;= $ATA
T V.!$6?.%
TW.!$6
&-#?.!$6
&-#?.7!)4
TH.%?.7!)4
TSU.7!)4?.%
-36
&-#? .%
TV./%?.% T H.%?./%
&-#?./%
T W./%
&-#?.7%
TV!?.% TH!?./%
T V.!$6?.% TH!$?.!$6
TW.!$6
&-#?.!$6
&-#?.7!)4
TH.%?.7!)4
TSU.7!)4?.%
-36
&-#? .%X
&-#?./%
TV.7%?.% TW.7% T H.%?.7%
&-#?.7%
TV!?.% TH!?.7%
T V.!$6?.% TH!$?.!$6
TW.!$6
&-#?.!$6
&-#?.7!)4
TH.%?.7!)4
TSU.7!)4?.%
-36
&-#?#,+
$ATA LATENCY
TD#,+,
.%X, TD#,+(
.%X(
&-#?.%X
T D#,+,
.!$6, TD#,+,
.!$6(
&-#?.!$6
TD#,+,
!6 TD#,+(
!)6
&-#?!;=
&-#?./%
TD#,+,
!$)6 TH#,+(
!$6
T D#,+,
!$6 TSU!$6
#,+( TSU!$6
#,+( TH#,+(
!$6
&-#?!$;= !$;= $ $
TSU.7!)46
#,+( TH#,+(
.7!)46
&-#?.7!)4
7!)4#&'