Professional Documents
Culture Documents
UM1472 User Manual
UM1472 User Manual
Introduction
The STM32F4DISCOVERY helps you to discover the STM32F407 & STM32F417 lines'
high-performance features and to develop your applications.
It is based on an STM32F407VGT6 and includes an ST-LINK/V2 embedded debug tool
interface, ST MEMS digital accelerometer, ST MEMS digital microphone, audio DAC with
integrated class D speaker driver, LEDs, pushbuttons and a USB OTG micro-AB connector.
Figure 1. STM32F4DISCOVERY
January 2014
DocID022256 Rev 4
1/42
www.st.co
m
Contents
1 Conventions........................................................................................................5
2 Quick start...........................................................................................................6
2.1 Getting started .......................................................................................................6
2.2 System requirements..............................................................................................6
2.3 Development toolchain supporting the STM32F4DISCOVERY...............................6
2.4 Order code.............................................................................................................. 6
3 Features...............................................................................................................7
4 Hardware and layout..........................................................................................8
4.1 STM32F407VGT6 microcontroller........................................................................ 11
4.2 Embedded ST-LINK/V2 ........................................................................................13
4.2.1
4.2.2
4.10.2
4.11
4.12
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
ON/OFF conventions............................................................................................................. 5
Jumper states...................................................................................................................... 13
Debug connector CN2 (SWD)............................................................................................. 15
Solder bridges..................................................................................................................... 20
MCU pin description versus board function ....................................................................... 21
Document revision history................................................................................................... 41
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
STM32F4DISCOVERY........................................................................................................ 1
Hardware block diagram ..................................................................................................... 8
Top layout ........................................................................................................................... 9
Bottom layout..................................................................................................................... 10
STM32F407VGT6 package............................................................................................... 11
STM32F407VGT6 block diagram .....................................................................................12
Typical configuration ......................................................................................................... 13
STM32F4DISCOVERY connections image.......................................................................14
ST-Link connections image................................................................................................15
STM32F4DISCOVERY mechanical drawing.....................................................................34
STM32F4DISCOVERY...................................................................................................... 35
ST-LINK/V2 (SWD only)..................................................................................................... 36
MCU................................................................................................................................ 37
Audio................................................................................................................................. 38
USB_OTG_FS................................................................................................................... 39
Peripherals......................................................................................................................... 40
1 Conventions
Table 1 provides the definition of some conventions used in the present document.
Table 1. ON/OFF conventions
Convention
Definition
Jumper JP1 ON
Jumper fitted
2 Quick start
The STM32F4DISCOVERY is a low-cost and easy-to-use development kit to quickly
evaluate and start a development with an STM32F4 high-performance microcontroller.
Before installing and using the product, please accept the Evaluation Product License
Agreement from www.st.com/stm32f4-discovery.
For more information on the STM32F4DISCOVERY and for demonstration software, visit
www.st.com/stm32f4-discovery.
2.1Getting started
Follow the sequence below to configure the STM32F4DISCOVERY board and launch the
DISCOVER application:
1. Check jumper position on the board, JP1 on, CN3 on (DISCOVERY selected).
2. Connect the STM32F4DISCOVERY board to a PC with a USB cable type A to mini-B
through USB connector CN1 to power the board. Red LED LD2 (PWR) then lights up.
3. Four LEDs between B1 and B2 buttons are blinking.
4. Press user button B1 to enable the ST MEMS sensor, move the board and observe
the four LEDs blinking according to the motion direction and speed. (If you connect a
second USB cable type A to micro-B between PC and CN5 connector then the board
is recognized as standard mouse and its motion will also control the PC cursor).
5. To study or modify the DISCOVER project related to this demo, visit
www.st.com/stm32f4-discovery and follow the tutorial.
6. Discover the STM32F4 features, download and execute programs proposed in the list
of projects.
7. Develop your own application using available examples.
2.2System requirements
2.4Order code
To order the STM32F4 high-performance discovery board, use the order code
STM32F4DISCOVERY.
3 Features
The STM32F4DISCOVERY offers the following features:
On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone STLINK/V2 (with SWD connector for programming and debugging)
Board power supply: through USB bus or from an external 5V supply voltage
Eight LEDs:
LD1 (red/green) for USB communication
LD2 (red) for 3.3V power on
Four user LEDs, LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue)
2 USB OTG LEDs LD7 (green) VBus and LD8 (red) over-current
Extension header for LQFP100 I/Os for quick connection to prototyping board and
easy probing
MS30007V2
ST-LINK/V2
LD1 (red/green LED)
COM
CN2
SWD connector'
cnI I
'[ ]- - - , n,,...-
! MB997C
- I ; -------------
iwww.st.com/stm32f4-discovery
i f - y ^ X s
g _ * ...............
GND
JP1
IQQ measurement
VDD
GND
PCIPC3
PA1
PA 3
STM32F407VGT6
PA
5
GND VDD
PC2 79**
'
PAO PA 2
PA
PE4 PE2
B1 user button
...
User
User
PE9
VDD
PB7
PI
11 PD8>". * ** SBc;i 1|
GND
..
Lfl
PB15
PD9
PD11
PD12
PD1
GND
Note:
016
*uuu *
PB5
C5J
LD3
(orange LED)
PB9
II jj1
PE14
PB12 PB14
5p
GND
PE7
. SB1 (B2-RESET)
-PEI
PA 7
PE12
PC15
PE3
PB2
PE10
3V power
supply output
PH1
PE5
PBO
PB1
3'
PC13
PC4
PC5
5V power supply
input/output
GND
^5V
PHO
3V
PC1
< PE6
NRST PCO
s:
---------- ^
"
PD7
PB3
PD5
PDC
PD3
PD4
PD1
PD2
PC1
PDO
PCK
PC1
PA14
PA1
PA10
PA8
CO
PA1
J
PA
PC8
PC9
PC6
PC7
GNL
B2 reset button
4.1
STM32F407VGT6 microcontroller
This ARM Cortex-M4 32-bit MCU with FPU has 210 DMIPS, up to 1 MB Flash/192+4 KB
RAM, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 comm. interfaces and a camera.
Figure 5. STM32F407VGT6 package
168 MHz/210 DMIPS Cortex-M4 with single cycle DSP MAC and floating point unit
providing:
Boosted execution of control algorithms
More features possible for your applications
Ease of use
Better code efficiency
Faster time to market
Elimination of scaling and saturation
Easier support for meta-language tools
Designed for high performance and ultra fast data transfers; ART Accelerator, 32-bit,
7- layer AHB bus matrix with 7 masters and 8 slaves including 2 blocks of SRAM, Multi
DMA controllers: 2 general purpose, 1 for USB HS, 1 for Ethernet, One SRAM block
dedicated to the core, providing performance equivalent to 0-wait execution from Flash
Concurrent execution and data transfers and simplified resource allocation
Outstanding power efficiency; Ultra-low dynamic power, RTC <1 pA typical in VBAT
mode, 3.6 V down to 1.7 V VDD, Voltage regulator with power scaling capability,
providing extra flexibility to reduce power consumption for applications requiring both
high processing and low power performance when running at low voltage or on a
rechargeable battery
Maximum integration: Up to 1 Mbyte of on-chip Flash memory, 192 Kbytes of SRAM,
reset circuit, internal RCs, PLLs, WLCSP package available, providing more features
in space constrained applications
Superior and innovative peripherals providing new possibilities to connect and
communicate high speed data and more precision due to high resolution
Extensive tools and software solutions providing a wide choice within the STM32
ecosystem to develop your applications.
MPU
NVIC
D-BUS :
ETM
Ethernet MAC
10/100
USB
OTG HS
DP, DM .
ULPI: CK, D(7:0), DIR, STP, NXT s
SCL/SDA, ININ' ID, VBUS, SOF
DMA/
FIFO
SRAM
DMA/
FIFO :
112
Ll
_
Ll
KB
SRAM 16 KB
FIcFC
LL
LL
8 Streams
DMA1
Flash 1
up to 1MB
1
C
^=>c
ams : :
8 Slreamsl)
DMA2
CLK,NE[3:0], A[23:0]
D[31:0], OEN, WEN,
NBL[3:0], NL, NREG
NWAIT/IORDY, CD NIORD,
IOWR, INT[2:3]
INTN,NIIS16asAF
S-BUS
Mil or RMIIasAR
MDIOasAFP
External memory
controller (FSMC) SRAM,
PSRAM, NOR FIash, PC
Card (ATA), NAND Flash
klHBU
FIFC
RNG
Camera
interface
[HSYNC,VSYNC
1
PIXCLK, D[13:0]
ss
CAP1, VCAP2
GPIO PORT B
PC[15:0]<
GPIO PORT c
PD [15:0] <
GPIO PORT D
PE[15:0]<
GPIO PORT E
PF[15:0]<
PG[15:0]<
PH[15:0]<
Pl[11:0]<
POI
if
Rest
GPIO PORTA
t RCLS
Int
PLL1&2
@VD
D
Supply
supervision
POR/PDR/
BOR
PV
D
@VDDA @VDD
standby
Interface
B
!
X I 0
I IX
GPIO PORTH
44>
GPIO PORT I
RTC
TIM2
n
n
RTC_AF1
RTC_AF1
AWU
a
s
TIM4 16b
JMA
1
A
0
AHB/APB2
140 AF
D[7:j
CMD, CKasAFj
SDIO/MMC
40
AHB/APB1
TIM8/PWM
TIM9
1 channel as AF
TIM13
16b
TIM14 16b
40
1
6
5
<=
>
<^
>
smcard
irD
A
smcard
irDA
USART 1
USART 6
40
40
UART4
UART5
SPI2/I2S2
el
C4
>
40
<=
SPI3/I2S3
TIM6 16b
>
TIM7 16b
40
c=!
>
<=
remperature sensor N >
@vDDA
>
I2C1/SMBUS
I2C2/SMBUS
VDDA
DDREF_ADC
c=!
>
SPI1
V
TIM5 32b
TIM12 160
TIM1 /PWM
2channels asAF
1 channel as AF
RX, TX, CK,
CTS, RTS asAF
RX, TX,CK,
CTS, RTS as AF
MOSI, MISO
SCK, NSS as AF
<=
>
el
s
32b
16b
TIM3 l0U
DMA
2
TIT
GPIO PORT G
>
XTAL osc
4-16 MHz
Reset &
clock
control
GPIO PORT F
VSSA
> 4INRST
channels, ETR as AF
ADC 3
<=
DAC1
DAC2
M
DAC1_OUT
asAF
>
<^
>
ITF
DAC2_OUT
asAF
I2C3/SMBUS
40
bxCANI
40
bxCAN2
F
0
LL
LL
1 channel as AF
. RX, TX, CK,
'CTS, RTSasAF
>
R
X
,
T
X
,
C
K
'
C
T
S
,
R
T
S
a
s
A
F
> RX, TX as AF
> RX, TX as AF
> MOSI/SD, M ISO/SD_ext, SCK/CK
NSS/WS, MCK as AF
> MOSI/SD, M ISO/SD_ext, 3CK/CK
NSS/WS, MCK as AF
>SCL,
SDA,
SMBAasAF
4.2
Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the
STM32F4DISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways
according to the jumper states (see Table 2):
Description
Hardware requirements:
ST-LINK/V2 functions enabled for
board
- on
USB
cableprogramming
type A to mini-B(default)
computer with Windows XP,
ST-LINK/V2 functions enabled for application
Vista or 7 through external CN2
Development toolchain:
Altium, TASKING VX-Toolset,
Atollic, TrueSTUDIO
IAR, EWARM Keil,
MDK-ARM
4.2.1
To program the STM32F4 on board, simply plug in the two jumpers on CN3, as shown in
Figure 8 in red, but do not use the CN2 connector as that could disturb communication with
the STM32F407VGT6 of the STM32F4DISCOVERY.
Figure 8. STM32F4DISCOVERY connections image
4.2.2
Note:
CN2
Designation
VDD_TARGET
SWCLK
GND
SWD clock
Ground
SWDIO
NRST
SWO
Reserved
4.3
5V and 3V can be used as output power supplies when another application board is
connected to pins P1 and P2.
In this case, the 5V and 3V pins deliver a 5V or 3V power supply and power
consumption must be lower than 100 mA.
4.4
5V can also be used as input power supplies e.g. when the USB connector is not
connected to the PC.
In this case, the STM32F4DISCOVERY board must be powered by a power supply
unit or by auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009,
and must be Safety Extra Low Voltage (SELV) with limited power capability.
LEDs
LD1 COM: LD1 default status is red. LD1 turns to green to indicate that
communications are in progress between the PC and the ST-LINK/V2.
User LD3: orange LED is a user LED connected to the I/O PD13 of the
STM32F407VGT6.
User LD4: green LED is a user LED connected to the I/O PD12 of the
STM32F407VGT6.
User LD5: red LED is a user LED connected to the I/O PD14 of the
STM32F407VGT6.
User LD6: blue LED is a user LED connected to the I/O PD15 of the
STM32F407VGT6.
USB LD7: green LED indicates when VBUS is present on CN5 and is connected to
PA9 of the STM32F407VGT6.
USB LD8: red LED indicates an overcurrent from VBUS of CN5 and is connected to
the I/O PD5 of the STM32F407VGT6.
4.5
Pushbuttons
4.6
B1 USER: User and Wake-Up button connected to the I/O PA0 of the
STM32F407VGT6.
B2 RESET: Pushbutton connected to NRST is used to RESET the STM32F407VGT6.
The STM32F4 uses an audio DAC (CS43L22) to output sounds through the audio mini jack
connector.
The STM32F4 controls the audio DAC through the I2C interface and processes digital
signals through I2S connection or analog input signal.
4.7
4.8
4.9
JP1 (Idd)
MCO from ST-LINK. From MCO of the STM32F103. This frequency cannot be
changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of the STM32F407VGT6.
Configuration needed:
SB13, SB14 OPEN
R25a removed
R68(a) soldered
Oscillator onboard. From X2 crystal. For typical frequencies and its capacitors and
resistors, please refer to the STM32F407VGT6 Datasheet. Configuration needed:
SB13, SB14 OPEN
R25(a) soldered
R68(a) removed
Oscillator from external PH0. From external oscillator through pin 7 of the P2
connector. Configuration needed:
SB13closed
SB14 closed
R25 and R68 removed
Oscillator from external PC14. From external oscillator trough the pin 9 of P2
connector. Configuration needed:
SB16 closed
SB15 closed
R21 and R22 removed
a As the frequency supplied by X2 is the same as MCO (8 MHz) R25 and R68 are soldered.
State(1)
OFF
Description
X2, C14, C15, R24 and R25 provide a clock. PH0, PH1 are disconnected from P2.
ON
PH0, PH1 are connected to P2 (R24, R25 and R68 must not be fitted).
SB3,5,7,9 (Default)
ON
SB2,4,6,8 (Reserved)
OFF
OFF
X3, C16, C27, R21 and R22 deliver a 32 KHz clock. PC14, PC15 are not
connected to P2.
ON
PC14, PC15 are only connected to P2. Remove only R21, R22
ON
OFF
ON
OFF
OFF
ON
ON
NRST signal of the CN2 connector is connected to the NRST pin of the
STM32F407VGT6 MCU.
OFF
NRST signal of the CN2 connector is not connected to the NRST pin of the
STM32F407VGT6 MCU.
ON
OFF
OFF
ON
ON
BOOT0 signal of the STM32F407VGT6 MCU is held low through a 510 ohm pulldown resistor.
OFF
OFF
The BOOT1 signal of the STM32F407VGT6 MCU is held high through a 10 Kohm
pull-up resistor.
The BOOT1 signal of the STM32F407VGT6 MCU is held low through a 510 ohm
pull-down resistor.
SB1
(B2-RESET)
SB20
(B1-USER)
SB17
(VDD powered from
3v)
SB11 (NRST)
SB12 (SWO)
SB18 (BOOT0)
SB19 (BOOT1)
ON
14
"b
o
o
)
K
OJ
n
IS5
-
ho
"0
|~
D
H
-oro
)
-
CO
ro
D
1
"0
l~
w
IT
O'
c
s
o
m
-
o
w
o
Tl
<D
a>
PA3
PA1
PA4
PA2
PA5
PA6
PA7
"0
1
z
(D
-
-t
l\i
12
*<
)
CO
USART2
26
USART2 RTS/
RX/
USART4_RX/
TIM5 CH4/
ETH
TIM9RMII
CH2/REF CLK/ ETH 24
MII
RX
CLK/ TIM5 CH2/
TIM2 CH4/
TIMM2
OTG HSCH2/
ULPI D0/ ETH
ADC123_IN1
MII COL/ ADC123_IN3
USART2_TX/ TIM5 CH3/
TIM9
CH1/ SPI3_NSS/
TIM2 CH3/
29
SPI1 NSS/
ETH_MDIO/
USART2
CK/ADC123
DCMI IN2
25
HSYNC/ OTG HS SOF/
I2S3_WS/ ADC12 IN4/
DAC1_OUT
13
11
16
IZI
14
SPI1 SCK/
OTG HS ULPI CK/ TIM2
CH1 ETR/ TIM8 CHIN/
ADC12 IN5/ DAC2_OUT
30
31
SPI1 MOSI/
TIM8 CH1N/
TIM14 CH1TIM3 CH2/
ETH MIIRX DV/
TIM1 CH1N/
RMII CRS DV/
ADC12 IN7
21"0
ro
"0
01
D
D
USER
PA0WKUP
"0
ro
(/>
-t
CN2
~n
CN5
94
o
Power supply
Alternate
functions
"0
Board function
NRST
NRST
VPP
RESET
Main
BOOT0
function
Free I/O
MCU pin
OSC
USB
SWD
LED
Pushbutton
LIS302DL or LIS3DSH
MP45DT02
CS43L22
Alternate
functions
LQFP100
Main
function
Board function
n'
55
TI
15
18
17
3
D
o
32
3
D
55
D
o
Board function
|~
)
CO
Main
function
Alternate
functions
~n
"d
o
o
o
)
K
OJ
n
ho
ho
"0
1
D
H
o
ro
ro
D
1
w
IT
O'
l~
)
CO
"0
"0
c
s
o
l~
m
D
w
s
D
o
w
o
"n
-t
<D
a>
o
$
(D 1
z
w 01
c
D
D
<
o
z
Is)
o "0
z
l\i
"0
ro
43
"0 1
z
o 01
$
(D
to
c
D
D
<
D
)
"0 "0 ro
Main
function
PA8
Alternate
functions
MCO1/ USART1 CK/
TIM1 CH1/ I2C3 SCL/
OTG_FS_SOF
~n
"d
67
o
o
o
)
K
OJ
n
IS
5
ho
"0 |~
"0
) c
1 CO
to
IT
D
o
H ro O'c
o
s
ro D
1 o
D
o
l~
m
D
Board function
w
s
D
c
C
O
o
w
o
"n
-t
<D
a>
-t
PA9
PA10
PB0
PA11
PB1
PA12
68
69
35
TIM3 CH3/
TIM8 CH2N/
USART1
CTS/ D1/
CAN1
RX/
OTG
HS ULPI
ETH
70
TIM1
CH4/ TIM1
OTG_FS_DM
MII
RXD2/
CH2N/
ADC12_IN8
1
)
CO
D
)
m
m
<
CD
c
44
41
22
D
s
T)
21
-
42
2 24-
39-
28
PA1 3
USART1
RTS/ CAN1 TX/ 36
TIM3
CH4/
71
TIM1 CH3N/
ETR/ OTG_FS_DP
TIM8
OTG HS ULPI D2/ ETH
MII RXD3/ OTG HS INTN/
TIM1
CH3N/ ADC12_IN9 72
JTMS-SWDIO
PB2
PA1 4
JTCK-SWCLK
37
76
PB3
JTDO/
JTDI/
TRACESWO/
SPI3 SCK/
SPI3_NSS/
I2S3 CK/ TIM2 CH2/
I2S3 WS/
SPI1_SCK
TIM2 CH1 ETR/ SPI1
NSS
89
77
40
90
25
91
26
PA15
PB4
PB5
3
D
o
3
n'
7s
3
Board function
Main
function
Alternate
functions
~n
"d
o
o
o
)
K
OJ
n
IS
5
ho
"0
1
D
H
o
ro
1
)
CO
o
ro "0
D
c
1 =rto
o
oc
-t
s
1 o
) D
l~
m
D
s
D
c
w
C
O
o
w
o
"n
-t
<D
a>
CO
D
)
35
3
D
>
o
n'
7s
"0
ro
23"0
ro
24
CN2
CS43L22
PB10
PB13
CN5
51
SPI2 NSS/ I2S2_WS/
96
SPI2_NSS/
I2C2 SMBA/I2S2 WS/
TIM4
CH4/ TIM11 CH1/
USART3_CK/
OTG_FS_SDA/
SDIO D5/
TIM1 BKIN/ CAN2_RX/
DCMI
D7/
OTG_HS_ULPI_D5/ ETH
I2C1
RMII SDA/
TXD0/CAN1_TX
ETH MII
TXD0/ OTG_HS_ID
Power supply
PB12
PB9
Free I/O
95
48
OSC
USB
PB8
PB11
o
z "0
Is)
(D 1
z
to 01
c
D
D
<
Board function
SWD
93
LED
Pushbutton
PB7
"0
LIS302DL or LIS3DSH
92
MP45DT02
I2C1 SCL/
Alternate
functions
TIM4 CH1/
CAN2 TX/
OTG FS INTN/ DCMI D5/
USART1_TX
LQFP100
PB6
Main
function
3
o
n'
"0
o
19
-
36
20
34
37
38
PB14
SPI2 MISO/
TIM1 CH2N/
TIM12 CH1/
OTG HS DMUSART3
_RTS/
TIM8 CH2N/
I2S2ext SD
53
Board function
l~
)
o
ro
"0
"0 D
c
w
1
1
IT
o O'
D
c
H
s
o -t
ro 1 o
) D
CO
Main
function
Tl
"d
o
o
Alternate
functions
)
K
CJ
n
IS
5
ho
l~
m
D
w
s
D
c
w
ro
"n
-t
<D
a>
CO
"0
o
$
o
z
l\i
(D 1
z
w 01
c
D
D
<
"0
ro
"0
D (continued)
Table 5. MCU pin
description
versus
board function
Table
5. MCU pin
description
versus
) board function (continued)
(continued)
MCU
pin
Board
function Board function
MCU
pin
Table 5. MCU pin
Table
description
5. MCU
MCU pin
pin
versus
description
board function
versus
board function
function
(continued)
Table
5.
description
versus
board
(continued)
1
D
H
o
CN2
CN2
CN2
CN2
"0
"0
ro
ino oso
--
--
--
--
57
-5
58-
--
--
--
--
59
38
60
39
40
61-
--
--
--
--
41
62-
--
--
--
--
42
97
43-
98
44
-
1- 45
--
--
462
12-
--
--
--
48
12 10
- 9 -
40
13
8
49
-
41
14
50
-
cn < 45
- cn10 9<
CO
<
GO
<
46 20 36-
42-
43
-
411
5
6
3
44
25
4
26
45-
22-
27
3
1
- 46
28
2
47
29
5
--
30
23-
17--
31
49
-
-18
29 -
32
50
15
VDD VDD VDD GND GND GND GND GND GND GND GND
GND GND
CN5
CN5
CN5
CN5
Power
Power
Power
Power
supply
supply
supply
supply
Free
Free
Free
Free
I/OI/O
I/O
I/O
CN2
OSC
OSC
OSC
OSC
CN5
- 33 19
-34
--
--
--
--
--
--
- 47 -31
--
--
--
--
--
35 - 30 -
33-
1-
--
--
--
--
--
--
---
--
2
167
37
32
-5
GND
PD7
CS_I2C/SPI
PD6
80 -
UART5_TX/
CK/
PE15- SDIOFSMC
D12/ TIM1_BKIN
3
TRACED0/
DCMI PE3
FSMC
D9/
NWAIT/
SPI3 MOSI/
87
D
I2S3 SD/ USART3_CK
USART2_RX
FSMC_A19
- z
PH0 OSC_IN
USART2 CK/
88
FSMC_NE1/
FSMC_NCE2
4 56
GND
PC12
RX D1/ ADC12_IN15
83
PE9
FSMC_D6/
TIM3 ETR/
TIM1_CH1
UART5
RXSDIO
CMD
/
PD14
FSMC_D0/
78
3
55
13-
=3
BLUE
PD5
ro
OverCurrent
PC11
39
"0 "0
ro
"0 "0
"0
ro ro
ro
"0 "0
RESET
PD4
"0
INT2
PC6
PD3
"0
INT1
PC10
RED
PD2
ORANGE RED
PD1
PC5
(D
USB
USB
USB
USB
Power
supply
PC9
PC4
PD0
SWD
SWD
SWD
SWD
Free
I/O
PC8
PC15
PC3
GREEN
OSC32_OUT
64FSMC
s A20/
PE4 TIM8 CH2/
I2S3 MCK/
TRACED1/
o
SPI2 MISO/
RTC_AF1
7
PD8
SDIO
D7/
USART6
RX/
PH1 OSC_OUT
DCMI_D4
FSMC D13/ USART3_TX
- n'
7s
OTG HS
DIR/ THMII
DCMI
D1/ULPI
TIM3_CH2
OSC32_IN
817
TXD2/ I2S2ext_SD/
PE5
PD9 TRACED2/
A21/
FSMC D14/ FSMC
USART3_RX
ADC123_IN12
TIM9 CH1/ DCMI_D6
D
PD10
FSMC D15/
65USART3_CK
SPI2
I2S2_SD/
o
TIM8 MOSI/
CH3/ SDIO
D0/
cOSC32_OUT
9 OTG
HS
ULPI
NXT/
ETH
TIM3 CH3/ USART6 CK/ 18
- A22/H
PE6
TRACED3/
FSMC
>
MII TXPD11
CLK/DCMI_D2
FSMC A16/ TIM9
CH2/
DCMI_D7
-fc.
ADC123_IN13 USART3_CTS
X
PD12
FSMC A17/ TIM4 CH1/
- D0/ ETH
66 ETHCKIN/
RMII RX
I2S
MCO2/
TIM8
USART3_RTS
33
81
PE7
FSMC_D4/
FSMC D0/
D2/ ADC12_IN14
CAN1_RX
MIIRX
CH4/ SDIO D1/ I2C3
TIM1_ETR
SDA/ DCMI- D3/
PD13
FSMC
A18/
TIM4_CH2
82
TIM3_CH4
PE8
FSMC_D5/
FSMC D3/ CAN1_TX
ETH RMII RX
ETH MII 34 - D1/TIM1_CH1N
TJ
OSC32_IN
PC7
PC13
LED
LED
LED
LED
OSC
to
c
D
D
<
Pushbutton
Pushbutton
Pushbutton
Pushbutton
USB
CO
D
)
l~
m
D
MP45DT02
MP45DT02
MP45DT02
MP45DT02
LED
1
)
CS43L22
CS43L22
CS43L22
CS43L22
Pushbutton
15
PC1
PC2
PC14
"0
|~
) c
to
CO
o =roro
c
D
s
1 o
D
o
LIS302DL
LIS302DL
LIS302DL
LIS302DL
or
LIS3DSH
or
or
orLIS3DSH
LIS3DSH
LIS3DSH
SWD
ro
MP45DT02
"0
-t
CS43L22
LQFP100
PC0
MCU pin
o
o
Alternate
)
~n
K
functions
Alternate
CJ
Alternate
"d
n
functions
IS5
functions
o
ho
o
54
LQFP100
LQFP100
LQFP100
LQFP100
LIS302DL
or LIS3DSH
PB15
MCU pin
Alternate
Main
functions
Alternate
Main
function
Main
functions
function
NI oso
Main
function
Main
function
38 -
27
5 Mechanical drawing
Figure 10. STM32F4DISCOVERY mechanical drawing
Electrical schematics
Figure 11. STM32F4DISCOVERY
tsi
1 Is
z
221
____
edffl
ai ai__________
*
c
if !
I
Jz
2 1*2
^
u 0
H'H'
</
>
o
p
'
p
o
.
+-
p
a>
o
to
9
<0
36
/4
2
Do
cl
D0
22
25
6
Re
v
4
El
ec
tri
ca
l
sc
he
m
ati
cs
U
M
14
72
(5
c
CD
ho
)
T:
ho
C/
>
t
a
o
3
U
M
14
72
El
ec
tri
ca
l
sc
he
m
ati
cs
Do
cl
D0
22
25
6
Re
v
4
37
/4
2
w
o
'E
o
1_
o
0)
o
o
OS
S'
Id
s;
I
U
M
14
72
El
ec
tri
ca
l
sc
he
m
ati
cs
Do
cl
D0
22
25
6
Re
v
4
39
/4
2
OTG FS
OverCurrent
OTG FS Powers
witch On
(Q
c
fD
Ol
c
w
ro
I
o
H
o
l_
Tl
VBUSFS
OTGFSD
M
OTGFSDP
OTG FS
ID
CO
iV/ Fitted
STMicroelectronics
T ,le:
STM32F4DISCOVERY USB_OTG_FS
NumberJWS9971 Rev:
C.1(PCB.SCH)| Date:5/24/2013
40
/4
2
Do
cl
D0
22
25
6
Re
v
4
El
ec
tri
ca
l
sc
he
m
ati
cs
U
M
14
72
VDD
3V
RESET Button
Reserve
d
SCL/SPC
VDDIO SDA/SDI/
VDD
SDO
SEL/SDO
PA5
PA7
EMT2
DMT1/D
RDY
PEI
PEO
NC
GND
GND
GND
GND
Reserve
d
MEMS
SPI1SCB
C
SPI1MOS
I
SPI1MIS
O cs
I2C/SPI
MEMS_I
NT2
MEMS
INTI
(Q
c
(S
<7
>
p
D
o
L
D k*2
5104
f
L
D
3
680L kf
D
6805
fk
L
D
6806 kf J
2
2
2
LEDs
STMicroelectronics
STM32F4DISCOVER Y Peripherals
Number
MB9971
Rev:
C.1(PCB.SCH)|
Date:5/24/2013
I Sheet6 of 6
7 Revision history
Table 6. Document revision history
Date
Revision
Changes
27-Sept-2011
Initial release.
30-Jan-2012
28-Nov-2013
29-Jan-2014
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 STS 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.
ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING,
ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C)
AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS
ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASERS SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN
WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE,
AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS
FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING
GOVERNMENTAL AGENCY.
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.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
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.