background image

January 2012

Doc ID 022256 Rev 2

1/38

UM1472

User Manual

STM32F4DISCOVERY

STM32F4 high-performance discovery board

Introduction

The STM32F4DISCOVERY helps you to discover the STM32F4 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

www.st.com

Summary of Contents for UM1472

Page 1: ...discover the STM32F4 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 S...

Page 2: ...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 Pushbutto...

Page 3: ...022256 Rev 2 3 38 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 19 Table 5 MCU pin description versus board function 2...

Page 4: ...ure 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...

Page 5: ...ides 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...

Page 6: ...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...

Page 7: ...ernal 5V supply voltage External application power supply 3V and 5V LIS302DL ST MEMS motion sensor 3 axis digital output accelerometer MP45DT02 ST MEMS audio sensor omnidirectional digital microphone...

Page 8: ...ge 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 Figur...

Page 9: ...1 10 0 0 0 1 0 0 12 3 0 4 2 3 0 0 3 0 2 0 2 0 5 2 2 1 678 9 1 00 0 1 1 7 0 0 0 0 0 2 2 2 0 2 1 AB 9CC DE 2 0 2 6 0 65 67 96 D F A AG DD7 2 2 0 2 HHHI GIJKLM GL N 8CO JKPABQ E 22 3 6 RED GREEN 37 CONN...

Page 10: ...are and layout STM32F4DISCOVERY 10 38 Doc ID 022256 Rev 2 Figure 4 Bottom layout 3 3 3 3 3 6 3 3 3 3 2 3 26 5 4 3 53 2 3 6 FROM 6 3 4 3 234 3 4 3 34 234 3 8 CRYSTAL 3 8 CRYSTAL 3 8 CRYSTAL 3 8 CRYSTAL...

Page 11: ...S 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 Outstan...

Page 12: ...SMCARD IR SMCARD IR SMCARD IR SMCARD IR B B B B B B B B 43 243 AS 43 243 AS 3 AS 6 4 TO 6 0 3 3 3 AS 3 53 0 0 24 0 0 0 24 0 4 37 2 ORTEX Z 3 53 53 6 4 05 4234 4 4 37 4 42 42 4 37 THERNET OR 2 AS AS 5...

Page 13: ...D 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...

Page 14: ...ogram 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...

Page 15: ...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...

Page 16: ...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...

Page 17: ...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 ind...

Page 18: ...e 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...

Page 19: ...red 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...

Page 20: ...d function page 1 of 10 MCU pin Board function Main function Alternate functions LQFP100 CS43L22 MP45DT02 LIS302DL Pushbutton LED SWD USB OSC Free I O Power supply CN5 CN2 P1 P2 BOOT0 VPP 94 21 NRST 1...

Page 21: ...IN6 31 SDO 18 PA7 SPI1_MOSI TIM8_CH1N TIM14_CH1TIM3_CH2 ETH_MII_RX_DV TIM1_CH1N RMII_CRS_DV ADC12_IN7 32 SDA SDI SDO 17 PA8 MCO1 USART1_CK TIM1_CH1 I2C3_SCL OTG_FS_SOF 67 43 PA9 USART1_TX TIM1_CH2 I2C...

Page 22: ..._NSS 77 40 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 TRAC...

Page 23: ...SART1_TX 92 SCL 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_CH...

Page 24: ...T3_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 SP...

Page 25: ...HS_ULPI_NXT ETH_MII_TX_CLK ADC123_IN13 18 DOUT AIN4x 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_...

Page 26: ...C11 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 SDIN 35 PC13 RTC_AF1 7 12 PC14 OSC32_IN 8 OSC32_IN 9 PC15 OSC32_OUT 9 OSC...

Page 27: ...FSMC_NCE2 88 27 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 GREEN 44 PD13 FSMC_A18 TIM4_...

Page 28: ...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 TI...

Page 29: ...T 8 5V 3 5V 4 3V 5 3V 6 VDD 3 VDD 4 VDD 22 GND GND GND 5 3 1 GND 2 GND 5 GND 23 GND 49 GND 50 GND 1 GND 2 GND 49 GND 50 Table 5 MCU pin description versus board function page 10 of 10 MCU pin Board fu...

Page 30: ...Mechanical drawing STM32F4DISCOVERY 30 38 Doc ID 022256 Rev 2 5 Mechanical drawing Figure 10 STM32F4DISCOVERY mechanical drawing...

Page 31: ...BOOT0 PH1 PH0 NRST MCO PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PD0 PD1 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 U_STM32Fx STM32Fx SchDoc PD5 PA11 PA12 P...

Page 32: ...38 PA3 13 VSS_1 23 PA4 14 PB3 JTDO 39 PA5 15 VDD_1 24 PA6 16 PB4 JNTRST 40 PB12 25 PB5 41 PB13 26 PB6 42 PB14 27 PB7 43 PB15 28 BOOT0 44 PA8 29 PB8 45 PA9 30 PB9 46 PA10 31 VSS_3 47 PA11 32 VDD_3 48...

Page 33: ...1 24 PA2 25 PA3 26 PA4 29 PA5 30 PA6 31 PA7 32 PC4 33 PC5 34 PB0 35 PB1 36 PB2 37 PE7 38 PE8 39 PE9 40 PE10 41 PE11 42 PE12 43 PE13 44 PE14 45 PE15 46 PB10 47 PB11 48 PB12 51 PB13 52 PB14 53 PB15 54 P...

Page 34: ...S3_SCK I2S3_SD Audio_DAC_OUT C51 1uF X7R PDM_OUT R53 100 R52 100K R44 100K C52 10nF R54 1 2K 3V CLK_IN PDM_OUT C60 100nF C58 10uF R63 0 R64 0 3V 1 3 2 CN4 ST 225 02 PC3 PA4 PC3 PB10 PC3 PB10 PB6 PB9 P...

Page 35: ...PA12 PA10 C49 4 7uF R46 0 R59 0 R50 0 VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 0 USB_Micro AB receptacle CN5 475900001 OTG_FS_PowerSwitchOn OTG_FS_OverCurrent VBUS_FS OTG_FS_ID OTG_FS_DM OTG_FS_DP R58 22 R6...

Page 36: ...ED4 C38 100nF R39 220K VDD 1 2 3 4 B1 SW PUSH CMS SB20 PA0 R35 330 R38 100 USER WAKE UP Button NRST NRST RESET Button C37 100nF R37 100K VDD 1 2 3 4 B2 SW PUSH CMS SB1 Not Fitted PA0 PD12 LED3 LED5 LE...

Page 37: ...7 38 7 Revision history Table 6 Document revision history Date Revision Changes 27 Sept 2011 1 Initial release 19 Jan 2012 2 Added Section 4 1 STM32F407VGT6 microcontroller corrected Figure 3 MCU name...

Page 38: ...ED 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...

Reviews: