Sei sulla pagina 1di 42

January 2014 DocID022256 Rev 4 1/42

UM1472
User manual
Discovery kit for STM32F407/417 lines
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
1. Picture not contractual
www.st.com
Contents UM1472
2/42 DocID022256 Rev 4
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 Using ST-LINK/V2 to program/debug the STM32F4 on board . . . . . . . 14
4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 15
4.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6 On board audio capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7 USB OTG supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.8 Motion sensor (ST MEMS LIS302DL or LIS3DSH) . . . . . . . . . . . . . . . . . 17
4.9 JP1 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.10 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.10.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.10.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.11 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.12 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
DocID022256 Rev 4 3/42
UM1472 List of tables
3
List of tables
Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 2. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 3. Debug connector CN2 (SWD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 5. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 6. Document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
List of figures UM1472
4/42 DocID022256 Rev 4
List of figures
Figure 1. STM32F4DISCOVERY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. STM32F407VGT6 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. STM32F407VGT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. STM32F4DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. ST-Link connections image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 10. STM32F4DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 11. STM32F4DISCOVERY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 12. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 13. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 14. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 15. USB_OTG_FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 16. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
DocID022256 Rev 4 5/42
UM1472 Conventions
41
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
Jumper JP1 OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by solder
Solder bridge SBx OFF SBx connections left open
Quick start UM1472
6/42 DocID022256 Rev 4
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.1 Getting 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.2 System requirements
Windows PC (XP, Vista, 7)
USB type A to Mini-B USB cable
2.3 Development toolchain supporting the STM32F4DISCOVERY
Altium, TASKING VX-Toolset
Atollic TrueSTUDIO

IAR Embedded Workbench

for ARM (EWARM)


Keil, MDK-ARM
2.4 Order code
To order the STM32F4 high-performance discovery board, use the order code
STM32F4DISCOVERY.
DocID022256 Rev 4 7/42
UM1472 Features
41
3 Features
The STM32F4DISCOVERY offers the following features:
STM32F407VGT6 microcontroller featuring 1 MB of Flash memory, 192 KB of RAM in
an LQFP100 package
On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone
ST-LINK/V2 (with SWD connector for programming and debugging)
Board power supply: through USB bus or from an external 5V supply voltage
External application power supply: 3V and 5V
LIS302DL or LIS3DSH, ST MEMS motion sensor, 3-axis digital output accelerometer
MP45DT02, ST MEMS audio sensor, omnidirectional digital microphone
CS43L22, audio DAC with integrated class D speaker driver
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
Two pushbuttons (user and reset)
USB OTG with micro-AB connector
Extension header for LQFP100 I/Os for quick connection to prototyping board and easy
probing
Hardware and layout UM1472
8/42 DocID022256 Rev 4
4 Hardware and layout
The STM32F4DISCOVERY is designed around the STM32F407VGT6 microcontroller in a
100-pin LQFP package.
Figure 2 illustrates the connections between the STM32F407VGT6 and its peripherals (ST-
LINK/V2, pushbutton, LED, Audio DAC, USB, ST MEMS accelerometer, ST MEMS
microphone, and connectors).
Figure 3 and Figure 4 help you to locate these features on the STM32F4DISCOVERY.
Figure 2. Hardware block diagram
MS30007V2
CS43L22
B1
USER
/O
Mini
USB
LD3 to LD8
B2
RST
RESET
/O /O
H
e
a
d
e
r
H
e
a
d
e
r

S
W
D
LS302DL or
LS3DSH
Embedded
ST-LNK/V2
STM32F407VGT6
Micro-USB
MP45DT02
LED
Mini-Jack
DocID022256 Rev 4 9/42
UM1472 Hardware and layout
41
Figure 3. Top layout
Note: Pin 1 of CN2, CN3, JP1, P1 and P2 connectors are identified by a square.
P1
R17
R15
R
2
LD1
CN4
B1
R38
C
2
5
C50
C47
R35
C22
C
6
L1
R1
U7
C11
R65
R61
R19
CN1
C39
R20
LD7
C59
R47
R40
R54
R43
LD6
R57
C
4
8
C
4
6
U5
CN5
R52
R42
C15
C12
U6
C28
LD2
R45
R
6
3
R60
R
5
0
C
3
0
R14
R
6
4
U8
R56
R46
R
3
0
U9
R51
C5
R33
X3
D3
C3 C4
C
1
7
C
1
8
R16
R
1
3
JP1
R
3R
4
C
3
2
C
2
1
C
1
9
X1
C
2
0
R
5
C54
R
6
R62
C55
R
8
R53
X2
C
5
6
C51
C
4
2
R9
C
5
7
R55
LD3
R
2
6
C
8
R
4
9
C36
P
W
R
C49
C
2
9
D1
R37
R58
R
2
7
C
2
C58
R
2
8
U1
C
4
0
S
T
-
L

N
K
PD15
PD13
PB15
PB13
PE13
GND
PA5
PC1
CN2
NC
PD8
PE14
PB2
PA4
PC0
U3
R12
D2
C45
C43
C33
R34 R32
R23
R66
C
4
1
LD4
C38
R36
U4
R24 C
2
3
U2
C7
T1
C52
R44
LD5
R25
R22
R21
LD8
R41
B2
C16
R67
PC6
C60
PD3
PB6
C37
PE2
R
3
1
PH0 R29
CN3
P2
GND
PD9
PD11
PB11
PE15
PE11
PE9
PB1
PC5
PA7
PA3
PC3
PA1
VDD
GND
PD14
GND
PD12
PD10
PB12
PB10
PE12
PE10
PB0
PC4
PA6
PA2
PA0
PC2
GND
VDD
C13
C9
User
dd
C
3
1
R18
COM
R
3
9
C
3
4
C26
C14
C10
R
7
R48 C44
C24
R11 R10
R
5
9
SB1 C35
C27
C
1
GND
PC8
PA8
PD1
PD5
PD7
PB8
PE0
PE4
PE6
5V
GND
5V
PE7
GND
S
W
D
PE8
PB14
NRST
PB4
3V
D

S
C
O
V
E
R
Y
3V
C53
PA14
Reset
PC7
PA15
PD4
PB7
PE3
PH1
PA10
PC12
BOOT0
PC14
GND
PC9
PA13
PA9
PD0
PD2
PD6
PB3
VDD
PB9
PE1
PE5
PC13
PC15
GND
PC10
PB5
PC11
www.st.com/stm32f4-discovery
MB997C
MS30005V2
LD1 (red/green LED)
COM
CN2
SWD connector
JP1

DD
measurement
ST-LNK/V2
3V power
supply output
5V power
supply input/output
SB1 (B2-RESET)

STM32F407VGT6
B1 user button
B2 reset button
LD3
(orange LED)
(green LED) LD4
LD2 (red LED)
PWR
CN3
ST-LNK/DSCOVERY
selector

(blue LED) LD6
LD5 (red LED)
(green LED) LD7
LD8 (red LED)
Hardware and layout UM1472
10/42 DocID022256 Rev 4
Figure 4. Bottom layout
SB3, SB5, SB7, SB9
MS30004V1
SB2, SB4, SB6, SB8
(RESERVED)
(DEFAULT)
SB20 (B1-USER)
SB17 (VDD from 3V)
SB18 (BOOT0)
SB11 (NRST)
SB19 (BOOT1)
SB10 (STM_RST)
SB14 (X2 crystal)
SB15 (X3 crystal)
SB16 (X3 crystal)
SB13 (X2 crystal)
SB12 (SWO)
DocID022256 Rev 4 11/42
UM1472 Hardware and layout
41
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
This device provides the following benefits.
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 A 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.
MS30003V1
STM32F407VGT6
1 Mbyte of Flash memory
192 Kbytes of RAM
LQFP100 14 x 14 mm
Hardware and layout UM1472
12/42 DocID022256 Rev 4
Figure 6. STM32F407VGT6 block diagram
GPO PORT A
AHB/APB2
EXT T. WKUP 140 AF
PA[15:0]
GPO PORT B
PB[15:0]
TM1 / PWM
4 compl. channels (TM1_CH[1:4]N)
4 channels (TM1_CH[1:4]), ETR,
BKN as AF
TM8 / PWM
GPO PORT C
PC[15:0]
USART 1
RX, TX, CK,
CTS, RTS as AF
GPO PORT D
PD[15:0]
GPO PORT E
PE[15:0]
GPO PORT F
PF[15:0]
GPO PORT G
PG[15:0]
SP1
MOS, MSO
SCK, NSS as AF A
P
B
2

6
0
M
H
z
A
P
B
1

3
0
M
H
z
8 analog inputs common
to the 3 ADCs
8 analog inputs common
to the ADC1 & 2
V
DDREF_ADC
8 analog inputs to ADC3
4 channels, ETR as AF
4 channels, ETR as AF
4 channels, ETR as AF
4 channels, ETR as AF
RX, TX, CK,
USART2
RX, TX, CK
USART3
RX, TX as AF UART4
RX, TX as AF UART5
MOS/SD, MSO/SD_ext, SCK/CK
SP2/2S2
NSS/WS, MCK as AF
MOS/SD, MSO/SD_ext, SCK/CK
SP3/2S3
NSS/WS, MCK as AF
SCL, SDA, SMBA as AF 2C1/SMBUS
SCL, SDA, SMBA as AF 2C2/SMBUS
TX, RX bxCAN1
TX, RX bxCAN2
DAC1_OUT
as AF
DAC2_OUT
as AF
TF
WWDG
4 KB BKPSRAM
RTC_AF1
OSC32_N
OSC_N
OSC_OUT
OSC32_OUT
NRST
V
DDA
, V
SSA
V
CAP1, VCAP2
USART 6 RX, TX, CK,
CTS, RTS as AF
smcard
irDA
smcard
irDA
smcard
irDA
smcard
irDA
16b
16b
32b
16b
16b
32b
16b
16b
CTS, RTS as AF
CTS, RTS as AF
SDO / MMC
D[7:0]
CMD, CK as AF
V
BAT
= 1.65 to 3.6 V
DMA1
AHB/APB1
DMA2
SCL, SDA, SMBA as AF 2C3/SMBUS
GPO PORT H
PH[15:0]
GPO PORT
P[11:0]
JTAG & SW
ARM Cortex-M4F
168 MHz
S-BUS
-BUS
NVC ETM
MPU
NJTRST, JTD,
JTDO/SWD, JTDO
TRACECLK
TRACED[3:0]
JTCK/SWCLK
Ethernet MAC
DMA/
M or RM as AF
MDO as AF FFO
10/100
USB DMA/
FFO
OTG HS
DP, DM
ULP: CK, D(7:0), DR, STP, NXT
DMA2
8 Streams
FFO
DMA1
8 Streams
FFO
A
R
T

A
C
C
E
L
/
C
A
C
H
E
SRAM 112 KB

CLK, NE [3:0], A[23:0]
D[31:0], OEN, WEN,
NBL[3:0], NL, NREG
NWAT/ORDY, CD
NORD, OWR, NT[2:3]
NTN, NS16 as AF
SCL, SDA, NTN, D, VBUS, SOF
RNG
Camera
interface
HSYNC, VSYNC
PXCLK, D[13:0]
USB
P
H
Y
OTG FS
DP
DM
F

F
O
F

F
O
AHHB1 150 MHz
P
H
Y
F

F
O
USART 2MBps
Temperature sensor
ADC1
ADC2
ADC 3
F F
@VDDA
@VDDA
POR/PDR/
Supply
@VDDA
supervision
PVD
Reset
nt
POR
XTAL OSC
4-16 MHz
XTAL 32 kHz
H
C
L
K
x
MANAGT
RTC
RC HS
F
C
L
K
RC LS
Standby
WDG
@V
BAT
@VDDA
@VDD
AWU
Reset &
clock
control
PLL1&2
P
C
L
K
x
interface
V
DD
= 1.8 to 3.6 V
V
SS
Voltage
regulator
3.3 V to 1.2 V
V
DD12
Power managmt
@VDD
RTC_AF1 Backup register
SCL/SDA, NTN, D, VBUS, SOF
A
H
B

b
u
s
-
m
a
t
r
i
x

8
S
7
M
A
P
B
2

8
4
M
H
z
L
S
L
S
2 channels as AF
1 channel as AF
1 channel as AF TM14
16b
16b
16b
TM9 2 channels as AF
TM10 1 channel as AF
16b
16b
TM11 1 channel as AF
16b
BOR
DAC1
DAC2
Flash
up to
1MB
SRAM, PSRAM, NOR Flash,
PC Card (ATA), NAND Flash
External memory
controller (FSMC)
TM6
TM7
TM2
TM3
TM4
TM5
TM12
TM13
D-BUS
MS19920V1
4 compl. channels (TM1_CH[1:4]N)
4 channels (TM1_CH[1:4]), ETR,
BKN as AF
F

F
O
FPU
A
P
B
1
4
2


M
H
z

(
m
a
x
)
SRAM 16 KB
CCM data RAM 64 KB
AHB3
AHB2 168 MHz
DocID022256 Rev 4 13/42
UM1472 Hardware and layout
41
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):
Program/debug the MCU on board,
Program/debug an MCU in an external application board using a cable connected to
SWD connector CN2.
The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about
debugging and programming features refer to user manual UM1075 (ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32) which describes in detail all the ST-LINK/V2
features.
Figure 7. Typical configuration

Table 2. Jumper states
Jumper state Description
Both CN3 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN3 jumpers OFF
ST-LINK/V2 functions enabled for application through external CN2
connector (SWD supported)
MS19052V1
Hardware requirements:
- USB cable type A to mini-B
- computer with Windows XP, Vista or 7
Development toolchain:
Altium, TASKNG VX-Toolset,
Atollic, TrueSTUDO
AR, EWARM
Keil, MDK-ARM
Hardware and layout UM1472
14/42 DocID022256 Rev 4
4.2.1 Using ST-LINK/V2 to program/debug the STM32F4 on board
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
MSv33176V1
CN2
SWD connector
CN3
Jumpers ON
DocID022256 Rev 4 15/42
UM1472 Hardware and layout
41
4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application
It is very easy to use the ST-LINK/V2 to program the STM32 on an external application.
Simply remove the 2 jumpers from CN3 as shown in Figure 9, and connect your application
to the CN2 debug connector according to Table 3.
Note: SB11 must be OFF if you use CN2 pin 5 in your external application.

Figure 9. ST-Link connections image
Table 3. Debug connector CN2 (SWD)
Pin CN2 Designation
1 VDD_TARGET VDD from application
2 SWCLK SWD clock
3 GND Ground
4 SWDIO SWD data input/output
5 NRST RESET of target MCU
6 SWO Reserved
MSv33177V1
CN2
SWD connector
CN3
Jumpers OFF
Hardware and layout UM1472
16/42 DocID022256 Rev 4
4.3 Power supply and power selection
The power supply is provided either by the host PC through the USB cable, or by an
external 5V power supply.
The D1 and D2 diodes protect the 5V and 3V pins from external power supplies:
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.
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.
4.4 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.
LD2 PWR: red LED indicates that the board is powered.
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
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.
DocID022256 Rev 4 17/42
UM1472 Hardware and layout
41
4.6 On board audio capability
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.
The sound can come independently from different inputs:
ST MEMS microphone (MP45DT02): digital using PDM protocol or analog when
using the low pass filter.
USB connector: from external mass storage such as a USB key, USB HDD, and
so on.
Internal memory of the STM32F4.
The sound can be output in different ways through audio DAC:
Using I2S protocol
Using the STM32F4 DAC to analog input AIN1x of the CS43L22
Using the microphone output directly via a low pass filter to analog input AIN4x of
the CS43L22
4.7 USB OTG supported
The STM32F4 is used to drive only USB OTG full speed on this board. The USB micro-AB
connector (CN5) allows the user to connect a host or device component, such as a USB
key, mouse, and so on.
Two LEDs are dedicated to this module:
LD7 (green LED) indicates when VBUS is active
LD8 (red LED) indicates an overcurrent from connected device
4.8 Motion sensor (ST MEMS LIS302DL or LIS3DSH)
Two different versions of motion sensor (U5 in schematic) are available on the board
depending the PCB version. The LIS302DL is present on board MB997B (PCB revision B)
and the LIS3DSH is present on board MB997C (PCB rev C).
The LIS302DL or LIS3DSH are both an ultra compact low-power three-axis linear
accelerometer.
It includes a sensing element and an IC interface able to provide the measured acceleration
to the external world through I2C/SPI serial interface.
The LIS302DL has dynamically user selectable full scales of +-2g/+-8g and it is capable of
measuring acceleration with an output rate of 100Hz to 400Hz.
The LIS3DSH has 2g/4g/6g/8g/16g dynamically selectable full-scale and it is capable
of measuring acceleration with an output data rate of 3.125 Hz to 1.6 kHz.
The STM32F4 controls this motion sensor through the SPI interface.
Hardware and layout UM1472
18/42 DocID022256 Rev 4
4.9 JP1 (Idd)
Jumper JP1, labeled Idd, allows the consumption of STM32F407VGT6 to be measured by
removing the jumper and connecting an ammeter.
Jumper on: STM32F407VGT6 is powered (default).
Jumper off: an ammeter must be connected to measure the STM32F407VGT6 current,
(if there is no ammeter, the STM32F407VGT6 is not powered).
DocID022256 Rev 4 19/42
UM1472 Hardware and layout
41
4.10 OSC clock
4.10.1 OSC clock supply
If PH0 and PH1 are only used as GPIOs instead of as a clock, then SB13 and SB14 are
closed and R24, R25 and R68 are removed.
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
R25
(a)
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:
SB13 closed
SB14 closed
R25 and R68 removed
4.10.2 OSC 32 KHz clock supply
If PC14 and PC15 are only used as GPIOs instead of as a clock, then SB15 and SB16 are
closed, and R21 and R22 are removed.
Oscillator onboard. From X1 Crystal (not provided). Configuration needed:
SB15, SB16 OPEN
C16, C27, R21 and R22 soldered.
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.
Hardware and layout UM1472
20/42 DocID022256 Rev 4
4.11 Solder bridges

