Home
UM1472 User Manual
Contents
1. 6 2 2 System requirements 6 2 3 Development toolchain supporting the STM32FADISCOVERY 6 2 4 Segui 6 3 7 4 Hardware and layout 8 4 1 STM32F407VGT6 microcontroller 11 4 2 Embedded ST LINK V2 13 4 2 1 Using ST LINK V2 to program debug the STM32F4 on board 14 4 2 2 Using ST LINK V2 to program debug an external STM32 application 15 4 3 Power supply and power selection 16 4 4 LEDS 16 4 5 16 4 6 On board audio capability 4 7 USB sreng E 17 4 8 Motion sensor ST MEMS LIS302DL 17 4 9 JP1 14 17 245352258284 18 4 101 OSC clock supply 18 4102 OSC 32 KHz clock supply 18 411 Solder bridges 19 4 12 Extension connectors 20 5 Mechanical drawing 30 6 Electrical sch
2. sm id Iz 6l l l 20142554 210 ASN 54 210 ANI LS J2OGQIIDS ZA 15 31 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Electrical schematics ST LINK V2 SWD only Figure 12 9 jo 20545 ZLOZ 6 L wa HOS 89d E 4668WoqunN juo GMS ZA MNIT LS AM3AOOSIGEACEWLS 21U04 29 90J92 IN 1 S 44001 5090 Aix 4801 4 110 090 55 4 OND A 1JE09 1 VEL moa 44001 FE ECINSSGEQ 10 SINO 90 10018 ANNALS 991 MNITI LS lt 440 54 5 AN3AOOSIG lt NO sueduwing ENO gas 685 Rees SIS Las ws LLL S l lS Cs 12415 Wis zt 5 GMS NIOAS MOL AS X APIS COPIOS ION N 67 utd EOTAZENLS 9012502 ION 44001 612 44001 812 090 4401 12 SSVdAH UND N 090 090 moa sorta EN AS 41001 clo 44001 89 44001 012 44001 LO df 42pun apis 4apjos 45 A 1185 At 935 JN 11
3. CECE t e e wow _ e reo frame e 28 38 Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Hardware and layout Table 5 MCU pin description versus board function page 10 of 10 gt 2 N lt Alternate functions asn 250 9943 199 5 FSMC D12 reds BKIN PHO C wes E et tt PE ota eee 1 OSC OUT INO OSO NI 95 Doc ID 022256 Rev 2 29 38 Mechanical drawing STM32F4DISCOVERY 5 Mechanical drawing Figure 10 STM32F4DISCOVERY mechanical drawing 3 MB997B 30 48mm 30 48mm GE DISCOVERY www st com stm32f4 discovery Celle gs gl PC4 H 2 1 5 5 doj 2 User 13 PE14 15 P810 11 P512 15 010 PD111 12 PD13 14 97m 97m 60 96mm 60 96mm g 2 22mm 93 34mm 8 33 6 33m 66m 4 30 38 10 022256 2 Electrical schematics STM32F4DISCOVERY Electrical schematics 6 STM32F4DISCOVERY Figure 11 10 12246 21026 5 24 268 24 AMJAOOSIGFJZEWIS 1 21U0J
4. power supply and power consumption must be lower than 100 mA e 5V can also be used as input power supplies e g when the USB connector is 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 e 101 101 default status is red LD1 turns to green to indicate that communications are in progress between the PC and the ST LINK V2 e 102 PWR red LED indicates that the board is powered e User LD3 orange LED is a user LED connected to the I O PD13 of the SIM32F407VGT6 e 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 UserLD6 blue LED is a user LED connected to the I O PD15 of the STM32F407VGT6 e 0058107 green LED indicates when VBUS is present on CN5 and is connected to PA9 of the STM32F407VGT6 e USBLDS8 red LED indicates an overcurrent from VBUS of CN5 and is connected to the PD5 of the STM32F407VGT6 Pushbuttons e USER User Wake Up button connected to the I O of the STM32F407VGT6 e 2 RESET Pushbutton connected to NRST is used to RESET the STM32F407VGT6 4 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout 4 6 4 7 4 8 4 9 lt On board aud
5. 3 lt 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 1530201 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 Four user LEDs LD3 orange 104 green 105 red and LD6 blue 2USB OTG LEDs LD7 green VBus and 108 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 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 and Figure 4 help you to locate these features on t
6. PC10 PC11 PC12 PC15 OSC32 OUT FSMC D2 81 CAN1 RX Doc ID 022256 Rev 2 ky CD E EL ee STM32F4DISCOVERY Hardware and layout Table 5 MCU ii description versus board function page 8 of 10 Alternate functions asn 250 9943 Ajddns FSMC D3 TIM3 ETR PD2 8 34 DCMI 011 FSMC PDA FSMC NOE USART2 5 FSMC NWE USART2 TX FSMC NWAIT USART2 RX USART2_CK FSMC_NE1 FSMC_NCE2 FSMC D13 USART3 TX FSMC D14 USART3 FSMC D15 PD10 UsART3 CK FSMC A16 PD11 lUsART3 CTS FSMC A17 TIM4_CH1 USART3_RTS PD12 FSMC A18 TIM4_CH2 PD13 U U N FSMC D0 TIM4 CH3 FSMC D1 DI lt Doc ID 022256 Rev 2 27 38 Hardware and layout STM32F4DISCOVERY Table 5 MCU ii description versus board function page 9 of 10 PEO FSMC_NBLO DCMI_D2 FSMC_NBL1 TRACECLK PE2 FSMC_A23 TRACEDO TRACED 1 4 FSMC 20 DCMI 04 TRACED2 FSMC_A21 9 1 Alternate functions 0019301 I v SO 14206511 9944 SNO 4 N i 195 021 SO ZLNI 5 DCMI 06 FSMC A22 TIM9 CH2 DCMI D7 FSMC D4 25 ETR
7. 29 90J92I AJ S Dpeg3 oS m m E WE SVd Ar 4 Tad pad odd Bee Lad Fd Ltd Tc 98d D 61 01009 Gd E Std S Ll Z 194 c 9714 01 BEN M DENS ars b E E 232 Fe 1 LAT soquag A lod soqyuagoipny 1 01009 154 tlod 624 924 bod 24 124 144 tlud 184 9144 sadd Ud 994 Fad 194 cIVd II Vd 6Vd iVd 9Vd IVd 0Vd 208 425 8 A cdd 11008 sr N E Be ni dc oc zidd 2114 ac 01 14 97 us ie t d 5 a A 234 TSUN OMS L LSYN L OIOMS SAL NIAS AOL er L r A A 1dd 1 4 6dd it Slad cc lad 1104 62 i
8. ISN Fi 7 o 7 62d 75250 lt 104 6 Uo D qp d Plo Occ Ped 110 250 114 a 21148 NI OSO E 2 lod 205 0 NO 9241 5 54 12 ecu bldd 185 rl d 19 L clas 4 27 um gt 5 PAULA ION 10 oldd 68d L d OON r d T 27772 ld 4 4 gt 4 n pisa 21 01 AG zHd lgd 7194 01Vd O LVd bald ul MOD IVd i 5 o LL 33 38 Doc ID 022256 Rev 2 9 jo 42245 21026 26824 08 u 4668WJoqunwN AMHJdJAOOSIGPAICEWIS Sw LS STM32F4DISCOVERY Audio Figure 14 Electrical schematics COLLO NIO 104 41 N X12 ION 4 001 At 5 3020 4405 902 44081 gtd E ION asaf NEM uu 0151 OA 0151 1
9. OTG HS ULPI DIR TH TXD2 252 SD ADC123 IN12 SPI2 MOSI 252 SD HS ULPI NXT ETH MII TX CLK ADC123 IN13 ETH RMII 00 00 ADC12 IN14 ETH RMII RX D1 ETH MII RX D1 ADC12 IN15 1252 MCK 8 CH1 SDIO D6 USART6 TX DCMI 00 CH1 1253 MCK CH2 SDIO D7 USART6 RX DCMI D1 TIM3 CH2 lt Hardware and layout MCU pin description versus board function page 6 of 10 Board function 9944 Ajddns N O O dem 250 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 0 o x 5 Alternate c O O functions u 50 E 2 a 5 lt TIM8 CH3 SDIO 00 PC8 TIM3 CH3 USART6 DCMI D2 08 25 2 8 CH4 500 1 l2C3 SDA DCMI D3 TIM3 CH4 SPI3_SCK 1253 500 D2 DCMI D8 USARTS TX UART4_RX SPI3 MISO SDIO D3 DCMI D4 USART3 RX 253 SD 5 SDIO CK DCMI D9 SPI3 MOSI 1253 SD USARTS CK PC13 HTC AF1 7 PC14 OSC32 IN N Co 8 bee
10. 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 5816 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 SB15 closed R21 and 822 removed frequency supplied by X2 is the same as MCO 8 MHz R25 and R68 are soldered 4 Doc ID 022256 Rev 2 STM32F4DISCOVERY Hardware and layout 4 11 Solder bridges Table 4 Solder bridges X2 C14 C15 R24 and R25 provide a clock SB13 14 X2 1 PHO PH1 are disconnected from P2 ON PH1 PHO PH1 are connected to P2 R24 R25 and R68 must not be fitted connected to P2 R24 R25 and R68 must not be PHO PH1 are 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 OFF Reserved do not modify X3 C16 C27 R21 and R22 deliver a 32 KHz clock SB15 16 PC14 PC15 are not connected to P2 crystal PC14 PC15 are only connected to P2 Remove only R21 R22 B2 pushbutton is connected to the NRST pin of the STM32F407VGT6 MCU B2 B2 pushbutton is not connected the NRST pin of the STM32F407VGT6 MCU SB20 on B1 pushbutton is connected to PAO B1 USER B1 pushbutton is not connected to SB1
11. crystal SB15 X3 crystal SB16 X3 crystal SB17 VDD from 3V SB12 SWO SB18 BOOTO 5819 1 5820 B1 USER 530004 1 4 10 38 10 022256 2 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 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 14x 14mm MS30003V 1 This device provides the following benefits e 168 MHz 210 DMIPS Cortex M4 with single cycle DSP MAC and floating point unit providing Boosted execution of control algorithms More features possible for your applications Ease of use Better code efficiency Faster time to market Elimination of scaling and saturation Easier support for meta language tools 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 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 reg
12. 00 Maud m VENIV VINIV HzNIV JAI URN VINIV RU S dA 1114dllA dA dro i gt ninos 17574 SX cra 6 m LSA AMS NIAS qc 100 wads 7125 358 05 15 XON 82 anaes qos Vino vas ony inl Doc ID 022256 Rev 2 34 38 Electrical schematics USB OTG FS Figure 15 STM32F4DISCOVERY 19 942245 eL0oZel q 240868 2668 54 5010 5 AMQJAOOSIGFHCEWLIS nm S21U0J 29 90J9 A LS P2114 ION ieu 106 w 11 c Nit l BEER 7 mo ps cel idl I8 LEV E moq l snq S al t OEE gn 99 AE w gt Se hae 054 OlVd 54 54 210 ING 54 210 is 1000068 Sd SOSA 2 E PS e 8 L P snaa 5 NU T 54 54 910 1 OND 35 38 Doc ID 022256 Rev 2 STM32F4DISCOVERY Electrical schematics Peripherals Figure 16 91224
13. 4f09 1 Vl AS EZ t E a eidd IVd 199 bldd gt 001 VSSA IN Eos 6Vd 2 ISAN 24 ag ISAI DY 115 031 0lVd 110280 184 WLS qs g NIOSO DD sn buts S ix NI 050 dd geez OlGMS SIALE S E plod j 12d 9 13p 83 25 de AE gt w o i g 9 Bis 5 91826014218 DACA Moho 45 ZNO 40 IWS LOS 0 q 99A pa i 852 olds 12 001 81H 211 c 1 4402 IX 4402 dix 1 Mor OU I ION Doc ID 022256 Rev 2 32 38 Electrical schematics STM32F4DISCOVERY 0 109 2102 6 HOS gode E AH3AOOSIGFJCEWIS E 822 anzz anz 5210 4 24901214 15 D LDALOFICEINLS vo ava OMe eo d 11901 qni Iz T co 11901 Map 129 577 ru 090 809 Wy E M TSSA eca 11 FSSA 1 Css ION i 1 5 im e 1 8185 ara 91DAZO0FJZEIALS 01009 ldd 01004 F6 S ANAL 12211287 nugur 89 2 090 0D 90 01A 9185
14. 5 21026 26824 08 u 4668WJoqunwN AYFAOISIGPAZEWLS eth 21u0J 29 90J92IIN LS SUBIC 5 4 U321f 1 uong 13535 SWO HShe MS 1 p2413833 ILNI ASTOS _ Oas 10s vas poarasay quon JA OQS OSIA 1145 9Vd 21 CORSA cH mm ES en 158 dr 34vM 9 4450 NOTT cea 49001 SWO HSNd MS uz n polt ION LINI MOS 145 ISOW 145 Doc ID 022256 Rev 2 36 38 STM32F4DISCOVERY Revision history 7 Revision history Table 6 Document revision history _ ronson __ 27 2011 Initial release Added Section 4 1 STM32F407VGT6 microcontroller corrected 19 Jan 2012 2 Figure 3 MCU name modified Figure 2 and Chapter 6 Electrical schematics lt 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
15. 7 a VDD not powered from depends JP1 jumper a powered from 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 OFF NRST signal of the CN2 connector is not connected to the NRST pin of the STM32F407VGT6 MCU SWO signal of the 2 connector is connected to PB3 SB12 SWO OFF 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 SB18 BOOTO OFF signal of the 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 SB19 BOOT1 ON The 1 signal of the STM32F407VGT6 MCU is held low through a 510 ohm pull down resistor Default SBx state is shown in bold 2 5 13 and SB14 are OFF to allow the user to choose between MCO and X2 crystal for clock source lt Doc ID 022256 Rev 2 19 38 Hardware and layout STM32F4DISCOVERY 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 analyze
16. CIFIED 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 Germany 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 ky
17. CU pin description versus board function page 3 of 10 Alternate functions USART1_CTS CAN1 RX TIM1 4 OTG FS DM USART1 RTS 1 TX i2 TIM1 OTG FS DP PA13 JTMS SWDIO 14206511 437 5 asn 250 N y y N __ 8 3 Lo ________ X IOMS 5 5 TS 5 913 lt SPI3 NSS PA15 1253 WS 7 40 TIM2 CH1 ETR SPI NSS TIM3_CH3 TIM8_CH2N OTG_HS_ULPI_D1 PBO ETH RXD2 B a TIM1 CH2N 12 IN8 TIM3_CH4 TIM8_CH3N OTG_HS_ULPI_D2 PB1 ETH_MIl_RXD3 21 HS INTN TIM1 CH3N 12 IN9 LIS JTDO TRACESWO SPI3_SCK PBS CK 5 TIM2 CH2 SPI 5 22 38 Doc ID 022256 2 STM32F4DISCOVERY Table 5 57 Hardware and layout MCU pin description versus board function page 4 of 10 PICU pin pin Alternate functions NJTRST SPI3 MISO 1 SPI1 MISO 253 SD l2C1 SMBA CAN2 RX HS ULPI D7 ETH PPS OUT TIM3_CH2 SPI1 MOSI SPI3 MOSI DCMI_D10 1253 50 l2C1 SCL TIM4_CH1 CAN2_TX OTG_FS_INTN DCMI_D5 USART1_TX 2 1 SDA FSMC DCMI VSYNC USART1_RX TIM4_CH2 TIM4_CH3 SDIO_D4 TIM10_CH1 DCMI_D6 OTG_FS_SCL 2 1 5 1 SPI2 NSS 252 WS TIM4_CH4 TIM11_CH1 O
18. STM32 on an external application Simply remove the 2 jumpers from as shown in Figure 9 and connect your application to the CN2 debug connector according to Table 3 Note 5811 must be OFF if you use CN2 pin 5 in your external application Table 3 Debug connector CN2 SWD VDD TARGET VDD from application SWCLK SWD clock Figure 9 ST Link connections image R6 R7 R8 CN2 SWD connector 85 x cr pe D e T _ c N i C E Bo R18 _ WWW St com stm32f4 discovery x 84 2 Jo je if T v mes 11111 ar FERRENT gt i 9 Lf 5 J R40 ms 787 jumpers OFF 4 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 power supply The D1 and D2 diodes protect the 5V and pins from external power supplies e 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 pins deliver a or
19. TG_FS_SDA SDIO_D5 DCMI_D7 l2C1 SDA 1 TX Board function Ajddns 5 co 6 NO CD O 4 N 9 CD gt 0 gt 2221 NO Doc ID 022256 Rev 2 23 38 Hardware and layout STM32F4DISCOVERY Table 5 MCU Eo description versus board function page 5 of 10 Alternate functions SPI2 SCK 1252 CK 2 2 SCL TX PB10 HS ETH MII RX ER OTG HS SCL TIM2 2 2 SDA USARTS3 HS ULPI D4 PB11 ETH RMII TX EN ETH MII TX EN OTG HS SDA TIM2 CH4 SPI2 NSS 1252 WS 2 2 SMBA USARTS3 TIM1 BKIN 12 HS D5 ETH RMII TXDO ETH MII TXDO OTG HS ID SPI2 SCK 1252 CK USART3_CTS TIM1 CH1N PB13 CAN2 TX OTG HS ULPI D6 ETH RMII TXD1 ETH MII TXD1 OTG HS VBUS SPI2 MISO TIM1 CH2N TIM12 1 PB14 OTG HS DMUSART3 RTS TIM8 CH2N 252 SD 24 38 Doc ID 022256 Rev 2 o gsn 250 9944 cOLOStdi Ajddns GNO M19 D __ _ _5 444 11 N 53 STM32F4DISCOVERY Table 5 SPI MOSI 282 CH3N PBIS CH3N 12 CH2 OTG HS DP PICU pin pin Alternate functions OTG HS ULPI STP ADC123 IN10 ETH MDC ADC123 IN11 SPI2 MISO
20. UM1472 77 User Manual STM32F4DISCOVERY STM32F4 high performance discovery board Introduction STM382F4DISCOVERY helps you to discover the STM32F4 high performance features and to develop your applications It is based 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 R7 R8 MB997A A SS TIT MN M p www st com stm32f4 discovery y ORES R 9 16 3 3 _ s Sz R6 mer 111111111 4 ii o voo s C26 F 11 8235 Ri E jl e 2 99999999 LET R34R32 E m 7 sai R35 itis amp ens 222 m mg PD7 1 4 4 E lt m b 5 a lt T 4 FW 61 62 59 07 January 2012 Doc ID 022256 Rev 2 1 38 www st com Contents STM32F4DISCOVERY Contents 1 CONVENLIONS aua xd ee adea dde acide dba 5 2 QUICK Start CA EROR CR 6 2 1 Geno
21. 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 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 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 SPE
22. e9 ST Link connections image 15 Figure 10 STM32FADISCOVERY mechanical drawing 30 Figure 11 SIMS2FADISUCOVERY 145 1 3 2 Y Pad eic de 31 Figure 12 ST LINK V2 SWD 32 mra Me 33 FOG AUO P m 34 Foue 15 VSB OIG ES qr da bs bid ete he ee Dus 96 diede Re Bos oe 35 Figure 16 Peripherals suuin 18a 390 epe n8 Oa ree tA 36 8 DocDOZesone2 STM32F4DISCOVERY Conventions 1 Conventions Table 1 provides the definition of some conventions used in the present document Table 1 ON OFF conventions Jumper JP1 ON Jumper fitted Jumper JP1 OFF Jumper not fitted Solder bridge SBx SBx connections closed by solder Solder bridge SBx OFF SBx connections left open lt Doc ID 022256 Rev 2 5 38 Quick start 2 2 1 2 2 2 3 2 4 6 38 STM32F4DISCOVERY 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 STM382F4DISCOVERY and for demonstration software vis
23. ematics 31 7 Revision history 37 2 38 Doc ID 022256 Rev 2 43 STM32F4DISCOVERY List of tables List of tables Table 1 ON OFF tebe FUR es ce Gate eee ee 5 Table 2 Jumper SlAleS eee Show 13 Table 3 Debug connector SWD 15 Table 4 Rar ok er aa e s 19 Table 5 MCU pin description versus board function 20 Table 6 Document revision history 37 ky Doc ID 022256 Rev 2 3 38 List of figures STM32F4DISCOVERY List of figures STMS2ZFADISOCOVENHBLY o a RELA Tw ORO ow 1 Figure 2 Hardware block diagram 8 _ _ 9 Figure 4 een OEC Race m aa RD aba 10 Figure5 STM32F407VGT6 package 1 11 Figure6 STM32F407VGT6 block diagram 12 Figure 7 Typical configuration 13 Figure8 STM32FADISCOVERY connections 14 Figur
24. he STM32F4DISCOVERY Figure 2 Hardware block diagram Embedded S T LINK V2 SIM32F407VGT6 LED B2 LD3 to LD8 RST 1 MP45D 102 USER Mini Jack Micro USB MS30007V 1 8 38 Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Hardware and layout Figure 3 layout LD1 red green LED M i LD2 red LED CN2 PWH SWD connector 0 ie id 88886 LE EC 2 89978 STI LINK DISCOVERY oH selector IST LINK 2 i I DISCOMERYe e e eme d 5V power supply input output measurement 3V power supply output STM32F407VGT6 ud ep SB1 B2 RESET Airis LD3 jT B1 user button 8 OTe 294 Ds LD5 red LED EV B2 reset button green LED LD4 14 a BE m f REA blue LED LD6 vut CER memi NN P m m gy PD19 PD12 PD14 green LED 107 9 8 6 s ies EDS rea LED MS30005V2 Note Pin 1 of CN2 CN3 JP1 P1 and P2 connectors are identified by a square lt Doc ID 022256 Rev 2 9 38 Hardware and layout STM32F4DISCOVERY Figure 4 Bottom layout SB2 SB4 SB6 SB8 RESERVED SB3 SB5 SB7 SB9 SB11 NRST su SB10 STM RST SB13 X2 crystal 5814 X2
25. io capability The STM32F4 uses an audio DAC 543122 to output sounds through the audio mini jack connector The STM32F4 controls the audio DAC through the 12C 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 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 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 LD7 green LED indicates when VBUS is active e 108 red LED indicates an overcurrent from connected device Motion sensor ST MEMS LIS302DL The LIS302DL is an ultra compact low power three axis linear accelerometer It includes a sensing element and an IC interface able to provide the measured acceleration to the external world through I2C SPI serial interface The LIS302DL has dynamically user selectable ful
26. it www st com stm32f4 discovery Getting started Follow the sequence below to configure the STM32FADISCOVERY board and launch the DISCOVER application 1 Check jumper position on the board JP1 on CN3 on DISCOVERY selected 2 Connect the STM32F4DISCOVERY board to a PC with a USB cable type A to mini B through USB connector CN1 to power the board Red LED LD2 PWR then lights up 3 Four LEDs between B1 and B2 buttons are blinking 4 Press user button B1 to enable the ST MEMS sensor move the board and observe the four LEDs blinking according to the motion direction and speed If you connect a second USB cable type A to micro B between PC and CN5 connector then the board is recognized as standard mouse and its motion will also control the PC cursor 5 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 e USB type to Mini B USB cable Development toolchain supporting the STM32F4DISCOVERY Altium TASKING VX Toolset TrueSTUDIO EWARM e Keil MDK ARM Order code To order the STM32F4 high performance discovery board use the order code STM32F4DISCOVERY Doc ID 022256 Rev 2 ky STM32F4DISCOVERY Features
27. l scales of 2g 8g 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 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 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 only used as instead of as a clock then 5813 and 5814 are closed and R24 R25 and R68 are removed e from ST LINK From MCO 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 A R68 9 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 R252 soldered R68 removed e Oscillator from external PHO From external oscillator through pin 7 of the P2 connector Configuration needed 5813 closed 5814 closed R25 and R68 removed OSC 32 KHz clock supply If PC14
28. nelas 0 5 TIM11 lt N RX TX CK smeard USART1 165 CTS RTS as TIM6 RX TX lt Nemed 16b CTS RTS as AF irDA T c MOSI MISO SCK NSS as AF SPH GVDDA VopnEr 8 analog inputs common to the 3 ADCs 8 analog inputs common 4 tothe ADC1 82 8 analog inputs to ADC3 E DAC2 OUT as AF as AF 12 38 Doc ID 022256 Rev 2 SRAM 112 KB SRAM 16 KB ITF STM32F4DISCOVERY CLK NE 3 0 A 23 0 D 31 0 WEN a gt NBL 3 0 NL NREG NWAIT IORDY CD NIORD IOWR INT 2 3 INTN NIIS16 as AF HSYNC VSYNC PIXCLK D 13 0 EL Camera NL interface USB TKN e OTG FS a Eo SDA INTN ID VBUS SOF Power managm Vppi2 Voltage 1 8 to 3 6 V regulator NS S 3V to 1 2V gt 1 VCAP2 Supply 4 supervision POR PDR y V BOR DDA VSSA PVD VDDA VDD XTAL OSC OSC_IN __ gt Var 1 65 to 3 6 V OSCS32 IN xxn OSC32 OUT HTC AF1 HTC L2 4 channels ETR as AF L2 4 channels ETR as AF ___ gt 4channels ETR as AF 16b 5 32b KC channels ETR as AF TIM12 gt 2 channels as AF A 1 X 1 channel as AF TIM14 1 channel as AF USART2 775 RX TX CK USA reas AF smcard RX TX CK CTS RTS as AF g
29. r or voltmeter Table 5 MCU pin description versus board function page 1 of 10 Alternate functions USART2 CTS USARTA TX CRS TIM2 1 ETR TIM5_CH1 TIM8_ETR ADC123 INO WKUP Ajddns NO NO NO N 8 8 8 asm 20211 sese USART2 5 USART4_RX ETH RMII REF CLK ETH MII RX CLK TIM5_CH2 TIMM2_CH2 ADC123 IN1 USART2 TX TIM5 CH3 TIM9 1 TIM2 CH3 ETH MDIO ADC123 IN2 USART2 RX TIM5_CH4 TIM9_CH2 TIM2_CH4 HS ULPI DO ADC123 20 38 Doc ID 022256 2 STM32F4DISCOVERY Hardware and layout Table 5 MCU description versus board function page 2 of 10 Alternate functions Ajddns GNO SPI1_NSS SPI3_NSS USART2_CK DCMI_HSYNC OTG_HS_SOF 253 ADC12 1 4 DAC1 OUT 5 SCK HS ULPI CK TIM2 1 ETR 8 CHIN ADC12 IN5 DAC2 OUT 5 MISO TIM8_BKIN TIM13_CH1 DCMI_PIXCLK TIM3_CH1 TIM1_BKIN ADC12 1 6 SPI1 MOSI 8 CH1N TIM14 CH1TIM3 CH2 ETH DV CH1N RMII CRS DV ADC12 7 MCO1 USART1_CK TIM1_CH1 2 5 OTG FS SOF USART1_TX TIM1_CH2 2 SMBA DCMI 00 OTG FS VBUS USART1_RX TIM1_CH3 OTG_FS_ID DCMI_D1 oas O N Doc ID 022256 Rev 2 21 38 Hardware and layout STM32F4DISCOVERY Table 5 M
30. s enabled for application through external CN2 connector SWD supported lt Doc ID 022256 Rev 2 13 38 Hardware and layout STM32F4DISCOVERY 4 2 1 Using ST LINK V2 to program debug the STM32F4 on board To program the STM32F4 on board simply plug in the two jumpers on as shown in Figure 8 in red but do not use the CN2 connector as that could disturb communication with 14 38 Figure 8 CN2 SWD connector CN3 jumpers ON Doc ID 022256 Rev 2 STM32F407VGT6 of the STM32FADISCOVERY Wo WW Ni Ni lt gt WT 7 B A Bn A A at v STM32F4DISCOVERY connections image S 7 i WWW T com stm32fa discovery OEE 5 N 14 7 z 61 os ii R23 N ere 4 Ai B a R31 za pom poen pe p Cor 3 PBS 92 nae hE oec BOOTO 282 j case R40 Reset R46 121097 m 19 mI ii aal R51 MR C49 c59 ROS eG 07 Tem PBS 0 ona 04 07 n 1152 ul e 843 0 R 4 STM32F4DISCOVERY 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
31. t UART4 P RX TX as AF 5 gt RX TX as AF MOSI SD MISO SD_ ext SCK CK 5 12 252 NSSAVS as AF MOSI SD MISO SD ext SCK CK lt dum NSS WS MCK as AF l2C1 SMBUS gt SCL SDA SMBA as SDA SMBA AF ecc K I2C3 SMBUS SCL SDA SMBA as AF eb TX It ii 519920 1 57 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 be used 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 to mini B computer with Windows XP Vista or 7 Development toolchain Altium TASKING VX Toolset Atollic TlueSTUDIO IAR EWARM Keil MDK ARM MS19052V 1 Table 2 Jumper states Both CN3 jumpers ST LINK V2 functions enabled for on board programming default Both CN3 jumpers OFF ST LINK V2 function
32. ulator 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 lt Doc ID 022256 Rev 2 11 38 Hardware and layout Figure 6 STM32F407VGT6 block diagram data HAM 64 KB NJTRST JTDI rod IS SWOLK amp SW NVIC gt DEUS ARM Cortex M4F 168 MHz piss rmm IN Ethernet MAC MII or RMII as AHB I 8S7M control HCLKx PCLKx DMA 1 2 AHB APB1 EXT IT WKUP D 7 6 CMD CKasaF M SDIO MMC ue 4 compl channels TIM1 CH 1 4 N 4 channels TIM1 CH 1 4 ETR 166 BKIN as TIM1 PWM gt 4 compl channels TIM1 CH 1 4 N 4 channels TIM1_CH 1 4 199 lt gt WWDG e BKIN as AF 2 channels as AF 4___ TIM9 lt gt 1 channelasAF lt TIM10 799 1chan
Download Pdf Manuals
Related Search
Related Contents
Rapport final User Manual 技術部報告2007 Vol.8 Genie B Manual 8856-1W Manual Détendeur Protal II - Air Liquide Medical Systems Fiche technique VR 230 Samsung Wireless Rear Speaker Module SWA-5000 User Manual 5571298a important Copyright © All rights reserved.
Failed to retrieve file