Home
STM32F4DISCOVERY STM32F4 high
Contents
1. ST LINK V2 LD1 red green LED 1 E Imi 2 red LED CN2 PWR SWD connector com Bun HE efi gt gt 9978 ST LINK DISCOVERY Selector 9 2 SES Hs l _ RF s stij QI St com stm32 4 discovery g7 O we Sa ee wa jt e 5 5V power GND eal 1 8 E 1 GND JP1 00 vo gl E supply input output lbp measurement NRST gt 4 sv 0 DD T 3V power e P7 B 14 15 supply output Pat Ge Po B PES Pc13 2 zw PES STM32F407VGT6 COP 2 PE2 SB1 B2 RESET Pas PEO Pcs 4 5 e Peo LD3 pe 1 e orange LED GND Pe P87 B1 user button cs ri 5 LD5 red LED PE10 Pe PE12 o User PD5 B2 reset button green LED LD4 1 15 Pcue ero blue LED LD6 13 11 2815 2i P1400
2. 16 4 6 Onboard audio 17 4 7 USB OTG supported 17 4 8 Motion sensor ST MEMS LIS302DL 17 17 4 10 OSC CIOCK _ 18 4104 OSC clock supply 18 4 10 2 OSC 32 KHz clock supply 18 Sold r bridges usse 19 4 12 Extension connectors 20 5 Mechanical drawing 30 6 Electrical schematics c oou rn RR Run 31 7 REVISION history 37 2 38 Doc ID 022256 Rev 2 437 STM32F4DISCOVERY List of tables List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 ON OFF Conventions dr ed ae ded do 5 TIT e Gee ee 13 Debug connector CN2 SWD 2 1 15 Solder 19 MCU pin description versus board function 20 Document revision history 2 37 Doc ID 022256 Rev 2 3 38 List of figures ST
3. 20 Doc ID 022256 Rev 2 23 38 Hardware and layout STM32F4DISCOVERY Table 5 MCU pin description versus board function page 5 of 10 MCU pin Board function Main Alternate function functions 00149307 6615755 01 1020 SI1 uoynqysnd q31 5 asn 250 9944 Ajddns SNO eNO SPI2 SCK 1252 CK 12 2 SCL USART3_TX OTG_HS_ULPI_D3 RX ER OTG HS 5 TIM2 PB10 47 34 M19 2 2 SDA USART3_RX OTG_HS_ULPI_D4 PB11 ETH RMII TX EN 48 35 ETH MII TX EN OTG HS SDA TIM2 CH4 SPI2 NSS 1252 WS 2 2 SMBA USART3_CK TIM1_BKIN CAN2_RX OTG HS ULPI D5 ETH TXDO ETH TXDO OTG HS ID SPI2 SCK 1252 CK USART3_CTS TIM1_CH1N PB13 CAN2_TX 52 37 OTG_HS_ULPI_D6 ETH_RMII_TXD1 ETH_MII_TXD1 OTG_HS_VBUS PB12 51 36 SPI2 MISO TIM1 CH2N 12 CH1 PB14 OTG HS DMUSART3 53 38 RTS TIM8 CH2N 1252 SD 24 38 Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 6 of 10 MCU pin Board function Main function PB15 Alternate functions SPI2 MOSI 1252 SD TIM1_CH3N TIM8_CH3N TIM12_CH2 OTG_HS_DP 0014401 54 6615755 1 uoynqusnd GAS asn 250
4. Table 5 MCU pin description versus board function page 9 of 10 MCU pin Board function 79 zci 8 amp ni o 0 28 90 9 Alternate 5 function functions 21810 8 5 212121816 3 k g 813 813 5 2 TIM4_ETR Em PEO FSMC_NBLO 97 17 DOMI D2 FSMC_NBL1 gt 1 DCMI 03 98 q 18 TRACECLK Ds PE2 FSMC A23 1 D 15 ETH_MII_TXD3 o 2 TRACEDO FsMC A19 5 TRACED1 PE4 FSMC_A20 3 13 DCMI_D4 TRACED2 FSMC 21 PES iTIM9 DCMI_D6 TRACED3 FSMC_A22 PE6 rIMo CH2 9 n DCMI_D7 FSMC_D4 PE7 TIM1_ETR 38 25 FSMC D5 PER TIM1_CH1N 39 29 FSMC D6 PE9 40 27 FSMC_D7 PE10 TIM1 CHON 41 28 FSMC_D8 PE11 TIM1 CH2 42 29 FSMC_D9 PE12 TIM1_CH3N 43 30 FSMC_D10 PE13 TIM1_ CH3 44 31 FSMC_D11 PE14 TIM1_CH4 45 32 28 38 Doc ID 022256 Rev 2 437 STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 10 of 10 MCU pin Board function 79 79 ric 1 olo oO Main Alternate 5 function functions 21810 8 5 2 515 gt o s 5 FSMC D12 PE1S TIM1 BKIN o PHO OSC IN 12 7 2 O 1 OSC OUT 13 o 8 2 3 2 4 2 5 2 6
5. Tod 0124 Zod 904 ead Said Pad cad 88d Tad CHd 104 9d Std Pod re THd OHd 1 Ast iN Jas 1 AS 200495 XAcelA Ls TXSZ 9 11008 9 OMS 1 ISAN L OIGMS SWL OCIOMS PNOL 200105 54 DIO ASN Sd DLO asn n WNIT LS n 3INIT LS 31 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Electrical schematics ST LINK V2 SWD only Figure 12 9 49 219905 2102 6 294 66 GMS 15 26115 S31u04329 90J92 N LS ams 45 1586 ANNLS G37 Woo 5 15 lt 440 5 AS df 4opjog uo 95 1188 uo ponm SAC 3490 6865 EN AS 114 091 9 Ag IXA 11001 43001 44001 43001 21 F INS SO HIASSLOS 12 WIMS 2 42 NI L iON 001
6. 09 oon 1078449 ays 25012 1sn y NI 9 0 0 6185 ors TEA Tad 11008 81 L 124 c9 5184 gt gt 19 te pied gt lt edd 09 lt gt lt 6 15 2184 gt lt da gt Lp gt 96 68d 56 884 gt t6 184 gt t6 984 gt 16 gt pad 68 gt 16 gt 9c 184 2 lt 1 4 88 904 8 lt 544 98 68 08 68 2 14 8 LLL gt 9L viVd 4 gt IL cvd 2 gt 69 gt 89 2 19 2 gt It ovd 4 oe gt 6c gt 9c 2 zvd gt ple 2 090 809 Woy 33 38 Doc ID 022256 Rev 2 5 32 4015 Electrical schematics Audio 9 jo pious 25 99 9 z668W 19qumN AMJAOOSIGFJICEMWLS 15 Figure 14 wur v RES s lt 6n ce anor 860 ION 40001 AE 6 0 900
7. 15 poo ee PD116 Pp12 65e Pas 013 P014 e e 2015 Nc Je We 2 gt green LED 107 gt LD8 red LED MS30005V2 Note Pin 1 of CN2 CN3 JP1 P1 and P2 connectors are identified by a square ky Doc ID 022256 Rev 2 9 38 Hardware and layout STM32F4DISCOVERY Figure 4 Bottom layout SB2 SB4 SB6 SB8 RESERVED 583 585 587 589 5811 NRST DEFAULT SB10 STM_RST SB13 X2 crystal SB14 X2 crystal SB12 SWO E 5815 crystal 5816 X3 crystal 98 o ee 5817 VDD from 5818 5819 1 ee 5820 B1 USER ee ee ee ee ee ee ee MS30004V1 10 38 Doc ID 022256 Rev 2 437 STM32F4DISCOVERY Hardware and layout 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 STM32F407VGT6 1 Mbyte of Flash memory 192 Kbytes of RAM LQFP100 14 x 14 MS30003V1 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
8. gt 5 AYJAODSIA lt NO s4eduin 9c 192 001 SNL 1 Lc ma ON e 85 6c EOTATEWLS 0 2802 4124 ISNW Nus 1 0 OMS 1 001 Wa 8501 7 2 2 101 dd 8501 225 OMS 1 TA SWIM WLS 888 688 LN 9 orams SNI NIS 1584 1 1402 985 188 62 2 2 STA vas 1 sas al YMS NNS 91895014618 zas eas xuri aye ZNO ION m amp WIL4I09 L V8 S x 001 A x 3 7 8 i eld O 10d pieog zg ION sor ou d 1185 ONMS 1 ISNI OIGAS SL WOMSAOL Doc ID 022256 Rev 2 32 38 Electrical schematics STM32F4DISCOVERY MCU Figure 13 jo 1294 2102 6 5 1668 0111 5 0 426 115 9 1 10N 89 755 090 9 905 X FOR LNO 950 5194 29 82d LL _ 104 2 gt 6L gt 8L _ 0104 2 99 __604 gt LNO NI 250 7104 79 Lod 9 _ 904 t sod tt bod 4 0 4 adoz m stl STA S 4 cigs 4
9. 9944 Ajddns SNO eNO 39 OTG HS ULPI STP ADC123 IN10 uQJeMwog PC1 PC2 ETH MDC ADC123 IN11 SPI2 MISO OTG_HS_ULPI_DIR TH_MII_TXD2 I2S2ext_SD ADC123 IN12 SPI2 MOSI 1252 SD OTG HS ULPI ETH TX CLK ADC123 IN13 XPNIV LNOG PC4 PC5 ETH_RMII_RX_DO ETH_MII_RX_DO ADC12 IN14 ETH RMII RX D1 ETH RX D1 ADC12 1 15 33 34 20 PC6 1252 8 1 SDIO D6 USART6 TX DCMI_DO TIM3_CH1 63 47 PC7 1253 8 CH2 SDIO D7 USART6 RX DOMI D1 TIM3_CH2 64 48 Doc ID 022256 Rev 2 25 38 Hardware and layout STM32F4DISCOVERY Table 5 MCU pin description versus board function page 7 of 10 MCU pin Board function Main function PC8 Alternate functions TIM8_CH3 SDIO_DO TIM3_CH3 USART6_CK DCMI_D2 0014401 6615755 1 uoynqusnd GAS asn 250 9944 Ajddns SNO eNO 45 9 125 2 8 4 SDIO D1 12 3 SDA DOMI D3 TIM3_CH4 66 46 PC10 SPI3_SCK l283 CK UARTA TX SDIO D2 DCMI_D8 USART3_TX 78 195 37 PC11 4 RX SPI3_MISO SDIO_D3 DCMI_D4 USART3_RX 1253 50 79 38 PC12
10. UM1472 71 User Manual STM32F4DISCOVERY STM32F4 high performance discovery board Introduction The STM32FA4DISCOVERY helps you to discover the STM32F4 high performance features and to develop your applications It is based on an STM32F407VGT6 and includes 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 2012 Doc ID 022256 Rev 2 1 38 www st com Contents STM32F4DISCOVERY Contents 1 Conventions ni 5 2 QUICK c PPP 6 2 1 Getting Started 6 2 2 System requirements 6 2 3 Development toolchain supporting the STM32F4DISCOVERY 6 2 4 Order code x usus Rex _____ ______ 6 3 Features eae 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 dud e 16 4 5 Pushbuttons
11. CH1 ETR 5 NSS 77 40 PBO TIM3_CH3 TIM8_CH2N OTG_HS_ULPI_D1 ETH RXD2 TIM1 CH2N ADC12_IN8 35 22 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 l283 CK TIM2 CH2 SPI1 SCK 89 OMS 28 22 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 4 of 10 MCU pin Board function Main function PB4 Alternate functions NJTRST SPI3_MISO TIM3_CH1 SPI1_MISO 1253 SD 0014401 6615755 1 uoynqusnd GAS asn 250 9944 Ajddns SNO eNO 25 5 12 1 SMBA CAN2 RX OTG HS ULPI D7 ETH PPS OUT 2 SPI1 MOSI SPI3 MOSI DCMI_D10 1253 50 91 26 12 1 5 4 1 2 OTG FS INTN DOMI D5 USART1_TX 92 195 23 7 PB8 12C1_SDA FSMC_NL DCMI_VSYNC USART1_RX TIM4_CH2 TIM4_CH3 SDIO_D4 10 1 DOMI D6 FS SCL ETH TXD3 12C1_SCL CAN1_RX 93 95 24 PB9 SPI2 NSS 1252 WS 4 CH4 11 CH1 OTG FS SDA SDIO D5 DOMI D7 I2C1 SDA CAN1 TX 96 vas
12. LEDs LD3 orange LD4 green LD5 red LD6 blue 2USB 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 Doc ID 022256 Rev 2 7 38 Hardware and layout STM32F4DISCOVERY 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 Embedded ST LINK V2 SW STM32F407VGT6 Header Header LED B2 LD3 to LD8 RST 1 MP45DT02 USER CS43L22 LIS302DL Mini Jack Micro USB MS30007V1 8 38 Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Hardware and layout Figure 3 layout
13. MS19920V1 12 38 Doc ID 022256 Rev 2 437 STM32F4DISCOVERY Hardware and layout 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 e Program debug the MCU on board e 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 Hardware requirements USB cable type A to mini B computer with Windows Vista or 7 Development toolchain Altium TASKING VX Toolset 23 Es Atollic TrueSTUDIO aig rt IAR EWARM MS19052V1 Table 2 Jumper states Both CN3 jumpers ST LINK V2 functions enabled for on board programming default Jumper state Description Both CN3 jumpers OFF ST LINK V2 functions enabled for application through external CN2 connector SWD supported Doc ID 022256 Rev 2 13 38 Hardware and layout STM32F4DISCOVERY 4 2 1 14 38 Using ST LINK V2 to program debug the STM32F4 on board To program the STM32F4 on bo
14. 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 execution from Flash Concurrent execution and data transfers and simplified resource allocation Outstanding power efficiency Ultra low dynamic power RTC lt 1 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 ona 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 Doc ID 022256 Rev 2 11
15. 08632 IN PHI15 01 lt gt GPIO PORT H 05632 OUT lt gt GPIO PORT Backup register DMA2 channels ETR as AF 140AF EXT IT WKUP gt 2 2 2 channels AF 01 0 CMD as C SDIO MMC gt K 1 channel AF 4 compl channels TIM1_CH 1 4 4 HULA ERI Tmi PWM es Tim14 16 1 channel AF BKIN as RX TX CK 4 compl channels TIM1 CH 1 4 channels 1 4 ETR TIM8 PWM 168 lt gt WWDG CTS RTS as AF BKIN as AF lt TX 2 channels as AF 2 3 gt irl CTS RTS as AF 1 channel as AF Timio 199 gt UART4 CL RX TX as AF 1 channel as AF gt lt TX as AF MOSI SD MISO SD ext SCK CK NSS WS MCK as AF MOSI SD MISO SD ext SCK CK NSS WS MCK as AF SCL SDA SMBA as AF TX CK smeard USART1 gt CTS ATS as AF Sy RX TX 775 88644 YsaRTe lt CTS RTS as AF MOSI MISO Ki SCK NSS as AF sen Time TM APB2 84 MHz APB142 MHz max SCL SDA SMBA AF VDDREF_ADC Temperature sensor K SCL SDA SMBA as AF analog inputs common to the 3 ADCs ADC1 8 analog inputs common to the ADC1 amp 2 EIOS gt KY RX 8 analog inputs to ADC3 7 3 ADC 3 c TX RX DAC1_OUT DAC2 OUT as AF AF
16. 1 xo POU xu IS is 029 19 54 54 010 Wd S4 DLO 54 SNA 54 010 35 38 Doc ID 022256 Rev 2 5 32 4015 Electrical schematics Peripherals Figure 16 9 19 gros 102161 z668WoqunN AYFAOIDSIGPAZEWLS Bu SIIUOIJIIIVOISIINN LS 089 t 2 A 8199 eng 901 lt 4 4 1 saa pow Ne 4 4 We 7 Be 12910 uoyng 14544 E P 49001 LED Nets 5 ISN i001 RT 1 10N Ja SWO HsSnd Ms SINHIN 206811 6 Y 8 Y 1 E poros 045 _ _ L 145 0 AE 60 9 4450 cc 255 Ott 0288 ANY seu ovd P 49001 8 001 A MR ION seu SWAN ILNI SINHIN XOS 1145 ISOW 1145 Doc ID 022256 Rev 2 36 38 STM32F4DISCOVERY Revision history 7 Revision history Table 6 Document revision history Date Revision Changes 27 Sept 2011 1 Initial release Added Section 4 1 STM32F407VGT6 microcontroller corrected 19 Jan 2012 2 Figure
17. 3 lt g 4 lt g 22 2 2 2 5 3 1 o0 2 2 2 5 2 23 2 49 2 50 2 1 2 2 2 49 2 50 57 Doc ID 022256 Rev 2 29 38 Mechanical drawing STM32F4DISCOVERY 5 Mechanical drawing Figure 10 STM32F4DISCOVERY mechanical drawing 66m d 33m SEHR d 33m poe E E e e i MB997B fee 5 ag 9 E E oo E E 5 2 e T T www st com stm32f4 discovery 442124 0 o E E E E 1 14 15 PB10 11 PB12 Pe13 PB14 15 PD9 10 2 Pp13 514 PD15 ND E 53 34mm 7 6 33m 30 38 Doc ID 022256 Rev 2 3 Electrical schematics STM32F4DISCOVERY Electrical schematics 6 STM32F4DISCOVERY Figure 11 19 meus 2102161 4 48 2668 5 5 15 ooquos spereudueq 01 4 n 2oquos ormpny n CXSC 19peoH Ii i Tod 30d 624 8Od 6Vd
18. 38 Hardware and layout STM32F4DISCOVERY Figure 6 STM32F407VGT6 block diagram CLK NE 3 0 A 23 0 data RAM 64 y 5181 0 OEN WEN NBL 3 0 NL NREG NWAIT IORDY CD IOWR 1 2 3 LINTN NIIS16 as AF NJTRST JTDi JTCK SWCLK lt amp SW JTDO SWD JTDO TRACECLK S RU 3 0 4 3 01 ARM Cortex M4F 168 MHz RNG ACCEL RMII as AF AHB bus matrix 857 as 9 Camera HSYNC VSYNC E SRAM 112 KB interface PIXCLK D 13 0 DP DM ULPI CK D 7 0 DIR STP NXT 16 KB O USB DP SCL SDA INTN ID VBUS SOF 1 FS SCL SDA INTN ID VBUS SOF FIFO JE DMA1 8 Streams pon AHB1 150 MHz y Power managmi FIFO DD12 Vpp 1 8 to 3 6 V Voltage aki regulator V 3 3 V to 12 V S9 GVDD 1 2 Supply 15 0 _ supervision POR PDR 15 0 4 Vssa ORT B PVD ARST PC 15 0 PORT VDDA VDD PD 15 0 XTAL OSC OSC IN 4 16 MHz OSC OUT 15 0 eset amp PF 15 0 control PORT F Standby i CL 1 65 to 3 6 V PORT G
19. 99051 950 21852 009 4dos1 2 anto PAUL 10N 9v LI AY c 2L vrmav TA 0151 OA OISL 4 001 E MOOT 19 Ze HENIV VA M VENIV dHA 30094 We UNE S oc ES 100 ova iva 16 ENT 0t IN 701 iz Ad i Sto 13 6 MED 154 ompny 1 8100 ads 9 1000205 wias SERE 20 55 18 0 ESTI ANY 8 ananas 5 DS 108 vas ony 812200 552 9759 16 19 NITAH vas A gt 12000 Doc ID 022256 Rev 2 34 38 Electrical schematics STM32F4DISCOVERY USB_OTG_FS Figure 15 9 Jo 95 ZLOZ 6 1 5 804 8 z668W oqunN S4 910 GSN AH3AOOSIGFJZEWIS SIIUOIJII VOISIIN LS PAWL ION LSA 106 cacoasn zoawa X ENS e c sng ose 994 100006SLt Pits 2 5 3 a 2 3 S Wa _ EE SNO 4 1no NI i 0 14 004 00 sd oro 0 944 1 ANO 15
20. IN4 DAC1 OUT 0014401 6615755 1 201 8 1 06511 uoynqusnd GAS asn 250 9944 Ajddns SNO eNO 5 SPI1 SCK OTG HS ULPI CK TIM2 CH1 ETR 8 CHIN ADC12 IN5 DAC2 OUT 945 195 SPI1_MISO TIM8_BKIN TIM13 1 DOMI PIXCLK 1 TIM1_BKIN ADC12_IN6 31 ods PA7 SPI1_MOSI TIM8_CH1N TIM14_CH1TIM3_CH2 ETH DV TIM1_CH1N RMII_CRS_DV ADC12 1 7 OGS IGS VaS PA8 MCO1 USART1_CK TIM1_CH1 l2C3 SCL OTG FS SOF 67 43 PA9 PA10 USART1_TX TIM1_CH2 12 3 SMBA DCMI_DO OTG_FS_VBUS USART1_RX TIM1_CH3 OTG_FS_ID DCMI_D1 69 Doc ID 022256 Rev 2 21 38 Hardware and layout STM32F4DISCOVERY Table 5 MCU pin description versus board function page 3 of 10 MCU pin Board function Main function PA11 Alternate functions USART1_CTS CAN1_RX TIM1_CH4 OTG_FS_DM 0014401 6615755 14206501 GAS asn 250 9914 Ajddns SNO eNO 12 USART1_RTS CAN1_TX TIM1_ETR OTG_FS_DP 71 dd PA13 JTMS SWDIO 72 42 PA14 JTCK SWCLK 76 5 OIGMS 39 PA15 JTDI SPI3_NSS 1253_ 5 TIM2
21. M32F4DISCOVERY 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 4 38 STMS2F4DISCOVERY seurasi cc eee 1 Hardware block diagram 8 TOP AVOUT soseri acting erra eai Baby doe doen eat 9 Bottom layout LI 10 STM32F407VGT6 package 11 STM32F407VGT6 block diagram 12 Typical configuration 4 13 STM32F4DISCOVERY connections 14 ST Link connections image 15 STM32F4DISCOVERY mechanical drawing 30 5 2 5 1 4 0 0 1 1 324 0 2 4 31 ST LINK V2 SWD 4 4 4 2 4 32 rr 33 PUES 34 USB OIG FS za nis a Miao Iria dg 35 ic RR TIT 36 Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Conventions 1 Conventions Table 7 provides the definition of some conventions used in the present document Table 1 ON OFF conventions Conven
22. MCU name modified Figure 2 and Chapter 6 Electrical schematics Doc ID 022256 Rev 2 37 38 STM32F4DISCOVERY 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 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 ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITH
23. OUT 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 UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK 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 2012 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Ge
24. SCOVERY 4 12 Table 5 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 MCU pin description versus board function page 1 of 10 MCU pin Board function Main function BOOTO Alternate functions VPP 00144401 6615755 065 1 uoynqusnd asn 250 9944 Ajddns SNO 21 NRST 19534 ISHN PAO WKUP USART2 CTS USARTA TX ETH CRS TIM2 CH1 ETR 5 CH1 TIM8_ETR ADC123 INO WKUP 23 dasn PA1 USART2 RTS USARTA RX ETH REF CLK ETH MII RX CLK 5 CH2 TIMM2 2 ADC123 IN1 24 PA2 USART2 TX 5 9 1 TIM2_CH3 ETH_MDIO ADC123 IN2 25 USART2 RX 5 CH4 TIM9 CH2 2 CH4 OTG HS ULPI DO0 ETH MII COL ADC123 IN3 26 20 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 2 of 10 MCU pin Board function Main function PA4 Alternate functions SPI1_NSS SPI3_NSS USART2_CK DCMI_HSYNC OTG_HS_SOF 1253 WS ADC12
25. SET OFF B2 pushbutton is not connected the NRST pin of the STM32F407VGT6 MCU SB20 ON B1 pushbutton is connected to PAO B1 USER OFF B1 pushbutton is not connected to SB17 OFF VDD is not powered from 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 STM32F407VGT6 MCU SB11 NRST NRST signal of the CN2 connector is not connected to the NRST pin of the STM32F407VGT6 MCU ON SWO signal of the CN2 connector is connected to PB3 OFF 5812 SWO OFF SWO signal is not connected OFF No incidence STM32F103C8T6 ST LINK V2 NRST signal ON STM32F103C8T6 ST LINK V2 NRST signal is connected to GND signal of the STM32F407VGT6 MCU is held low through a 510 ohm pull SB10 STM_RST ON down resistor SB18 BOOTO OFF signal of the STM32F407VGT6 is held high through a 10 Kohm pull up resistor The BOOT1 signal of the STM32F407VGT6 MCU is held high through OFF 10 Kohm pull up resistor 5819 BOOT1 ON The BOOT1 signal of the STM32F407VGT6 MCU is held low through 510 ohm pull down resistor 1 Default SBx state is shown in bold 2 5813 5814 are OFF to allow the user to choose between and X2 crystal for clock source 3 Doc ID 022256 Rev 2 19 38 Hardware and layout STM32F4DI
26. UART5 TX CK DOMI D9 SPI3 MOSI 1253 SD USART3 CK 80 NIAS 35 PC13 PC14 RTC_AF1 OSC32 IN PC15 OSC32 OUT 22050 22050 PDO FSMC D2 CAN1 RX 81 36 26 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 8 of 10 MCU pin Board function 70 zci Q _ o 9 o o Alternate 5 5 0 0 function functions 21810 8 5 212121816 2 os 5 13 FSMC D3 PD1 TX 82 33 TIM3 ETR 22 7 DCMI_D11 FSMC_CLK _ USART2_CTS 9 FSMC NOE m PD4 USART2_RTS BS us FSMC NWE 2 E PDS USART2_TX o 27 FSMC NWAIT i USART2 RX i 59 USART2 CK PD7 FSMC NE1 88 27 FSMC NCE2 FSMC D13 PD8 UsART3 TX 99 ze FSMC D14 PD9 UsARTa 56 41 _015 PD10 USART3 CK 57 42 FSMC A16 PD11 CTS 93 5 17 PD12 TIM4 CH1 59 m 44 USART3 RTS m 9 FSMC A18 m PD13 TIM4 CH2 60 z 45 FSMC D0 I PD14 sl 5 FSMC D1 w PD15 TIM4 62 c 47 ky Doc ID 022256 Rev 2 27 38 Hardware and layout STM32F4DISCOVERY
27. ard simply plug in the two jumpers on 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 STMS32F4DISCOVERY connections image CN2 SWD connector CN3 jumpers ON sv PEG PE2 16 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout 4 2 2 Note 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 5811 must be OFF if you use CN2 pin 5 in your external application 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 Figure 9 ST Link connections image CN2 SWD connector WWW A pH iscovery E ae Tam em 1 ae 8 i us 1117 CN3 jumpers OFF 3 Doc ID 022256 Rev 2 15 38 Hardware and layout STM32F4DISCOVERY 4 3 4 4 4 5 16 38 Power supply and power selection The power supply is provided either by the host PC through the USB cable or by an external 5V powe
28. ered R68 removed Oscillator from external PHO From external oscillator through 7 of the P2 connector Configuration needed SB13 closed SB14 closed R25 and R68 removed 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 5816 closed SB15 closed R21 and R22 removed a Asthe frequency supplied by X2 is the same as MCO 8 MHz R25 and R68 are soldered Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Hardware and layout 4 11 Solder bridges Table 4 Solder bridges Bridge State Description OFF X2 C14 C15 R24 and R25 provide a clock 5 13 14 X2 crystal 2 PHO 1 are disconnected from P2 ON PHO 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 X3 C16 C27 R21 and R22 deliver a 32 KHz clock SB15 16 BET PC14 PC15 are not connected to P2 X3 crystal ON PC14 PC15 are only connected to P2 Remove only R21 R22 SB1 ON B2 pushbutton is connected to the NRST pin of the STM32F407VGT6 MCU B2 RE
29. r supply The D1 and D2 diodes protect the 5V and 8V pins from external power supplies 5V and 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 e 5Vcan 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 1 1 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 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 e User LD5 red LED is a user LED connected to the I O PD14 of the STM32F407VGT6 e User LD6 blue LED is a user LED connected to the I O PD15 of the STM32F407VGT6 e USBLDT green LED indicates when VBUS is present on CN5 and is connected to PA9 of the STMS2F407VGT6 USB LD8 red LED indicates an overcurrent from VBUS of CN5 and is connected to the PD5 of the STM32F407VGT6 Pushbuttons e B1USER User and Wake Up b
30. rmany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 38 38 Doc ID 022256 Rev 2 437
31. s motion will also control the PC cursor 5 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 System requirements e Windows PC XP Vista 7 USB type A to Mini B USB cable Development toolchain supporting the STM32FADISCOVERY e Altium TASKING VX Toolset Atollic TueSTUDIO EWARM e MDK ARM Order code To order the STM32F4 high performance discovery board use the order code STM32F4DISCOVERY Doc ID 022256 Rev 2 437 STM32F4DISCOVERY Features 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 11530201 ST MEMS motion sensor 3 axis digital output accelerometer MP45DT02 ST MEMS audio sensor omnidirectional digital microphone 5431 22 audio DAC with integrated class D speaker driver Eight LEDs 101 red green for USB communication LD2 red for 3 3V power on Four user
32. t 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 20 80 and it is capable of measuring acceleration with an output data rate of 100 Hz or 400 Hz The STM32F4 controls this motion sensor through the SPI interface Idd Jumper JP1 labeled Idd allows the consumption of STM32F407VGT6 to be measured by removing the jumper and connecting an ammeter e Jumper on STM32F407VGT6 is powered default e Jumper off an ammeter must be connected to measure the STM32F407VGT6 current if there is no ammeter the STM32F407VGT6 is not powered Doc ID 022256 Rev 2 17 38 Hardware and layout STM32F4DISCOVERY 4 10 4 10 1 4 10 2 18 38 OSC clock OSC clock supply If PHO and PH1 are only used as GPIOs instead of as a clock then 5813 5814 are closed and R24 R25 and R68 are removed e MCO from ST LINK From of the STM32F103 This frequency cannot be changed it is fixed at 8 MHz and connected to PHO OSC_IN of the STM32F407VGT6 Configuration needed 5813 5814 OPEN R25 removed R68 soldered Oscillator onboard From X2 crystal For typical frequencies and its capacitors and resistors please refer to the STM32F407VGT6 Datasheet Configuration needed 5813 5814 OPEN R25 sold
33. tion Jumper JP1 ON Jumper fitted Definition Jumper JP1 OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open Doc ID 022256 Rev 2 5 38 Quick start STM32F4DISCOVERY 2 2 1 2 2 2 3 2 4 6 38 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 STM32FADISCOVERY and for demonstration software visit www st com stm32f4 discovery 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 A to micro B between PC and 5 connector then the board is recognized as standard mouse and it
34. utton connected to the I O PAO of the STM32F407VGT6 e B2 RESET Pushbutton connected to NRST is used to RESET the STM32F407VGT6 Doc ID 022256 Rev 2 437 STM32F4DISCOVERY Hardware and layout 4 6 4 7 4 8 4 9 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 12 connection or analog input signal e The sound come independently from different inputs ST MEMS microphone MP45DTO2 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 e The sound can be output in different ways through audio DAC Using 125 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 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 e 107 green LED indicates when VBUS is active LD8 red LED indicates an overcurrent from connected device Motion sensor ST MEMS 11530201 The LIS302DL is an ultra compac
Download Pdf Manuals
Related Search
Related Contents
TDP3500 3.5 GHz Differential Probe Quick Start User Manual district version - E-Com Opérateur CREA_CHAMP Spalding 89231CA User's Manual 1 安全に使用するために はじめに 2 『引ク落ツ』とは 3 ゲームの Targus 16" Slipcase Sony VGN-CR203E/N Important Notice 安全データシート S-75 • S-100 • S-150 etapa de potencia manual de instrucciones Copyright © All rights reserved.
Failed to retrieve file