Table 4. Solder bridges
Bridge State
(1)
Description
SB13,14 (X2 crystal)
(2)
OFF
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 Reserved, do not modify.
SB2,4,6,8 (Reserved) OFF Reserved, do not modify.
SB15,16
(X3 crystal)
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
SB1
(B2-RESET)
ON B2 pushbutton is connected to the NRST pin of the STM32F407VGT6 MCU.
OFF B2 pushbutton is not connected the NRST pin of the STM32F407VGT6 MCU.
SB20
(B1-USER)
ON B1 pushbutton is connected to PA0.
OFF B1 pushbutton is not connected to PA0.
SB17
(VDD powered from
3V)
OFF VDD is not powered from 3V, depends on JP1 jumper.
ON VDD is permanently powered from 3V, JP1 jumper has no effect.
SB11 (NRST)
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.
SB12 (SWO)
ON SWO signal of the CN2 connector is connected to PB3.
OFF SWO signal is not connected.
SB10 (STM_RST)
OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal.
ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND.
SB18 (BOOT0)
ON
BOOT0 signal of the STM32F407VGT6 MCU is held low through a 510 ohm
pull-down resistor.
OFF
BOOT0 signal of the STM32F407VGT6 MCU is held high through a 10 Kohm
pull-up resistor.
SB19 (BOOT1)
OFF
The BOOT1 signal of the STM32F407VGT6 MCU is held high through a
10 Kohm pull-up resistor.
ON
The BOOT1 signal of the STM32F407VGT6 MCU is held low through a 510 ohm
pull-down resistor.
1. Default SBx state is shown in bold.
2. SB13 and SB14 are OFF to allow the user to choose between MCO and X2 crystal for clock source.
DocID022256 Rev 4 21/42
UM1472 Hardware and layout
41
4.12 Extension connectors
The male headers P1 and P2 can connect the STM32F4DISCOVERY to a standard
prototyping/wrapping board. STM32F407VGT6 GPI/Os are available on these connectors.
P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.

Table 5. MCU pin description versus board function
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

BOOT0 VPP 94 - - - - - - - - - - - - - 21
NRST - 14 - - -
R
E
S
E
T
-
N
R
S
T
- - - - - 5 6 -
PA0-
WKUP
USART2_CTS/
USART4_TX/
ETH_MII_CRS/
TIM2_CH1_ETR/
TIM5_CH1/
TIM8_ETR/
ADC123_IN0/
WKUP
23 - - -
U
S
E
R
- - - - - - - - 12 -
PA1
USART2_RTS/
USART4_RX/
ETH_RMII_REF_CLK/
ETH_MII_RX_CLK/
TIM5_CH2/
TIMM2_CH2/
ADC123_IN1
24 - - - - - - - - - - - - 11 -
PA2
USART2_TX/
TIM5_CH3/
TIM9_CH1/
TIM2_CH3/
ETH_MDIO/
ADC123_IN2
25 - - - - - - - - - - - - 14 -
Hardware and layout UM1472
22/42 DocID022256 Rev 4
PA3
USART2_RX/
TIM5_CH4/
TIM9_CH2/
TIM2_CH4/
OTG_HS_ULPI_D0/
ETH_MII_COL/
ADC123_IN3
26 - - - - - - - - - - - - 13 -
PA4
SPI1_NSS/
SPI3_NSS/
USART2_CK/
DCMI_HSYNC/
OTG_HS_SOF/
I2S3_WS/
ADC12_IN4/
DAC1_OUT
29
L
R
C
K
/
A
I
N
1
x
- - - - - - - - - - - 16 -
PA5
SPI1_SCK/
OTG_HS_ULPI_CK/
TIM2_CH1_ETR/
TIM8_CHIN/
ADC12_IN5/
DAC2_OUT
30 - -
S
C
L
/
S
P
C
- - - - - - - - - 15 -
PA6
SPI1_MISO/
TIM8_BKIN/
TIM13_CH1/
DCMI_PIXCLK/
TIM3_CH1/
TIM1_BKIN/
ADC12_IN6
31 - -
S
D
O - - - - - - - - - 18 -
PA7
SPI1_MOSI/
TIM8_CH1N/
TIM14_CH1TIM3_CH2/
ETH_MII_RX_DV/
TIM1_CH1N/
RMII_CRS_DV/
ADC12_IN7
32 - -
S
D
A
/
S
D
I
/
S
D
O
- - - - - - - - - 17 -
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 23/42
UM1472 Hardware and layout
41
PA8
MCO1/
USART1_CK/
TIM1_CH1/
I2C3_SCL/
OTG_FS_SOF
67 - - - - - - - - - - - - - 43
PA9
USART1_TX/
TIM1_CH2/
I2C3_SMBA/
DCMI_D0/
OTG_FS_VBUS
68 - - - -
G
R
E
E
N
-
V
B
U
S
- - - 1 - - 44
PA10
USART1_RX/
TIM1_CH3/
OTG_FS_ID/
DCMI_D1
69 - - - - - -
I
D
- - - 4 - - 41
PA11
USART1_CTS/
CAN1_RX/
TIM1_CH4/
OTG_FS_DM
70 - - - - - -
D
M
- - - 2 - - -
PA12
USART1_RTS/
CAN1_TX/
TIM1_ETR/
OTG_FS_DP
71 - - - - - -
D
P
- - - 3 - - -
PA13 JTMS-SWDIO 72 - - - - -
S
W
D
I
O
- - - - - 4 - 42
PA14 JTCK-SWCLK 76 - - - - -
S
W
C
L
K
- - - - - 2 - 39
PA15
JTDI/
SPI3_NSS/
I2S3_WS/
TIM2_CH1_ETR/
SPI1_NSS
77 - - - - - - - - - - - - - 40
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Hardware and layout UM1472
24/42 DocID022256 Rev 4
PB0
TIM3_CH3/
TIM8_CH2N/
OTG_HS_ULPI_D1/
ETH_MII_RXD2/
TIM1_CH2N/
ADC12_IN8
35 - - - - - - - - - - - - 22 -
PB1
TIM3_CH4/
TIM8_CH3N/
OTG_HS_ULPI_D2/
ETH_MII_RXD3/
OTG_HS_INTN/
TIM1_CH3N/
ADC12_IN9
36 - - - - - - - - - - - - 21 -
PB2 - 37 - - - - - - - - - - - - 24 -
PB3
JTDO/
TRACESWO/
SPI3_SCK/
I2S3_CK/
TIM2_CH2/
SPI1_SCK
89 - - - - -
S
W
O
- - - - - 6 28
PB4
NJTRST/
SPI3_MISO/
TIM3_CH1/
SPI1_MISO/
I2S3ext_SD
90 - - - - - - - - - - - - - 25
PB5
I2C1_SMBA/
CAN2_RX/
OTG_HS_ULPI_D7/
ETH_PPS_OUT/
TIM3_CH2/
SPI1_MOSI/
SPI3_MOSI/
DCMI_D10/
I2S3_SD
91 - - - - - - - - - - - - - 26
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 25/42
UM1472 Hardware and layout
41
PB6
I2C1_SCL/
TIM4_CH1/
CAN2_TX/
OTG_FS_INTN/
DCMI_D5/
USART1_TX
92
S
C
L
- - - - - - - - - - - - 23
PB7
I2C1_SDA/
FSMC_NL/
DCMI_VSYNC/
USART1_RX/
TIM4_CH2
93 - - - - - - - - - - - - 24
PB8
TIM4_CH3/
SDIO_D4/
TIM10_CH1/
DCMI_D6/
OTG_FS_SCL/
ETH_MII_TXD3/
I2C1_SCL/
CAN1_RX
95 - - - - - - - - - - - - - 19
PB9
SPI2_NSS/
I2S2_WS/
TIM4_CH4/
TIM11_CH1/
OTG_FS_SDA/
SDIO_D5/
DCMI_D7/
I2C1_SDA/
CAN1_TX
96
S
D
A- - - - - - - - - - - - 20
PB10
SPI2_SCK/
I2S2_CK/
I2C2_SCL/
USART3_TX/
OTG_HS_ULPI_D3/
ETH_MII_RX_ER/
OTG_HS_SCL/
TIM2_CH3
47 -
C
L
K- - - - - - - - - - 34 -
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Hardware and layout UM1472
26/42 DocID022256 Rev 4
PB11
I2C2_SDA/
USART3_RX/
OTG_HS_ULPI_D4/
ETH_RMII_TX_EN/
ETH_MII_TX_EN/
OTG_HS_SDA/
TIM2_CH4
48 - - - - - - - - - - - - 35 -
PB12
SPI2_NSS/
I2S2_WS/
I2C2_SMBA/
USART3_CK/
TIM1_BKIN/
CAN2_RX/
OTG_HS_ULPI_D5/
ETH_RMII_TXD0/
ETH_MII_TXD0/
OTG_HS_ID
51 - - - - - - - - - - - - 36 -
PB13
SPI2_SCK/
I2S2_CK/
USART3_CTS/
TIM1_CH1N/
CAN2_TX/
OTG_HS_ULPI_D6/
ETH_RMII_TXD1/
ETH_MII_TXD1/
OTG_HS_VBUS
52 - - - - - - - - - - - - 37 -
PB14
SPI2_MISO/
TIM1_CH2N/
TIM12_CH1/
OTG_HS_DMUSART3
_RTS/
TIM8_CH2N/
I2S2ext_SD
53 - - - - - - - - - - - - 38 -
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 27/42
UM1472 Hardware and layout
41
PB15
SPI2_MOSI/
I2S2_SD/
TIM1_CH3N/
TIM8_CH3N/
TIM12_CH2/
OTG_HS_DP
54 - - - - - - - - - - - - 39 -
PC0
OTG_HS_ULPI_STP/
ADC123_IN10
15 - - - - - -
P
o
w
e
r
O
n
- - - - - 8 -
PC1
ETH_MDC/
ADC123_IN11
16 - - - - - - - - - - - - 7 -
PC2
SPI2_MISO/
OTG_HS_ULPI_DIR/
TH_MII_TXD2/
I2S2ext_SD/
ADC123_IN12
17 - - - - - - - - - - - - 10 -
PC3
SPI2_MOSI/
I2S2_SD/
OTG_HS_ULPI_NXT/
ETH_MII_TX_CLK/
ADC123_IN13
18 -
D
O
U
T
/
A
I
N
4
x
- - - - - - - - - - 9 -
PC4
ETH_RMII_RX_D0/
ETH_MII_RX_D0/
ADC12_IN14
33 - - - - - - - - - - - - 20 -
PC5
ETH_RMII_RX_D1/
ETH_MII_RX_D1/
ADC12_IN15
34 - - - - - - - - - - - - 19 -
PC6
I2S2_MCK/
TIM8_CH1/
SDIO_D6/
USART6_TX/
DCMI_D0/
TIM3_CH1
63 - - - - - - - - - - - - - 47
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Hardware and layout UM1472
28/42 DocID022256 Rev 4
PC7
I2S3_MCK/
TIM8_CH2/
SDIO_D7/
USART6_RX/
DCMI_D1/
TIM3_CH2
64
M
C
L
K
- - - - - - - - - - - - 48
PC8
TIM8_CH3/
SDIO_D0/
TIM3_CH3/
USART6_CK/
DCMI_D2
65 - - - - - - - - - - - - - 45
PC9
I2S_CKIN/
MCO2/
TIM8_CH4/
SDIO_D1/
I2C3_SDA/
DCMI_D3/
TIM3_CH4
66 - - - - - - - - - - - - - 46
PC10
SPI3_SCK/
I2S3_CK/
UART4_TX/
SDIO_D2/
DCMI_D8/
USART3_TX
78
S
C
L
K
- - - - - - - - - - - - 37
PC11
UART4_RX/
SPI3_MISO/
SDIO_D3/
DCMI_D4/
USART3_RX/
I2S3ext_SD
79 - - - - - - - - - - - - - 38
PC12
UART5_TX/
SDIO_CK/
DCMI_D9/
SPI3_MOSI/
I2S3_SD/
USART3_CK
80
S
D
I
N
- - - - - - - - - - - - 35
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 29/42
UM1472 Hardware and layout
41
PC13 RTC_AF1 7 - - - - - - - - - - - - - 12
PC14 OSC32_IN 8 - - - - - - -
O
S
C
3
2
_
I
N
- - - - - 9
PC15 OSC32_OUT 9 - - - - - - -
O
S
C
3
2
_
O
U
T
- - - - - 10
PD0
FSMC_D2/
CAN1_RX
81 - - - - - - - -

