Beruflich Dokumente
Kultur Dokumente
User manual
Discovery kit with STM32F407VG MCU
Introduction
The STM32F4DISCOVERY Discovery kit allows users to easily develop applications with
the STM32F407VG high performance microcontroller with the ARM Cortex-M4 32-bit
core. It includes everything required either for beginners or for experienced users to get
quickly started.
Based on STM32F407VG, it includes an ST-LINK/V2 or ST-LINK/V2-A embedded debug
tool, two ST-MEMS digital accelerometers, a digital microphone, one audio DAC with
integrated class D speaker driver, LEDs, push buttons and a USB OTG micro-AB connector.
To expand the functionality of the STM32F4DISCOVERY Discovery kit with the Ethernet
connectivity, LCD display and more, visit the www.st.com/stm32f4dis-expansion webpage.
The STM32F4DISCOVERY Discovery kit comes with the STM32 comprehensive free
software libraries and examples available with the STM32Cube package, as well as a direct
access to the ARM mbed Enabled on-line resources at http://mbed.org.
Figure 1. STM32F4DISCOVERY
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.3 Development toolchains supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
List of tables
List of figures
Figure 1. STM32F4DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. STM32F4DISCOVERY top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. STM32F4DISCOVERY bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 6. ST-LINK VCP connection to USART2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. STM32F4DISCOVERY connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 8. ST-LINK connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 9. STM32F407G-DISC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 10. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 11. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 12. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 13. USB_OTG_FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 14. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 15. STM32F4DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
1 Features
2 Product marking
Tools marked as "ES" or "E" are not yet qualified and as such, they may be used only for
evaluation purposes. ST shall not be liable for any consequences related with other ways of
use of such non-qualified tools, for example, as reference design or for production.
Examples of location of "E" or "ES" marking:
On target STM32 microcontroller part mounted on the board (for illustration, refer to
section Package information of a STM32 datasheet at www.st.com).
Next to the evaluation tool ordering part number, as a label stuck or a silk-screen
printed on the board.
3 Ordering information
To order the Discovery kit for the STM32F407 line of microcontrollers, refer to Table 1.
STM32F4DISCOVERY ST-LINK/V2
STM32F407G-DISC1 ST-LINK/V2-A (mbed Enabled)
4 Conventions
Table 2 provides the definition of some conventions used in the present document.
5 Quick start
a. On Windows only.
0LQL
86%
(PEHGGHG
67/,1.9RU67/,1.9$
6:'
670)9*7
,2 5(6(7
/(' %
/'WR/' 567
%
03'7
86(5
&6/ /,6'6+RU
/,6'6+
0LQL-DFN 0LFUR86%
06Y9
67/,1.9
/'UHGJUHHQ/('
&20 670)*',6&
/'UHG/('
&1 5
' 3:5
/' &1
6:'FRQQHFWRU &20
& &
&
&
8
'
5
5
5
5
5
&1 5 5
/'
&1
3:5
;
5
5
&
0%' 67/,1.',6&29(5<
6:'
&
',6&29(5<
5
& '
&1
5
5
VHOHFWRU
5
&
67/,1.
8
5
& &
5
ZZZVWFRPVWPIGLVFRYHU\
&
&
& &
&
&
& 5
3
8
5
3
9SRZHU
*1' *1' &
;
*1' *1'
VXSSO\LQSXWRXWSXW
-3 9'' 9'' ; & 9 9
&
5
, PHDVXUHPHQW
&
5
&
5
*1' 1567 / 5
9 9
&
'' 9SRZHU
& 5 5 &
&
3& 3& 3+ 3+
&
&
8 5
VXSSO\RXWSXW
&
3& 3& -3 3& 3&
3$ 3$ ,GG 3( 3&
5
3$ 3$ 3( 3(
5
5
&
5 5
& RUDQJH/('
5
/'
&
*1' 3% 5 5 %
3% 3%
%XVHUEXWWRQ
8
5
5HVHW
&
JUHHQ/('/'
5
3( 3( 5 5 8 3' 3'
&
& 5
8 5
&
3( 3% 3' 3'
&
5
5
&
5
EOXH/('/'
&
&
5
8
5 &
3$ 3$
5
3' 3' 3$ 3$
5
5
&
5 & 7
5
8
3' 1& 5
5 /' 3& 3&
JUHHQ/('/' *1' *1'
/'
069
Note: Pin 1 of CN2, CN3, JP1, P1 and P2 connectors are identified by a red square.
3" 8 CRYSTAL
3" 8 CRYSTAL
3" 37/
3" 8 CRYSTAL
3" 8 CRYSTAL
3" 6$$ FROM 6
3" "//4 3" "//4
3" " 53%2
-36
6.1.1 Drivers
Before connecting the STM32F4DISCOVERY board to a Windows PC (XP, 7, 8 and 10)
through the USB, a driver for the ST-LINK/V2 (or V2-A) must be installed. It is available at the
www.st.com website. In case the STM32 Discovery is connected to the PC before the driver
is installed, some Discovery interfaces may be declared as Unknown in the PC device
manager. To recover from this situation, after installing the dedicated driver, the association of
Unknown USB devices found on the STM32F4DISCOVERY board to this dedicated driver,
must be updated in the device manager manually.
Note: It is recommended to proceed by using USB Composite Device, as shown in Figure 5.
&1
6:'FRQQHFWRU
&1
-XPSHUV21
06Y9
&1
6:'FRQQHFWRU
&1
-XPSHUV2))
06Y9
6.3 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.
b. As the frequency supplied by X2 is the same as MCO (8 MHz), R25 and R68 are soldered.
SB17 OFF VDD is not powered from 3V, depends on JP1 jumper.
(VDD powered from 3V) ON VDD is permanently powered from 3V, JP1 jumper has no effect.
NRST signal of the CN2 connector is connected to the NRST pin of the
ON
STM32F407VG.
SB11 (NRST)
NRST signal of the CN2 connector is not connected to the NRST pin of the
OFF
STM32F407VG.
ON SWO signal of the CN2 connector is connected to PB3.
SB12 (SWO)
OFF SWO signal is not connected.
OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal.
SB10 (STM_RST)
ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND.
BOOT0 signal of the STM32F407VG is held low through a 510 ohm pull-down
ON
resistor.
SB18 (BOOT0)
BOOT0 signal of the STM32F407VG is held high through a 10 Kohm pull-up
OFF
resistor.
The BOOT1 signal of the STM32F407VG is held high through a 10 Kohm pull-up
OFF
resistor.
SB19 (BOOT1)
The BOOT1 signal of the STM32F407VG is held low through a 510 ohm pull-
ON
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.
BOOT0 VPP 94 - - - - - - - - - - - - - 21
USART2_CTS/ USART4_TX/
PA0- ETH_MII_CRS/ TIM2_CH1_ETR/
23 - - - USER - - - - PA0(1) - - - 12 -
WKUP TIM5_CH1/ TIM8_ETR/
ADC123_IN0/ WKUP
USART2_RTS/ USART4_RX/
ETH_RMII_REF_CLK/
PA1 24 - - - - - - - - PA1 - - - 11 -
ETH_MII_RX_CLK/ TIM5_CH2/
TIMM2_CH2/ ADC123_IN1
USART2_TX/ TIM5_CH3/
PA2 TIM9_CH1/ TIM2_CH3/ ETH_MDIO/ 25 - - - - - - - - PA2 - - - 14 -
DocID022256 Rev 6
ADC123_IN2
USART2_RX/ TIM5_CH4/
TIM9_CH2/ TIM2_CH4/
PA3 26 - - - - - - - - PA3 - - - 13 -
OTG_HS_ULPI_D0/ ETH_MII_COL/
ADC123_IN3
SPI1_NSS/ SPI3_NSS/
USART2_CK/ DCMI_HSYNC/ LRCK/
PA4 29 - - - - - - - - - - - 16 -
OTG_HS_SOF/ I2S3_WS/ AIN1x
ADC12_IN4/ DAC1_OUT
SPI1_SCK/ OTG_HS_ULPI_CK/
SCL/
PA5 TIM2_CH1_ETR/ TIM8_CHIN/ 30 - - - - - - - - - - - 15 -
SPC
ADC12_IN5/ DAC2_OUT
SPI1_MISO/ TIM8_BKIN/
PA6 TIM13_CH1/ DCMI_PIXCLK/ 31 - - SDO - - - - - - - - - 18 -
TIM3_CH1/ TIM1_BKIN/ ADC12_IN6
SPI1_MOSI/ TIM8_CH1N/
TIM14_CH1TIM3_CH2/ SDA/SDI
PA7 32 - - - - - - - - - - - 17 -
ETH_MII_RX_DV/ TIM1_CH1N/ /SDO
RMII_CRS_DV/ ADC12_IN7
USART1_TX/ TIM1_CH2/
PA9 I2C3_SMBA/ DCMI_D0/ 68 - - - - GREEN - VBUS - - - 1 - - 44
UM1472
OTG_FS_VBUS
Table 6. STM32 pin description versus board functions (continued)
UM1472
STM32 pin Board function
USART1_RX/ TIM1_CH3/
PA10 69 - - - - - - ID - - - 4 - - 41
OTG_FS_ID/ DCMI_D1
USART1_CTS/ CAN1_RX/
PA11 70 - - - - - - DM - - - 2 - - -
TIM1_CH4/ OTG_FS_DM
USART1_RTS/ CAN1_TX/
PA12 71 - - - - - - DP - - - 3 - - -
TIM1_ETR/ OTG_FS_DP
TIM3_CH3/ TIM8_CH2N/
DocID022256 Rev 6
OTG_HS_ULPI_D1/
PB0 35 - - - - - - - - PB0 - - - 22 -
ETH_MII_RXD2/ TIM1_CH2N/
ADC12_IN8
TIM3_CH4/ TIM8_CH3N/
OTG_HS_ULPI_D2/
PB1 36 - - - - - - - - PB1 - - - 21 -
ETH_MII_RXD3/ OTG_HS_INTN/
TIM1_CH3N/ ADC12_IN9
PB2 BOOT1 37 - - - - - - - - - - - - 24 -
I2C1_SMBA/ CAN2_RX/
OTG_HS_ULPI_D7/
PB5 ETH_PPS_OUT/ TIM3_CH2/ 91 - - - - - - - - PB5 - - - - 26
SPI1_MOSI/ SPI3_MOSI/
I2C1_SDA/ FSMC_NL/
PB7 DCMI_VSYNC/ USART1_RX/ 93 - - - - - - - - PB7 - - - 24
TIM4_CH2
21/34
Table 6. STM32 pin description versus board functions (continued)
22/34
I2C2_SDA/ USART3_RX/
OTG_HS_ULPI_D4/
DocID022256 Rev 6
SPI2_MISO/ TIM1_CH2N/
TIM12_CH1/ OTG_HS_DMUSART3
PB14 53 - - - - - - - - PB14 - - - 38 -
_RTS/ TIM8_CH2N/
I2S2ext_SD
Power
PC0 OTG_HS_ULPI_STP/ ADC123_IN10 15 - - - - - - - - - - - 8 -
On
UM1472
SPI2_MISO/ OTG_HS_ULPI_DIR/
PC2 TH_MII_TXD2/ 17 - - - - - - - - PC2 - - - 10 -
I2S2ext_SD/ ADC123_IN12
Table 6. STM32 pin description versus board functions (continued)
UM1472
STM32 pin Board function
SPI2_MOSI/ I2S2_SD/
DOUT/A
PC3 OTG_HS_ULPI_NXT/ 18 - - - - - - - - - - - 9 -
IN4x
ETH_MII_TX_CLK/ ADC123_IN13
ETH_RMII_RX_D0/
PC4 33 - - - - - - - - PC4 - - - 20 -
ETH_MII_RX_D0/ ADC12_IN14
ETH_RMII_RX_D1/
PC5 34 - - - - - - - - PC5 - - - 19 -
ETH_MII_RX_D1/ ADC12_IN15
USART6_CK/ DCMI_D2
OSC32
PC14 OSC32_IN 8 - - - - - - - PC14(1) - - - - 9
_IN
OSC32
PC15 OSC32_OUT 9 - - - - - - - PC15(1) - - - - 10
_OUT
TIM3_ETR/ UART5_RXSDIO_CMD
PD2 83 - - - - - - - - PD2 - - - - 34
/ DCMI_D11
Over
PD5 FSMC_NWE/ USART2_TX 86 - - - - RED - - - - - - - 29
current
USART2_CK/ FSMC_NE1/
PD7 88 - - - - - - - - PD7 - - - - 27
FSMC_NCE2
FSMC_A17/ TIM4_CH1/
PD12 59 - - - - GREEN - - - - - - - 44 -
USART3_RTS
DocID022256 Rev 6
TRACECLK/ FSMC_A23/
PE2 1 - - - - - - - - PE2 - - - - 15
ETH_MII_TXD3
UM1472
PE10 FSMC_D7/ TIM1_CH2N 41 - - - - - - - - PE10 - - - 28 -
UM1472
STM32 pin Board function
OSC_
PH0 OSC_IN 12 - - - - - - - PH0(1) - - - - 7
IN
OSC_
PH1 OSC_OUT 13 - - - - - - - PH1(1) - - - - 8
OUT
- - - - - - - - - - - - 5V - - - 3
- - - - - - - - - - - - 5V - - - 4
DocID022256 Rev 6
- - - - - - - - - - - - 3V - - - 5
- - - - - - - - - - - - 3V - - - 6
- - - - - - - - - - - - VDD - - 3 -
- - - - - - - - - - - - VDD - - 4 -
- - - - - - - - - - - - VDD - - - 22
- - - - - - - - - - - - GND - - 2 -
- - - - - - - - - - - - GND - - 5 -
- - - - - - - - - - - - GND - - 23 -
- - - - - - - - - - - - GND - - 49 -
- - - - - - - - - - - - GND - - 50 -
- - - - - - - - - - - - GND - - - 1
- - - - - - - - - - - - GND - - - 49
- - - - - - - - - - - - GND - - - 50
Electrical schematics
Figure 9. STM32F407G-DISC1
1 2 3 4
ST_LINK_V2.SCHDOC
U_ST_LINK U_STM32Fx U_Audio
STM32Fx.SchDoc Audio.SchDoc
MCO PA0 PE0 PA4 PB10
MCO PA0 PE0 PA4 PB10
PA14 TCK/SWCLK PA1 PE1 PC12 PC3
PA14 PA1 PE1 PC12 PC3
PA13 TMS/SWDIO PA2 PE2 PC10 PC4
PA13 PA2 PE2 PC10 PC4
PA3 PE3 PD4
A PA3 PE3 PD4 A
PA4 PE4 PC7
PA4 PE4 PC7
NRST T_NRST PA5 PE5
NRST PA5 PE5
PB3 T_SWO PA6 PE6 PB6
PB3 PA6 PE6 PB6
PA7 PE7 PB9
PA7 PE7 PB9
PA8 PE8
PA8 PE8
PA9 PE9
PA9 PE9
U_USB_OTG_FS PA10 PE10
PA10 PE10
USB_OTG_FS.SchDoc PA11 PE11 U_IO Peripherals
PA11 PE11
PA9 PD5 PA12 PE12 IO Peripherals.SchDoc
PA9 PD5 PA12 PE12
PA10 PC0 PA13 PE13 PD12
PA10 PC0 PA13 PE13 PD12
PA11 PA14 PE14 PD13 PA0
PA11 PA14 PE14 PD13 PA0
PA12 PA15 PE15 PD14 NRST
PA12 PA15 PE15 PD14 NRST
PD15
PD15
PB0 PD0
PB0 PD0
PB1 PD1 PE0 PA5
PB1 PD1 PE0 PA5
PB2 PD2 PE1 PA6
DocID022256 Rev 6
D D
STMicroelectronics
Title:
STM32F407G-DISC1
UM1472
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 1 of 6
1 2 3 4
Figure 10. ST-LINK/V2 (SWD only)
UM1472
1 2 3 4
TCK/SWCLK
PA14
TMS/SWDIO
PA13 SWD
T_NRST
NRST
T_SWO SB11
R7 PB3
R6 10K Not Fitted SB12
RESERVED
100K
SWIM_RST_IN
A A
DEFAULT
Board Ident: PC13=0 R13
SWIM_RST
STM_JTCK
R5 10K 10K D2
SWIM_IN
SWIM_IN
SWD R2 AIN_1
SWIM
100
BAT60JFILM
Not Fitted 3V
CN2
R12 T_JTCK
48
47
46
45
44
43
42
41
40
39
38
37
1 3V
U2 22 SB3 SB2
2
STM32F103CBT6
3
STM_JTCK SWCLK
PA15/JTDI
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB3/JTDO
JTCK/SWCLK
PB4/JNTRST
SB5 SB4
4
R15 T_JTMS
C6 5
C9 22 SB7 SB6
6
20pF X1 20pF 1
VBAT VDD_2
36
3V
R16 T_NRST STM_JTMS SWDIO
3V 1 2 2 35 Header 6 22 SB9 SB8
PC13 VSS_2
3 34 STM_JTMS R17 T_SWO
8MHz PC14 JTMS/SWDIO
4 33 USB_DP 22
PC15 PA12
R18 OSC_IN 5 32 USB_DM
OSCIN PA11
100K OSC_OUT 6 31 T_SWO
OSCOUT PA10
1
2
3
4
B
STM_RST 7
NRST PA9
30 LED_STLINK RC Must be very close to STM32F103 pin 29 B
8 29 R68 MCO
VSSA PA8 MCO
C11 9 28 100 CN3
3V VDDA PB15
100nF R19 4K7 AIN_1 10 27 T_JTMS C61
PA0 PB14
SB10 11 26 T_JTCK 20pF Jumpers ON --> DISCOVERY Selected
PA1 PB13 R69
R20 4K7 12 25
DocID022256 Rev 6
PB2/BOOT1
PA2 PB12 100 Not Fitted Jumpers OFF --> ST-LINK Selected
T_SWDIO_IN
VDD_1
VSS_1
PB10
PB11
PA3
PA4
PA5
PA6
PA7
PB0
PB1
Wired on Solder Side
13
14
15
16
17
18
19
20
21
22
23
24
Idd LD1
Red
JP1 JP3
SWIM_IN
COM R4
T_NRST
T_JTDO
T_JRST
T_JTCK
3V VDD 2 1
T_JTDI
USB 3V
SWIM
100
U5V R14
CN1 SB17 JP2
1 R9 1K5 1K LED_STLINK R3 3 4 R1
VCC 3V 3V
2 R11 0 USB_DM 100 0
C D- C
D+
3 R10 0 USB_DP SB on Solder Side under JP _Green
4 R8 100K LD2 LD_BICOLOR_CMS
ID 3V RED
5
GND
0
SHELL C7 C8 C12 C10 PWR
5075BMR-05-SM 100nF 100nF 100nF 100nF
5V U1 LD3985M33R D3
1 Vin Vout 5
3V
3 INH BAT60JFILM
C1 GND BYPASS C3
5V U3 LD3985M25R 2V5 1F_X5R_0603 1F_X5R_0603
4
EXT_5V, Input or Output 1 Vin Vout 5 OUT_3V, Only Output
C2 C5 C4
D1 3 100nF 10nF_X7R_0603 100nF
INH
C20 GND BYPASS C17
U5V 5V 1F_X5R_0603 1F_X5R_0603
2
4
BAT60JFILM
C19 C13 C18
D 100nF 10nF_X7R_0603 100nF D
STMicroelectronics
Electrical schematics
Title:
STM32F407G-DISC1 ST-LINK/V2-A (SWD only)
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 2 of 6
1 2 3 4
27/34
Figure 11. MCU
28/34
Electrical schematics
1 2 3 4
U4A
PA0 23 97 PE0
PA0 PA0 PE0 PE0
PA1 24 98 PE1
PA1 PA1 PE1 PE1
PA2 25 1 PE2
PA2 PA2 PE2 PE2
PA3 26 2 PE3 BOOT1
PA3 PA3 PE3 PE3
PA4 29 3 PE4 VDD
PA4 PA4 PE4 PE4
PA5 30 4 PE5
A PA5 PA5 PE5 PE5 A
PA6 31 5 PE6
PA6 PA6 PE6 PE6
PA7 32 38 PE7 R34
PA7 PA7 PE7 PE7
PA8 67 39 PE8 10K
PA8 PA8 PE8 PE8
PA9 68 40 PE9 PB2
PA9 PA9 PE9 PE9
PA10 69 41 PE10
PA10 PA10 PE10 PE10
PA11 70 42 PE11 R32
PA11 PA11 PE11 PE11
PA12 71 43 PE12 510
PA12 PA12 PE12 PE12
PA13 72 44 PE13
PA13 PA13 PE13 PE13
PA14 76 45 PE14
PA14 PA14 PE14 PE14
PA15 77 46 PE15
PA15 PA15 PE15 PE15
SB19
VDD PB0 35 81 PD0
PB0 PB0 PD0 PD0
PB1 36 82 PD1
PB1 PB1 PD1 PD1
PB2 37 83 PD2
PB2 PB2 PD2 PD2
R29 R33
PB3
PB3 89
PB3 PD3
84 PD3
PD3
Must be close to the Crystal
4.7K 4.7K PB4 90 85 PD4
PB4 PB4 PD4 PD4
PB5 91 86 PD5
PB5 PB5 PD5 PD5
PB6 PB6 92 87 PD6
PB6 PB6 PD6 PD6
PB9 PB7 93 88 PD7 MCO
B PB7 PB7 PD7 PD7 MCO B
PB8 95 55 PD8
PB8 PB8 PD8 PD8
PB9 96 56 PD9
PB9 PB9 PD9 PD9
PB10 47 57 PD10
PB10 PB10 PD10 PD10
PB11 48 58 PD11
PB11 PB11 PD11 PD11 PH0
PB12 51 59 PD12 SB13
DocID022256 Rev 6
2
PC1 16
PC1 PC1 X2
PC2 17 0
PC2 PC2 8MHz
PC3 18 12 PH0-OSC_IN
PC3 PC3 PH0
1
PC4 33 13 PH1-OSC_OUT R24 220 C14
PC4 PC4 PH1
PC5 34 20pF
PC5 PC5
PC6 63 C16
PC6 PC6 R22
PC7 64 8 PC14-OSC32_IN
PC7 PC7 PC14
PC8 65 9 PC15-OSC32_OUT 0
PC8 PC8 PC15
3
PC9 66 6.8pF
C PC9 PC9 X3 C
PC10 78
PC10 PC10 PC14 MC306-G-06Q-32.768 (manufacturer JFVNY)
PC11 79 14 NRST SB16
PC11 PC11 NRST NRST
PC12 80 C27
PC12 PC12
2
PC13 7 94 BOOT0 R30 510 R21
PC13 PC13 BOOT0
0
STM32F407VGT6 6.8pF
VDD U4B R31 SB18
BOOT0 PC15
11
VDD5 VSS5
10 [N/A] SB15 Not Fitted
19 27
VDD12 VSS4
28 74
L1 R23 VDD4 VSS2
50 VDD
VDD1
fcm1608-0603 47 75
VDD2
C23 C21 100
VDD3
1uF 100nF
C22 C25 21 20
1uF 100nF VREF+ VSSA
22 49
VDDA VCAP1
6 73
VBAT VCAP2
R26 [N/A]
D C24 C35 C36 C33 D
C30
100nF 100nF
C32
100nF 100nF
STM32F407VGT6
2.2uF 2.2uF STMicroelectronics
C26 C31 C34 C29 C28
100nF 100nF 100nF 100nF 1uF Title:
STM32F407G-DISC1 MCU
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 3 of 6
1 2 3 4
UM1472
Figure 12. Audio
UM1472
1 2 3 4
A A
R61 R62
51 51
C54 C55
U7 0.022uF 0.022uF 2 CN4
Audio_SDA PB9 1 15
PB9 SDA HP/LINE_OUTA
Audio_SCL PB6 2 14
PB6 SCL HP/LINE_OUTB
3 31 3
A0 SPKR/HP R65 1
I2S3_MCK PC7 37 0 ST-225-02
PC7 MCLK
I2S3_SCK PC10 38 4
PC10 SCLK SPKR_OUTA+
I2S3_SD PC12 39 6
PC12 SDIN SPKR_OUTA-
I2S3_WS PA4 40 7
PA4 LRCK SPKR_OUTB+
Audio_RST PD4 32 9 C43 C45
PD4 RESET SPKR_OUTB-
8 0.1uF 0.1uF
R43 VP 3V
10 5
-VHPFILT VP
10K 11
B FLYN B
30 C44
AIN1B R47 R48
C47 C50 29 1uF(X7R) PA4 Audio_DAC_OUT
AIN1A
1uF(X7R) 1uF (X7R) 12 26 100 0
FLYP AIN2B R44
25
AIN2A
2V5 24 100K
AIN3B
DocID022256 Rev 6
13 23 R52
+VHP AIN3A C52
16 22 C51 100K
C59 VA AIN4B R53 10nF R54 R55
C40 C41 C53 34 21 PC3 PDM_OUT
1uF VD AIN4A
0.1uF 0.1uF 0.1uF 100 1uF(X7R) 1.2K 0
20 19
TSTO VQ R49
3V 36 28 PC4
TSTO AFILTB PC4
33 27 0
VL AFILTA
35 18 C57
DGND FILT+
C42 41
GND/Thermal Pad AGND
17 C46 1uF(X5R) Not Fitted
0.1uF C48 150pF(COG)
CS43L22 C56 150pF(COG)
I2C address 0x94 1uF(X5R)
C C
3V 3V
C60
100nF
Not Fitted C58
10uF
R64 U9
0 1 6
GND VDD
2 5 PC3 PDM_OUT
LR DOUT PC3
3 4 PB10 CLK_IN
R63 GND CLK PB10
0 MP45DT02
D D
STMicroelectronics
Electrical schematics
Title:
STM32F407G-DISC1 Audio
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 4 of 6
1 2 3 4
29/34
Figure 13. USB_OTG_FS
30/34
Electrical schematics
1 2 3 4
A A
3V
R67
620
3V
1
R51 LD8
R45 U6 47K Red
2
10K 2 3 R50 0 PD5 OTG_FS_OverCurrent
GND FAULT PD5
5 1
5V IN OUT
OTG_FS_PowerSwitchOn PC0 R46 0 4 CN5
PC0 EN
1
C49 VBUS
USB_Micro-AB receptacle
STMPS2141STR 2
B 4.7uF DM B
3
DP
4
ID
5
GND
DocID022256 Rev 6
0
Shield
VBUS_FS PA9 475900001
PA9
OTG_FS_DM PA11 R58 22
PA11
OTG_FS_DP PA12 R60 22
PA12
OTG_FS_ID PA10 R59 0
PA10
3V
R66
C C
U8 330
B3 A3
Vbus ID
C3 C1
D+out D+in
1
D3 D1
D-out D-in
A2 B1 LD7
Dz Pd1
B2 C2 Green
Pup Pd2
2
D2 R56
GND
3
47K
EMIF02-USB03F2 2 T1
9013
1
R57
[N/A]
Not Fitted
D D
STMicroelectronics
Title:
STM32F407G-DISC1 USB_OTG_FS
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 5 of 6
1 2 3 4
UM1472
Figure 14. Peripherals
UM1472
1 2 3 4
VDD VDD
A
Not Fitted A
R38
Not Fitted 100 R37
4
1
SW-PUSH-CMS
100K
B1
C38 NRST
NRST
SB1
4
1
SW-PUSH-CMS
100nF
3
2
R35
B2
PA0 C37
PA0
SB20 330
100nF
R39
3
2
220K
LD4
Green
LED4 PD12 R40 1 2
PD12
C39 3V U5 510
15 LD3
Reserved
1 4 PA5 SPI1_SCK Orange
VDD_IO SCL/SPC PA5 R36
100nF 14 6 PA7 SPI1_MOSI LED3 PD13 1 2
VDD SDA/SDI/SDO PA7 PD13
7 PA6 SPI1_MISO 680
SEL/SDO PA6
3 8 PE3 CS_I2C/SPI LD5
C NC CS PE3 C
2 Red
NC R41
LED5 PD14 1 2
PD14
5 680
GND
12 LD6
GND
13 9 PE1 MEMS_INT2 Blue
GND INT2 PE1 R42
16 11 PE0 MEMS_INT1 LED6 PD15 1 2
GND INT1/DRDY PE0 PD15
10 680
Reserved
LIS3DSH
MEMS LEDs
D D
STMicroelectronics
Electrical schematics
Title:
STM32F407G-DISC1 Peripherals
Number:MB997 Rev: D.1(PCB.SCH) Date: 8/9/2013 Sheet 6 of 6
1 2 3 4
31/34
Mechanical drawing UM1472
8 Mechanical drawing
9 Revision history
STMicroelectronics NV and its subsidiaries (ST) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to STs terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.