Home
Discovery kit for STM32F407/417 lines
Contents
1. LD1 red green LED COM LD2 red LED CN2 PWR SWD connector g n efi Vi L E 997 ST LINK DISCOVERY eB Selector o E ef 25 dx fM 5 4 discovery y 25 E ae L aha 5V power GND GND ge 5 e I GND GND H JP1 vop di E eel supply input output lpp measurement NRST 4 0 Pcoe 5 m PHO PH1 Pcs Pcz gt H PC14 5 supply output Pat PA0 1 2 4 STM32F407VGT6 s PE SB1 B2 RESET PA7 e a PEO Pcs of T vig amp 846 LD3 mi e voo orange LED PB2 a ee e P57 B1 user button p PBs LD5 red LED PES 10 PD7 P83 PE 12 o User Reset A B2 reset button green LED LDA 13 PE14 2 8 Pp4 PE15 e 4725 PD11 PD2 PB12 12 PDO blue LED LD6 eje eret 18
2. df opis 42pjog uo 95 0 001 5 ii ANNIS GST 50 i 6 WO2 tat ANIT LS lt 440 sJeduun 32 1 51 NO ams po sas NO _ apis Jopjos uo pasty e ie 10N 7 001 orams SNIFWIS 7 985 OON 39 6c COTATEWLS 01 250 2 151 AM 9 WIOMS Ir WIS dem AE cas E zias aa LAO SM 8 ISSN 1185 _ OMSL OIAMS SNL 5 10N 918260142615 eu WIMS NI WIMS _ 10N O 10d peog DoclD022256 Rev 4 36 42 9 jo ENS tlOzivz swgd z668W 9qunN 2 18 SL T m I 822 600 439 92 5 15 4900 4900 4200 Electrical schematics Figure 13 MCU PAULA 10N Naso 5 SR 8185 I vn 3489 i 9 LDALOPICEINLS Sas Wem ond 01008 6 L tlod 08 _ 104 89 25 090 0 9050 9185 ISIN 6L Mod x
3. PDS 1 012 Fp13 14 PDp15 ND E e N N 66m DoclD022256 Rev 4 Electrical schematics UM1472 Electrical schematics 6 Figure 11 STM32F4DISCOVERY Jo 112245 5 4669 AYFAOISIOPAZEWLS uL CXSC ooquos sp1ouduoq sperouduod N 200495 n 2001496 XATENLS XJTENLS N TXST PLH LLOOH OMS_L LISAN L OIGAS SIAL OCIDAS PSOL 204496841 DLO 5 Sd 010 asa MINIT 15 2OGHOS ZA ANIT 15 35 42 DoclD022256 Rev 4 0 1472 9 30 2995 LO0c vc S medq fHOS SOd LO Z668MJoqunN juo GMS ZA MNIT LS AMHSAOOSIGFJZEWLS pu S21U0J329 90J9IIN 1 S uo 110 090 US Bm 49001 5090 4001 49001 810 610 SAT 462145866071 EN 40 45 1 Electrical schematics Figure 12 ST LINK V2 SWD only AS 141091 4 4 mpa OMHECWSS ETT IN AS 49001 atoor 49001 41001 WS S0 AWASLOS 9IX 80 ne SWO lt _
4. 1 41 DoclD022256 Rev 4 3 42 List of figures UM1472 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 42 STM32F4DISGCOVERY 2 525550560 DG eda eee Dee ea ek ee 1 Hardware block diagram 4 8 layout uomo abe da ee 9 Bottom layout Did toe aaa ke ee 10 STM32F407VGT6 package u erir sakur re n EREE 11 STM32F407VGT6 block diagram 2 12 Typical configuration 13 STM32F4DISCOVERY connections image 14 ST Link connections 15 STM32F4DISCOVERY mechanical drawing 2 34 STMS32FADISCOVXERY cse emm gg RT Re 35 ST LINK V2 SWD 2 2 36 rrr 37 cs 38 USB FS dp Re cepe lA ede 39 Peripherals cr ucro ERI Gur tM basate Fu Rae 40 DoclD022256 Rev 4 0 1472 Conventions Conventions Table 1 provides the definition of some conventions used in the present d
5. 10022256 Rev 4 13 42 Hardware and layout 4 2 1 Using ST LINK V2 to program debug the STM32F4 on board UM1472 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 CN2 SWD connector PES G PE 527132 PBs BOOTO P86 4 Jumpers gt PEN 6 12 User 1 APE 3 X2Y 434 77 e 722 255 MSv33176V1 14 42 DoclD022256 Rev 4 4 0 1472 Hardware and layout 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 Table 3 Debug connector CN2 SWD 1 VDD_TARGET VDD from application 2 SWCLK SWD clock 4 SWDIO SWD data input output 5 NRST RESET of target MCU 6 SWO Reserved Figure 9 ST Link connections image CN2 SWD connector Jumpers OFF MSv33177V1 4 10022256 Rev 4 15 42
6. JON asx an 9 0 Dic APRI ison sr LIH 5 0151 OA OLSL Grant 001 Wad dd 4901 ESY Ic MN E 4 6 A001 152 u B AA 00494 4 AM uL gra oz 001 9c ae 170 Lyd 6c 0 lt NATL c y ids Wo EE 48100 WAdS SOUT i vino anas NIAS 5 100 xs ors 50 55 15 0 4 48 ov ALNO 105 vas 41020 0 4112000 lt 125 vas DoclD022256 Rev 4 38 42 Electrical schematics UM1472 15 USB_OTG_FS Figure 9 Jo 90045 lOZ vz s wd 6 S4 910 5 AMJAOOSIGFJCEWLIS ET 21U0J 29 90J9IIN S PAUL 10N LSA 106 LA E cacoasn zoaiwa JL L m I man za N I8 moq CY ung 99 10000654 c PPus 8 2 E 3 i mn wa HISIPIZSdIALS Na momomo soro lt SU emi due pow on 15 oc 19 S4 010 dd S4 DIO Wd S4 DLO
7. 7 UM1472 life augmented User manual January 2014 Discovery kit for STM32F407 417 lines Introduction The STM32F4DISCOVERY helps you to discover the STM32F407 amp 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 moni 4 dii 57 MS mui 4 46 1 Picture not contractual DoclD022256 Rev 4 1 42 www st com Contents UM1472 Contents 1 CONVENTIONS cs va Hee SPERARE EE ERES RE ESI E EE tees 5 2 QUICK 6 2 1 Getting Started cT 6 2 2 System requirements 6 2 3 Development toolchain supporting the STM32F4DISCOVERY 6 2 4 Order code Rer Se a EE ee e Sa eee 6 3 vous zv eu ee Sows be a eee eee eee 7 4 Hardware and 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
8. Hardware and layout UM1472 Table 5 MCU pin description versus board function continued MCU pin Board function Alternate functions 00 93071 2216952 Z0LGStPdli 250 9944 7 o c 5 9 lt 5406611 10 1420517 2 2 SDA USART3_RX OTG HS ULPI D4 PB11 ETH RMII TX EN 135 MII TX EN OTG HS SDA 2 SPI2 NSS 1252 WS I2C2 SMBA USART3 TIM1 BKIN 2 RX OTG HS ULPI D5 RMII TXD0 OTG HS ID SPI2 SCK 1252 CK USART3 CTS CH1N PB13 2 TX 5 el e BJIo a OTG HS ULPI D6 ETH RMII TXD1 ETH TXD1 OTG HS VBUS PB12 SPI2 MISO 1 CH2N TIM12 CH1 4 OTG_HS DMUSART3 53 8 _RTS TIM8_CH2N 1252 SD 26 42 DoclD022256 Rev 4 0 1472 Hardware and layout Table 5 MCU pin description versus board function continued MCU pin Alternate functions SPI2 MOSI 1252 SD 1 CH3N 8 CH3N TIM12 CH2 OTG HS DP OTG HS ULPI STP ADC123 IN10 00Ld3O1 ETH MDC Bel ADC123 IN11 1 SPI2 MISO HS DIR TH TXD2 252 SD ADC123 IN12 SPI2 MOSI 1252 SD OTG HS ULPI NXT ETH MII TX CLK ADC123 IN13 D0 MII D0 ADC12 IN14 0016759 Z0LGStPdli
9. lt gt 12C3 SMBUS SCL SDA SMBA as AF VDDA ADC1 ADC2 E 1 1 6 TX RX DAC2 ADC 3 bxCAN2 TX RX DAC1_OUT DAC2 OUT as AF as AF MS19920V1 12 42 DoclD022256 Rev 4 Ly 0 1472 4 2 Hardware and layout 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 Hardware requirements USB cable type A to mini B computer with Windows Vista or 7 Development toolchain Altium TASKING VX Toolset a Atollic TrueSTUDIO IAR EWARM INL Keil MDK ARM MS19052V1 Table 2 Jumper states Jumper state Description Both CN3 jumpers ON ST LINK V2 functions enabled for on board programming default ST LINK V2 functions enabled for application through external CN2 Both CN3 jumpers connector SWD supported
10. 4 SNAJA uoqonasmA od 54 DIO 39 42 DoclD022256 Rev 4 0 1472 Electrical schematics Figure 16 Peripherals 9 jo 9545 2 4668W3 qunN AM3AOOSIGFAZEWLS n S21U0J329J 80J9I IN 1 S 2 1 Tra 2 dea uoyng 15534 28 SWO Hsnd Ms 7001 LEN 49001 Pom aa 185 DN 9 polita 10N HSAESIT gt PoArasoy LIN SAN i EE ae 91 TINT SWAIN 6 M 145 2 SO fd 8 52 Hs EM ag OSIN 1145 sva gt Mai ISOW 1145 Ivi 5 49001 XOS 1145 sva r B 1 ST sn AE 60 uong d r33vM 9 35 cc Ott ozas 2 gt o mm Seu ovd 2 44001 o UE A lo TON seu DoclD022256 Rev 4 40 42 0 1472 Revision history 7 Revision history Table 6 Document revision history Date 27 Sept 2011 Revision Changes Initial release 30 Jan 2012 28 Nov 2013 29 Jan 2014 Added Section 4 1 STM32F407VGT6 microcontroller corrected Figure 3 MCU name modified Figure 2 and Chapter 6 Electrical schematics Modified Table 5 PE2 entries Updated for board rev C Modified
11. I gt gt 8L 1 1489 EE 99 604 1 d INO 7 OSO IOd 6 S9 80d 01 0503124 8 9 04 919 9 90d n adoz i Yt Sod oa INO 2SO IHd NI 2S0 0Hd 81 Eod aT fe 9I 10 adoz ST 004 79 76 sigd 198 19 fc vI d 09 zs eiga gias Tad 66 Is zigd 85 8 dd 15 Lp 0184 6dd 96 96 6Hd gad _ sc S6 Lad 88 t6 18d 684 9dd 18 16 984 98d S d 98 16 Said tad s8 06 ar pis 01 25012 24 18n AI v8 68 edd ced zad _ 68 Le Cad c8 9 184 Odd 18 s Odd siad 99 LL Siva tiad Sb 9L u clad mad OL 0144 69 Olya _ Ov 89 GVd 6E 19 8Vd L d 8 LVd S Ig 9 4 v 0t v d 60 11008 90 I St Wd Tid 86 vc Vd 16 ven UM1472 37 42 10022256 Rev 4 0 1472 Electrical schematics Jo 732945 Z668MW 9qunN AYFAOISIGFAZEWLS 15 Figure 14 Audio Ol d t CENT n 10N 6 0 1 OTE DooMdos 950 85 500 4dos1
12. USART2_RTS FSMC_NWE USART2_TX FSMC_NWAIT USART2_RX USART2_CK FSMC NE1 FSMC NCE2 DoclD022256 Rev 4 rzxm m 29 42 Hardware and layout UM1472 Table 5 MCU pin description versus board function continued MCU pin Board function Alternate functions so 00Ld3O1 cc 1Ievso 01 HSQESTI 10 14205171 uojynqusng 2 Ajddns FSMC_D13 USART3_TX FSMC D14 USART3 RX FSMC 16 USART3 CTS FSMC A17 1 USART3 RTS FSMC A18 TIM4 CH2 FSMC_DO 4 SONVYO 4 FSMC_NBLO DCMI_D2 FSMC_NBL1 DCMI_D3 TRACECLK FSMC_A23 MIl_TXD3 ldS ozl SO TRACEDO FSMC A19 N33HO 30 42 DoclD022256 Rev 4 Ly 0 1472 Table 5 MCU pin description versus board function continued Hardware and layout MCU pin Alternate functions TRACED1 FSMC_A20 DCMI_D4 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 Board function Ajddns TRACED2 FSMC A21 TIM9 CH1 06 TRACED3 FSMC_A22 TIM9 CH2 DCMI D7 FSMC D4 TIM1 ETR FSMC D5 TIM1 CH1N FSMC_D6 TIM1_CH1 FSMC D7 TIM1 CH2N FSMC D8 TIM1 CH2 FSMC D9 TIM1 FSMC D10 TIM1 FSMC D11 TIM1 CH4 FSMC D12 TIM1 BKIN PHO OSC IN
13. USB gt DE Steams S a DMA2 MHZ iL SCL SDA INTN ID VBUS SOF DMA1 8 pes AHB1 150 MHz Power managm pbi Voltage Vpp 1 8 to 3 6 V regulator 3 8 Vto 1 2 55 VcaP1 VCAP2 VDDA VDD RC HS Jot Suppy GPIO PORT A supervision RCLS Int POR PDR BOR DDA 55 GPIO PORT PLL1 amp 2 4 NRST GPIO PORT C oe i VDDA VDD GPIO PORT D XTAL OSG OSC IN 4 16 MHz OSC OUT GPIO PORT E Reset amp iver gt GPIO PORT F contral Sem GPIO PORT i i V __ OSC32 IN GPIO PORT H 3 AL 32 kHz 05 32 OUT RTC GPIO PORT I NU AF1 Backup register i 320 4 channels ETR AF TIM3 169 4 channels ETR as AF DMA2 IDMA1 TIM4 16b 4 channels ETR as AF AHB APB2 1 5 320 4 channels ETR as AF EXT IT WKUP TIM12 2 channels as AF SDIO MMC TIM13 160 1 channel as AF LL 16b Timi4 165 1 channel as AF TIM1 PWM UsART2 Smear RX TX CK TIM8 PWM 160 gt WWDG irDA CTS RTS as AF smcard RX TX CK TIM9 irDA CTS RTS as AF Timio 160 UART4 RX TX as AF TS E UART5 RX TX as AF MOSI SD MISO SD_ext SCK CK ima USART 1 E kei SHOPS NSS WS MCK as AF 5 2 MOSI SD MISO SD ext SCK CK amd USART 6 g els NSS WS as AF m g 12C1 SMBUS SCL SDA SMBA as AF lt VDDA 12C2 SMBUS SCL SDA SMBA as AF Temperature sensor
14. and power selection 16 4 4 ED xu 16 4 5 PUSNDUTIONS xe x eR iex e 16 4 6 On board audio capability rx XE oh heben em bak 17 4 7 USB supported ew xd Ra 17 4 8 Motion sensor ST MEMS LIS302DL or LISSDSH 17 4 9 Sz PE 18 AAO OSG COCK axe na Re ex NONO XR RR 19 4 10 1 OSC clock supply 19 4 10 2 OSC 32 KHz clock supply 19 AV Solder DdgeS uk oce aa arate wea kale path BE Ron OR e cede 20 4 12 Extension connectors 21 5 Mechanical drawing 34 6 Electrical schematics 35 7 Revision history 41 2 42 DoclD022256 Rev 4 Ly 0 1472 List of tables List of tables Table 1 ON OFF CONVENTIONS acce bac edo RR ohne aa 5 Table 2 Jumper 13 Table 3 Debug connector CN2 5 2 15 Table 4 Solder bridges ue RC a ak 20 Table 5 MCU pin description versus board function 21 Table 6 Document revision
15. indicates when VBUS is active 108 red LED indicates an overcurrent from connected device 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 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 DoclD022256 Rev 4 17 42 Hardware and layout UM1472 4 9 18 42 JP1 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 Jumper off an ammeter must connected to measure the STM32F407VGT6 current if there is no ammeter the STM32F407VGT6 is not powered DoclD022256 Rev 4 0 1472 4 10 4 10 1
16. 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 42 42 DoclD022256 Rev 4 Ly
17. or as AF MDIO as AF DP DM ULPI CK D 7 0 DIR STP NXT SCL SDA INTN ID VBUS SOF 15 0 PB 15 0 PC 15 0 PD 15 0 15 0 PF 15 0 PG 15 0 5 0 140 CMD as 4 compl channels TIM1 CH 1 4 N 4 channels TIM1 CH 1 4 ETR BKIN as AF 4 compl channels TIM1 CH 1 4 N 4 channels TIM1 CH 1 4 ETR BKIN as 2 channels as 1 channel as AF 1 channel as AF RX TX CK CTS RTS as RX TX CK CTS RTS as AF MOSI MISO SCK NSS as AF VppnEF Apc 8 analog inputs common to the ADCs 8 analog inputs common to the ADC1 amp 2 8 analog inputs to ADC3 xternal memory controller FSMC SRAM PSRAM NOR Flash PC Card ATA NAND Flash CCM data RAM 64 JTAG amp SW D BUS ARM Cortex M4F 168 MHz CLK NE 3 0 A 23 0 D 31 0 OEN WEN NBL 3 0 NL NREG NWAIT IORDY CD IOWR INT 2 3 LINTN NIIS16 as AF 5 FPU Bu S BUS 85 54 RNG Ethernet DMA g 3 10 100 FIFO Camera HSYNC VSYNC SRAM 112 lt interface PIXCLK D 13 0 USB OMA SRAM 16 a OTG HS FIFO
18. support for meta language tools e 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 e Outstanding power efficiency Ultra low dynamic power RTC 1 pA typical in VBAT mode 3 6 V down to 1 7 V VDD Voltage regulator with power scaling capability providing extra flexibility to reduce power consumption for applications requiring both high processing and low power performance when running at low voltage or on a rechargeable battery e 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 e Superior and innovative peripherals providing new possibilities to connect and communicate high speed data and more precision due to high resolution e Extensive tools and software solutions providing a wide choice within the STM32 ecosystem to develop your applications 10022256 Rev 4 11 42 Hardware and layout Figure 6 STM32F407VGT6 block diagram UM1472 NJTRST JTCK SWCLK JTDO SWD TRACECLK 0
19. 12 DoclD022256 Rev 4 31 42 0 1472 Hardware and layout Table 5 MCU pin description versus board function continued MCU pin Board function P2 1 1 1 1 1 CN CN5 Power supply VDD VDD GND GND GND GND GND GND Pushbutton LIS302DL or LIS3DSH MP45DT02 CS43L22 LQFP100 Alternate functions DoclD022256 Rev 4 32 42 0 1472 Table 5 MCU pin description versus board function continued Hardware and layout MCU pin Alternate functions 00Ld3O1 0016759 Z0LGStPdli Hsass 20 10208511 Board function Ajddns DoclD022256 Rev 4 33 42 Mechanical drawing 5 34 42 UM1472 Mechanical drawing 97m Figure 10 STM32F4DISCOVERY mechanical drawing 66m 53 34mm 6 33m 6 33 E l gt e e a een gt els e gt E eae 9 gt H 3 5 a www st com stm32f4 discovery Idd z rz e res m oo m Q o S PE1 eire User Reset 13 14 15 PB10 quam 11 12 13 14 15
20. 4 10 2 Hardware and layout OSC clock OSC clock supply If PHO 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 from ST LINK From of the STM32F103 This frequency cannot be changed it is fixed at 8 MHz and connected to PHO OSC of the STM32F407VGT6 Configuration needed SB13 SB14 OPEN R25 removed R68 soldered e 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 9 soldered R68 removed e Oscillator from external PHO From external oscillator through pin 7 of the P2 connector Configuration needed SB13 closed 5814 closed R25and 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 e Oscillator onboard From X1 Crystal not provided Configuration needed SB15 3816 OPEN C16 C27 R21 and R22 soldered e Oscillator from external PC14 From external oscillator trough the pin 9 of P2 connector Configuration needed 5816 closed 5815 closed R21 and R22 removed a Asthe frequency supplied by X2 is the same as MCO 8 MHz R25 and R68 are soldered DoclD022256 Rev 4 19 42 Hardware and layout UM1472 4 11 Solder
21. 8 cde e rc PB15 ee PA140 PAIS e e PD1e 4 Pade ENDS ees PD13 ean Be PD15 Ye ue 3757 green LED LD7 Nempe Gre 7 LD8 red LED MS30005V2 Note Pin 1 of CN2 CN3 JP1 P1 and P2 connectors are identified by a square Ly DoclD022256 Rev 4 9 42 Hardware and layout UM1472 Figure 4 Bottom layout SB2 SB4 SB6 SB8 RESERVED SB3 SB5 SB7 SB9 DEFAULT SB13 X2 crystal SB14 X2 crystal SB15 X3 crystal SB16 X3 crystal SB17 VDD from 3V SB12 SWO SB18 BOOTO SB19 BOOT1 SB20 B1 USER 99999 ee MS30004V1 Ly 10 42 DoclD022256 Rev 4 0 1472 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 HS FS Ethernet 17 TIMs ADCs 15 comm interfaces a camera Figure 5 STM32F407VGT6 package STM32F407VGT6 1 Mbyte of Flash memory 192 Kbytes of RAM LQFP100 14 x 14 mm MS30003V1 This device provides the following benefits 168 MHz 210 DMIPS Cortex M4 with single cycle DSP 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
22. HSQesr 20 10208511 Board function 250 14 Ajddns ETH_RMII_RX_D1 ETH_MIl_RX_D1 ADC12_IN15 1252 MCK TIM8 CH1 SDIO D6 USART6_TX DCMI_DO TIM3_CH1 H mE 10022256 Rev 4 i 27 42 Hardware and layout Table 5 MCU pin description versus board function continued UM1472 28 42 MCU pin Alternate functions 1253 8 CH2 SDIO_D7 USART6_RX DCMI_D1 TIM3_CH2 TIM8_CH3 SDIO_DO TIM3_CH3 USART6_CK DCMI_D2 125 2 TIM8_CH4 SDIO_D1 I2C3 SDA DCMI D3 TIM3 CH4 SPI3 SCK 1253 CK UART4_TX SDIO_D2 DCMI_D8 USART3_TX UART4_RX SPI3 MISO SDIO D3 D4 USART3 RX 1253 SD 5 TX SDIO CK DCMI D9 SPI3 MOSI 1253 SD USART3 CK 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 DoclD022256 Rev 4 Board function Ajddns 0 1472 Hardware and layout Table 5 MCU pin description versus board function continued MCU pin Alternate functions RTC_AF1 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 Board function Ajddns OSC32 IN OSC32 OUT FSMC D2 CAN1 RX 22050 22050 FSMC_D3 1 TIM3_ETR UART5_RXSDIO_CMD DCMI_D11 FSMC_CLK USART2_CTS FSMC_NOE
23. Hardware and layout UM1472 4 3 4 4 4 5 16 42 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 LEDs LD1 LD1 default status is 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 S
24. STM32F407VGT6 MCU is held high through a 10 Kohm pull up resistor The BOOT1 signal of the STM32F407VGT6 MCU is held high through a 10 Kohm pull up resistor The BOOT1 signal of the STM32F407VGT6 MCU is held low through a 510 ohm pull down resistor SB18 BOOTO 5819 BOOT1 ON 1 Default SBx state is shown in bold 2 SB13 and 5814 are OFF to allow the user to choose between and X2 crystal for clock source 20 42 DoclD022256 Rev 4 0 1472 Hardware and layout 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 v e 6 9 Alternate 9 zl function functions 9 lt UOoilg uljloi cz o 16 1 2 N S o 5 lt o I USART2 CTS USARTA CRS TIM2 CH1 ETR TIM5 1 TIM8 ETR ADC123 INO WKUP USART2 RTS USART4_RX ETH RMII REF CLK ETH MII RX CLK 11 TIM5 CH2 TIMM2 CH2 ADC123 IN1 USART2 TX TIM5 CH3 TIM9 CH1 _ lag TIM2_CH3 ETH_MDIO ADC123_IN2 Ly DoclD022256 Rev 4 21 42 Hardware and layout UM1472 Table 5 MCU pin description versus board function continued MCU pin Boar
25. TM32F407VGT6 USB LD8 red LED indicates an overcurrent from VBUS of CN5 and is connected to the PD5 of the STM32F407VGT6 Pushbuttons B1 USER User and Wake Up button connected to the I O PAO of the STM32F407VGT6 B2 RESET Pushbutton connected to NRST is used to RESET the STM32F407VGT6 DoclD022256 Rev 4 0 1472 4 6 4 7 4 8 Hardware and layout 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 2 interface and processes digital signals through 125 connection or analog input signal e The sound can come independently from different inputs ST MEMS microphone MP45DT02 digital using 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 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 AINAx 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 07 green LED
26. 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 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 PURCHASER S 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
27. bridges Table 4 Solder bridges Bridge State Description OFF X2 C14 C15 R24 and R25 provide a clock SB13 14 X2 PHO disconnected from 2 PHO PH1 connected to P2 R24 R25 and R68 must not be fitted SB3 5 7 9 Default Reserved do not modify SB2 4 6 8 Reserved Reserved do not modify X3 C16 C27 R21 and R22 deliver a 32 KHz clock SB15 16 PC14 PC15 are not connected to P2 X3 crystal PC14 PC15 are only connected to P2 Remove only R21 R22 SB1 B2 pushbutton is connected to the NRST pin of the STM32F407VGT6 MCU B2 RESET B2 pushbutton is not connected the NRST pin of the STM32F407VGT6 MCU SB20 B1 pushbutton is connected to PAO B1 USER B1 pushbutton is not connected to PAO SB17 VDD is not powered from 3V depends on JP1 jumper VDD powered from 3V 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 SB11 NRST STM32F407VGT6 MCU NRST signal of the CN2 connector is not connected to the NRST pin of the STM32F407VGT6 MCU SWO signal of the CN2 connector is connected to PB3 SB12 SWO SWO signal is not connected No incidence on STM32F103C8T6 ST LINK V2 NRST signal SB10 STM RST STM32F103C8T6 ST LINK V2 NRST signal is connected to GND BOOTO signal of the STM32F407VGT6 MCU is held low through 510 ohm pull down resistor BOOTO signal of the
28. d function Alternate functions 00Ld3O1 201752 201067411 5 10 1420817 Ajddns USART2_RX TIM5 CH4 TIM9 CH2 2 CH4 OTG HS ULPI _ _ ADC123 IN3 SPI1 NSS SPI3 NSS USART2 CK DCMI HSYNC OTG HS SOF 1253 WS ADC12_IN4 DAC1_OUT XLNIV MOY 1 SPI1_SCK OTG HS ULPI CK 2 CH1 ETR TIM8 CHIN ADC12 IN5 DAC2 OUT SPI1 MISO TIM8 BKIN TIM13 CH1 TIM3 1 TIM1 BKIN ADC12 ING SPI1_MOSI 8 CH1N TIM14 CH1TIM3 2 ETH DV TIM1 CH1N CRS DV ADC12_IN7 045 105 5 05 05 22 42 DoclD022256 Rev 4 0 1472 Table 5 MCU pin description versus board function continued Hardware and layout MCU pin Alternate functions 1 USART1_CK TIM1_CH1 I2C3 5 OTG FS SOF USART1_TX TIM1_CH2 I2C3 5 DCMI D0 OTG FS VBUS USART1 RX TIM1 CH3 OTG FS ID DCMI D1 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 Board function Ajddns USART1_CTS TIM1 CH4 OTG FS DM USART1 RTS CAN1 TX TIM1 ETR OTG FS DP JTMS SWDIO JTCK SWCLK ATOMS OIGMS JTDI SPI3_NSS 1253 WS TIM2_CH1_ETR SPI1_NSS 10022256 Rev 4 23 42 Hardware and layout Table 5 MCU pin description v
29. ersus board function continued UM1472 MCU pin Alternate functions TIM3_CH3 TIM8_CH2N OTG_HS_ULPI_D1 ETH_MIl_RXD2 TIM1_CH2N ADC12_IN8 TIM3 CH4 8 CH3N OTG HS ULPI D2 ETH MII RXD3 OTG HS INTN TIM1 CHSN ADC12 IN9 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 Board function Ajddns JTDO TRACESWO SPI3 SCK 1253 CK 2 CH2 SPI1_SCK NJTRST SPI3 MISO SPI1_MISO 1253 50 24 42 I2C1 SMBA 2 RX OTG HS ULPI D7 ETH PPS OUT CH2 SPI1 MOSI SPI3 MOSI DCMI_D10 1253 SD DoclD022256 Rev 4 0 1472 Table 5 MCU pin description versus board function continued Hardware and layout MCU pin Alternate functions I2C1 5 4 CH1 2 OTG_FS_INTN DCMI_D5 USART1_TX I2C1 SDA FSMC NL VSYNC USART1_RX TIM4_CH2 TIM4_CH3 SDIO D4 TIM10 D6 FS 5 TXD3 I2C1 5 CAN1 RX 00Ld3O1 0016759 Z0LGStPdli HSQesr 20 10208511 Board function Ajddns SPI2 NSS 1252 WS TIM4 CH4 TIM11 CH1 OTG FS SDA SDIO D5 DCMI_D7 I2C1 SDA TX SPI2 SCK 1252 I2C2 5 USART3_TX OTG HS ULPI D3 ER OTG HS 5 2 CH3 DoclD022256 Rev 4 25 42
30. l 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 e Windows PC XP Vista 7 e USB type A to Mini B USB cable 2 3 Development toolchain supporting the STM32F4DISCOVERY e Altium TASKING VX Toolset e Atollic TrueSTUDIO Embedded Workbench for ARM EWARM e MDK ARM 2 4 Order code To order the STM32F4 high performance discovery board use the order code STM32F4DISCOVERY 6 42 DoclD022256 Rev 4 0 1472 3 Features 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 LISSDSH ST MEMS motion sensor 3 axis digital output accelerometer MP45DT02 ST MEMS audio sensor omnidirectional digital microphone 543122 audio DAC with integrated class D speaker driver Eight LEDs 101 red green for USB communication LD2 red fo
31. ocument Convention Jumper JP1 ON Table 1 ON OFF conventions Definition Jumper fitted Jumper JP1 OFF Solder bridge SBx ON Jumper not fitted SBx connections closed by solder Solder bridge SBx OFF SBx connections left open DoclD022256 Rev 4 5 42 Quick start UM1472 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 1 to power the board Red LED LD2 PWR then lights up 3 Four LEDs between B1 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 contro
32. r 3 3V power on Four user LEDs LD3 orange LD4 green LD5 red and LD6 blue 2USB LEDs LD7 green VBus and LD8 red over current Two pushbuttons user and reset USB with micro AB connector Extension header for LQFP100 I Os for quick connection to prototyping board and easy probing DoclD022256 Rev 4 7 42 Hardware and layout UM1472 4 Hardware and layout STM32F4DISCOVERY is designed around the STM32F407VGT6 microcontroller in 100 pin LQFP package Figure 2 illustrates the connections between the STM32F407VGT6 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 Mini USB Embedded ST LINK V2 SWD STM32F407VGT6 Header Header RESET LED B2 LD3 to LD8 RST 1 USER LIS302DL ac LIS3DSH MP45DT02 543122 Mini Jack Micro USB MS30007V2 8 42 DoclD022256 Rev 4 0 1472 Hardware and layout Figure 3 Top layout
33. title Modified Section 4 8 Motion sensor ST MEMS LIS302DL or LIS3DSH Updated Chapter 6 Electrical schematics Modified Chapter 3 Features Figure 2 Chapter 4 8 Motion sensor ST MEMS LIS302DL or LIS3DSH Table 5 adding ST MEMS LIS302DL reference DoclD022256 Rev 4 41 42 UM1472 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
Download Pdf Manuals
Related Search
Related Contents
Model: HVE 93 HBS 94 HBE 95 MAGICC/SCENGEN 5.3: USER MANUAL (version 2) Singer 412U541A Sewing Machine User Manual English Repassage à la vapeur CUB : procédure élections DSCG 6 - Dunod Copyright © All rights reserved.
Failed to retrieve file