- - - - 36
PD1
FSMC_D3/
CAN1_TX
82 - - - - - - - - - - - - - 33
PD2
TIM3_ETR/
UART5_RXSDIO_CMD
/
DCMI_D11
83 - - - - - - - - - - - - - 34
PD3
FSMC_CLK/
USART2_CTS
84 - - - - - - - - - - - - - 31
PD4
FSMC_NOE/
USART2_RTS
85
R
E
S
E
T
- - - - - - - - - - - - 32
PD5
FSMC_NWE/
USART2_TX
86 - - - -
R
E
D-
O
v
e
r
C
u
r
r
e
n
t
- - - - - - 29
PD6
FSMC_NWAIT/
USART2_RX
87 - - - - - - - - - - - - - 30
PD7
USART2_CK/
FSMC_NE1/
FSMC_NCE2
88 - - - - - - - - - - - - - 27
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Hardware and layout UM1472
30/42 DocID022256 Rev 4
PD8
FSMC_D13/
USART3_TX
55 - - - - - - - - - - - - 40 -
PD9
FSMC_D14/
USART3_RX
56 - - - - - - - - - - - - 41 -
PD10
FSMC_D15/
USART3_CK
57 - - - - - - - - - - - - 42 -
PD11
FSMC_A16/
USART3_CTS
58 - - - - - - - - - - - - 43 -
PD12
FSMC_A17/
TIM4_CH1/
USART3_RTS
59 - - - -
G
R
E
E
N
- - - - - - - 44 -
PD13
FSMC_A18/
TIM4_CH2
60 - - - -
O
R
A
N
G
E
- - - - - - - 45 -
PD14
FSMC_D0/
TIM4_CH3
61 - - - -
R
E
D- - - - - - - 46 -
PD15
FSMC_D1/
TIM4_CH4
62 - - - -
B
L
U
E
- - - - - - - 47 -
PE0
TIM4_ETR/
FSMC_NBL0/
DCMI_D2
97 - -
I
N
T
1
- - - - - - - - - - 17
PE1
FSMC_NBL1/
DCMI_D3
98 - -
I
N
T
2
- - - - - - - - - - 18
PE2
TRACECLK/
FSMC_A23/
ETH_MII_TXD3
1 - - - - - - - - - - - - - 15
PE3
TRACED0/
FSMC_A19
2 - -
C
S
_
I
2
C
/
S
P
I
- - - - - - - - - - 16
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 31/42
UM1472 Hardware and layout
41
PE4
TRACED1/
FSMC_A20/
DCMI_D4
3 - - - - - - - - - - - - - 13
PE5
TRACED2/
FSMC_A21/
TIM9_CH1/
DCMI_D6
4 - - - - - - - - - - - - - 14
PE6
TRACED3/
FSMC_A22/
TIM9_CH2/
DCMI_D7
5 - - - - - - - - - - - - - 11
PE7
FSMC_D4/
TIM1_ETR
38 - - - - - - - - - - - - 25 -
PE8
FSMC_D5/
TIM1_CH1N
39 - - - - - - - - - - - - 26 -
PE9
FSMC_D6/
TIM1_CH1
40 - - - - - - - - - - - - 27 -
PE10
FSMC_D7/
TIM1_CH2N
41 - - - - - - - - - - - - 28 -
PE11
FSMC_D8/
TIM1_CH2
42 - - - - - - - - - - - - 29 -
PE12
FSMC_D9/
TIM1_CH3N
43 - - - - - - - - - - - - 30 -
PE13
FSMC_D10/
TIM1_CH3
44 - - - - - - - - - - - - 31 -
PE14
FSMC_D11/
TIM1_CH4
45 - - - - - - - - - - - - 32 -
PE15
FSMC_D12/
TIM1_BKIN
46 - - - - - - - - - - - - 33 -
PH0 OSC_IN 12 - - - - - - -
O
S
C
_
I
N
- - - - - 7
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Hardware and layout UM1472
32/42 DocID022256 Rev 4
PH1 OSC_OUT 13 - - - - - - -
O
S
C
_
O
U
T
- - - - - 8
- - - - - - - - - - - -
5
V
- - - 3
- - - - - - - - - - - -
5
V
- - - 4
- - - - - - - - - - - -
3
V
- - - 5
- - - - - - - - - - - -
3
V
- - - 6
- - - - - - - - - - - -
V
D
D- - 3 -
- - - - - - - - - - - -
V
D
D- - 4 -
- - - - - - - - - - - -
V
D
D- - - 22
- - - - - - - -
G
N
D
G
N
D
- -
G
N
D
5 3 1 -
- - - - - - - - - - - -
G
N
D
- - 2 -
- - - - - - - - - - - -
G
N
D
- - 5 -
- - - - - - - - - - - -
G
N
D
- - 23 -
- - - - - - - - - - - -
G
N
D
- - 49 -
- - - - - - - - - - - -
G
N
D
- - 50 -
- - - - - - - - - - - -
G
N
D
- - - 1
- - - - - - - - - - - -
G
N
D
- - - 2
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

DocID022256 Rev 4 33/42
UM1472 Hardware and layout
41
- - - - - - - - - - - -
G
N
D
- - - 49
- - - - - - - - - - - -
G
N
D
- - - 50
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
L
Q
F
P
1
0
0
C
S
4
3
L
2
2

M
P
4
5
D
T
0
2

L
I
S
3
0
2
D
L

o
r

L
I
S
3
D
S
H
P
u
s
h
b
u
t
t
o
n

L
E
D

S
W
D

U
S
B
O
S
C
F
r
e
e

I
/
O

P
o
w
e
r

s
u
p
p
l
y

C
N
5
C
N
2
P
1

P
2

Mechanical drawing UM1472
34/42 DocID022256 Rev 4
5 Mechanical drawing
Figure 10. STM32F4DISCOVERY mech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
0
V
D
D
P
C
4
P
D
1
3
P
D
1
4
P
D
1
5
V
D
D
B
O
O
T
1

/

P
B
2
P
A
1
0
P
D
5
P
C
1
3
P
A
9
P
A
6
P
A
7
N
C
3
V
5
V
5
V
3
V
5
V
3
V
3
V
5
V
R
e
v

C
.
1

-
-
>

R
3
1

n
o
t

F
i
t
t
e
d
,

P
D
R
_
O
N

o
f

S
T
M
3
2
F
4

r
e
p
l
a
c
e
d

b
y

V
S
S



















R
e
p
l
a
c
e

L
I
S
3
0
2
D
L

b
y

L
I
S
3
D
S
H

(
U
5
)
,


P
C
B

l
a
b
e
l

M
B
9
9
7

C
-
0
1
R
e
v

B
.
2

-
-
>

R
2
7

N
o
t

F
i
t
t
e
d
,

R
2
8

F
i
t
t
e
d
.

P
C
B

l
a
b
e
l

M
B
9
9
7

B
-
0
2
R
e
v

B
.
1

-
-
>

P
C
B

l
a
b
e
l

M
B
9
9
7

B
-
0
1
Electrical schematics UM1472
36/42 DocID022256 Rev 4
Figure 12. ST-LINK/V2 (SWD only)
S
T
M
i
c
r
o
e
l
e
c
t
r
o
n
i
c
s
T
i
t
l
e
:
N
u
m
b
e
r
:
R
e
v
:
S
h
e
e
t







o
f
C
.
1
(
P
C
B
.
S
C
H
)
D
a
t
e
:
5
/
2
4
/
2
0
1
3
C
6
2
0
p
F
C
9
2
0
p
F
1
2
X
1
8
M
H
z
3
V
U
S
B
_
D
M
U
S
B
_
D
P
S
T
M
_
R
S
T
T _ J T C K
T
_
J
T
C
K
T _ J T D O
T _ J T D I
T
_
J
T
M
S
S
T
M
_
J
T
M
S
S T M _ J T C K
O
S
C
_
I
N
O
S
C
_
O
U
T
T _ N R S T
R
1
9
4
K
7
R
2
0
4
K
7
A
I
N
_
1
C
1
1
1
0
0
n
F
R
1
8
1
0
0
K
R
7
1
0
0
K
3
V
3
V
3
V
S W I M _ I N
S W I M _ I N
S W I M _ I N
S W I M
S W I M
S W I M _ R S T _ I N
S W I M _ R S T
M
B
9
9
7
2
6
S
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E
R

&

W
A
K
E
-
U
P

B
u
t
t
o
n
N
R
S
T
N
R
S
T
R
E
S
E
T

B
u
t
t
o
n
C
3
7
1
0
0
n
F
R
3
7
1
0
0
K
V
D
D
12
3 4
B 2
S W - P U S H - C M S
S
B
1
N
o
t

F
i
t
t
e
d
P
A
0
P
D
1
2
L
E
D
3
L
E
D
5
L
E
D
6
P
D
1
3
P
D
1
4
P
D
1
5
P
D
1
3
P
D
1
4
P
D
1
5
3
V
C
3
9
1
0
0
n
F
S
P
I
1
_
M
O
S
I
S
P
I
1
_
S
C
K
P
A
7
P
E
0
P
E
1
M
E
M
S
_
I
N
T
1
M
E
M
S
_
I
N
T
2
P
A
6
P
E
3
P
E
3
P
A
6
S
P
I
1
_
M
I
S
O
C
S
_
I
2
C
/
S
P
I
N
o
t

F
i
t
t
e
d
V
D
D
_
I
O
1
N
C
2
N
C
3
S
C
L
/
S
P
C
4
G
N
D
5
S
D
A
/
S
D
I
/
S
D
O
6
S
E
L
/
S
D
O
7
C
S
8
I
N
T
2
9
R
e
s
e
r
v
e
d
1
0
I
N
T
1
/
D
R
D
Y
1
1
G
N
D
1
2
G
N
D
1
3
V
D
D
1
4
R
e
s
e
r
v
e
d
1
5
G
N
D
1
6
U
5
L
I
S
3
D
S
H
P
A
7
P
A
5
P
A
5
P
E
0
P
E
1
DocID022256 Rev 4 41/42
UM1472 Revision history
41
7 Revision history

Table 6. Document revision history
Date Revision Changes
27-Sept-2011 1 Initial release.
30-Jan-2012 2
Added Section 4.1: STM32F407VGT6 microcontroller corrected
Figure 3 MCU name, modified Figure 2 and Chapter 6: Electrical
schematics. Modified Table 5 PE2 and PE3 entries.
28-Nov-2013 3
Updated for board rev. C. Modified title.
Modified Section 4.8: Motion sensor (ST MEMS LIS302DL or
LIS3DSH)
Updated Chapter 6: Electrical schematics
29-Jan-2014 4
Modified Chapter 3: Features, Figure 2, Chapter 4.8: Motion sensor
(ST MEMS LIS302DL or LIS3DSH) , Table 5 adding ST MEMS
LIS302DL reference.
UM1472
42/42 DocID022256 Rev 4


Please Read Carefully:
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 STs 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.
2014 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com

Potrebbero piacerti anche