Download Discovery kit with STM32F411VE MCU
Transcript
UM1842 User manual Discovery kit with STM32F411VE MCU Introduction The STM32F411 Discovery kit (32F411EDISCOVERY) helps you to discover the entry level of the STM32F4 series and to develop your applications. It is based on an STM32F411VET6 microcontroller and includes an ST-LINK/V2 embedded debug tool interface, ST MEMS Gyroscope, ST MEMS accelerometer + magnetometer, ST MEMS digital microphone, audio DAC with integrated class D speaker driver, LEDs, pushbuttons and a USB OTG micro-AB connector. Figure 1. STM32F411 Discovery board December 2014 DocID027213 Rev 1 1/35 www.st.com 1 Contents UM1842 Contents 1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 Development toolchains supporting the STM32F411 Discovery kit . . . . . . 7 2.4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.1 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1.1 Using ST-LINK/V2 to program/debug the STM32F411 on board . . . . . . 13 4.1.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 14 4.2 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.3 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.5 On board audio capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.6 USB OTG supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.7 E-compass MEMS (ST MEMS LSM303DLHC) . . . . . . . . . . . . . . . . . . . . 16 4.8 Gyroscope MEMS (ST MEMS L3GD20) . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.9 JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.10 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.10.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.10.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.11 BOOT0 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.12 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.13 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2/35 DocID027213 Rev 1 UM1842 7 Contents Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 DocID027213 Rev 1 3/35 3 List of tables UM1842 List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. 4/35 ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Debug connector CN2 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 DocID027213 Rev 1 UM1842 List of figures 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. STM32F411 Discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 STM32F411 Discovery board connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 ST-LINK connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 STM32F411 Discovery board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 STM32F411 Discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 STM32F411VET6 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 USB_OTG_FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 DocID027213 Rev 1 5/35 5 Conventions 1 UM1842 Conventions Table 1 provides the definition of some conventions used in the present document. Table 1. ON/OFF conventions Convention 6/35 Definition Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open DocID027213 Rev 1 UM1842 2 Quick start Quick start The STM32F411 Discovery is a low-cost and easy-to-use development kit to quickly evaluate and start a development with an STM32F4 entry level 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 STM32F411 Discovery board and for demonstration software, visit www.st.com/stm32f4-discovery. 2.1 Getting started Follow the sequence below to configure the STM32F411 Discovery board and launch the DISCOVER application: 2.2 2.3 2.4 1. Ensure that the jumpers JP2 and CN3 are set to "on" (Discovery mode). 2. Connect the STM32F411 Discovery board to a PC using a USB cable type A/mini-B through the USB ST-LINK connector CN1, to power the board. The LED LD2 (PWR) will light up and the four LEDs between the buttons B1 and B2 start blinking. 3. Press the user button B1 to enable the MEMS sensor. The four LEDs will indicate the board motion direction and speed. When connected to a PC with a second USB type A/micro-B cable through CN5, the board will be recognized as a standard mouse. 4. The demo software, as well as other software examples that allow you to discover the STM32 F4 series features, are available on www.st.com/stm32f4-discovery. 5. Develop your own applications starting from the examples. System requirements Windows PC (XP, 7,8) USB type A to mini-B cable Development toolchains supporting the STM32F411 Discovery kit Keil®: MDK-ARM IAR: EWARM GCC-based IDEs (Atollic TrueStudio,...) Order code To order the Discovery kit for STM32F411 microcontrollers, use the order code: STM32F411E-DISCO. DocID027213 Rev 1 7/35 34 Features 3 UM1842 Features The STM32F411 Discovery board offers the following features: 8/35 STM32F411VET6 microcontroller featuring 512 KB of Flash memory, 128 KB of RAM in an LQFP100 package On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone STLINK/V2 (with SWD connector for programming and debugging) Board power supply: through USB bus or from an external 5 V supply voltage External application power supply: 3 V and 5 V L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope. LSM303DLHC, ST MEMS system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. MP45DT02, ST MEMS audio sensor, omnidirectional digital microphone CS43L22, audio DAC with integrated class D speaker driver Eight LEDs: – LD1 (red/green) for USB communication – LD2 (red) for 3.3 V power on – Four user LEDs: LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue) – Two USB 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 a quick connection to the prototyping board and an easy probing DocID027213 Rev 1 UM1842 Hardware layout The STM32F411 Discovery board has been designed around the STM32F411VET6 microcontroller in a 100-pin LQFP package. Figure 2 illustrates the connections between the STM32F411VET6 and its peripherals (STLINK/V2, pushbutton, LED, Audio DAC, USB, ST MEMS gyroscope, ST MEMS accelerometer + magnetometer, ST MEMS microphone, and connectors). Figure 3 and Figure 4 help you to locate these features on the STM32F411 Discovery board. Figure 2. Hardware block diagram DŝŶŝͲh^ ŵďĞĚĚĞĚ ^t ^dͲ>/E<ͬsϮ ^dDϯϮ&ϰϭϭsdϲ /ͬK /ͬK Z^d >Ɛ >ϯ͘͘͘>ϴ Ϯ Z^d DWϰϱdϬϮ ϭ h^Z >ϯ'ϮϬ ^ϰϯ>ϮϮ DŝŶŝͲ:ĂĐŬ ,ĞĂĚĞƌ /ͬK ,ĞĂĚĞƌ 4 Hardware layout DŝĐƌŽͲh^ >^DϯϬϯ>, 06Y9 DocID027213 Rev 1 9/35 34 Hardware layout UM1842 Figure 3. Top layout 67/,1.9 /'UHG/(' 3:5 670)(',6&2 /'UHGJUHHQ/(' &20 &1 6:'FRQQHFWRU &1 67/,1.',6&29(5<VHOHFWRU 9SRZHUVXSSO\LQSXWRXWSXW 9SRZHUVXSSO\RXWSXW -3 ,''PHDVXUHPHQW 6%%5(6(7 670)9(7 /'RUDQJH/(' %UHVHWEXWWRQ %XVHUEXWWRQ /'UHG/(' /'JUHHQ/(' /'EOXH/(' /'JUHHQ/(' /'UHG/(' 06Y9 10/35 DocID027213 Rev 1 UM1842 Hardware layout Figure 4. Bottom layout ^Ϯ͕^ϰ͕^ϲ͕^ϴ ;Z^ZsͿ ^ϯ͕^ϱ͕^ϳ͕^ϵ ;&h>dͿ ^ϭϬ͕^ϭϭ;Zy͕dyͿ ^ϭϱ;^tKͿ ^ϭϲ;yϮĐƌLJƐƚĂůͿ ^ϭϳ;yϯĐƌLJƐƚĂůͿ ^ϭϮ;^dDͺZ^dͿ ^ϭϴ;yϯĐƌLJƐƚĂůͿ ^ϭϯ;EZ^dͿ ^ϭϰ;yϮĐƌLJƐƚĂůͿ ^ϭϵ;KKdϬͿ ^ϮϬ;KKdϭͿ ^Ϯϭ;ϭͲh^ZͿ D^ϯϮϯϲϮsϭ DocID027213 Rev 1 11/35 34 Hardware layout 4.1 UM1842 Embedded ST-LINK/V2 The ST-LINK/V2 programming and debugging tool is integrated on the STM32F411 Discovery board. 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 5. Typical configuration +DUGZDUHUHTXLUHPHQWV 86%FDEOHW\SH$WRPLQL% &RPSXWHUZLWK:LQGRZV;3RU 'HYHORSPHQWWRROFKDLQV .HLO0'.$50 ,$5(:$50 *&&EDVHG,'(V$WROOLF7UXH6WXGLR« 06Y9 06Y9 Table 2. Jumper states Jumper state 12/35 Description Both CN3 jumpers ON ST-LINK/V2 functions enabled for on board programming (default) Both CN3 jumpers OFF ST-LINK/V2 functions enabled for application through external CN2 connector (SWD supported) DocID027213 Rev 1 UM1842 4.1.1 Hardware layout Using ST-LINK/V2 to program/debug the STM32F411 on board To program the STM32F411 on board, simply plug in the two jumpers on CN3, as shown in Figure 6 in red, but do not use the CN2 connector as that could disturb communication with the STM32F411VET6 of the STM32F411 Discovery board. Figure 6. STM32F411 Discovery board connections image STM32F411VET6 DocID027213 Rev 1 13/35 34 Hardware layout 4.1.2 UM1842 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 7, and connect your application to the CN2 debug connector according to Table 3. Note: SB13 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 7. ST-LINK connections image STM32F411VET6 14/35 DocID027213 Rev 1 UM1842 4.2 Hardware layout Power supply and power selection The power supply is provided either by the host PC through the USB cable, or by an external 5 V power supply. The D1 and D2 diodes protect the 5 V and 3 V pins from external power supplies: 4.3 4.4 5 V and 3 V can be used as output power supplies when another application board is connected to pins P1 and P2. In this case, the 5 V and 3 V pins deliver a 5 V or 3 V power supply and the power consumption must be lower than 100 mA. 5 V can also be used as input power supplies, e.g. when the USB connector is not connected to the PC. In this case, the STM32F411 Discovery board must be powered by a power supply unit or by an 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 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: The red LED indicates that the board is powered. User LD3: The orange LED is a user LED connected to the I/O PD13 of theSTM32F411VET6. User LD4: The green LED is a user LED connected to the I/O PD12 of theSTM32F411VET6. User LD5: The red LED is a user LED connected to the I/O PD14 of the STM32F411VET6. User LD6: The blue LED is a user LED connected to the I/O PD15 of theSTM32F411VET6. USB LD7: The green LED indicates when VBUS is present on CN5 and is connected to PA9 of the STM32F411VET6. USB LD8: The red LED indicates an overcurrent from VBUS of CN5 and is connected to the I/O PD5 of the STM32F411VET6. Pushbuttons B1 USER: User and Wake-Up button connected to the I/O PA0 of the STM32F411VET6. B2 RESET: The pushbutton connected to NRST is used to RESET the STM32F411VET6. DocID027213 Rev 1 15/35 34 Hardware layout 4.5 UM1842 On board audio capability The STM32F411 uses an audio DAC (CS43L22) to output sounds through the audio mini jack connector. The STM32F411 controls the audio DAC through the I2C interface and processes digital signals through an I2S connection or analog input signal. 4.6 The sound can come independently from different inputs: – ST MEMS microphone (MP45DT02): 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 STM32F411. The sound can be output in different ways through audio DAC: – Using the I2S protocol – Using the microphone output directly via a low pass filter to analog input AIN4x of the CS43L22 USB OTG supported The STM32F411 is used to drive only USB OTG full speed on this board. The USB microAB 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: 4.7 LD7 (green LED) indicates when VBUS is active LD8 (red LED) indicates an overcurrent from a connected device. E-compass MEMS (ST MEMS LSM303DLHC) The LSM303DLHC is an ultra-compact low-power system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. It includes a sensing element and an IC interface able to provide the measured acceleration to the external world through an I2C serial interface. The LSM303DLHC has dynamically user-selectable full scales of ± 2g/± 8g and is capable of measuring the acceleration, and a magnetic field full scale from ±1.3 g to 8.1 g with an output data rate of 100 Hz or 400 Hz. The STM32F411VET6 MCU controls this motion sensor through the I2C interface. 4.8 Gyroscope MEMS (ST MEMS L3GD20) The L3GD20 is an ultra-compact, low-power, three-axis angular rate sensor. It includes a sensing element and an IC interface able to provide the measured angular rate to the external world through the I2C/SPI serial interface. The L3GD20 has dynamically user-selectable full scales of ± 250 dps/500 dps/±2000 dps and is capable of measuring rates. 16/35 DocID027213 Rev 1 UM1842 Hardware layout The STM32F411VET6 MCU controls this motion sensor through the SPI interface. 4.9 JP2 (Idd) Jumper JP2, labeled Idd, allows the consumption of STM32F411VET6 to be measured by removing the jumper and connecting an ammeter. Jumper on: STM32F411VET6 is powered (default). Jumper off: an ammeter must be connected to measure the STM32F411VET6 current, (if there is no ammeter, the STM32F411VET6 is not powered). 4.10 OSC clock 4.10.1 OSC clock supply If PH0 and PH1 are only used as GPIOs instead of as a clock, then SB14 and SB16 are closed and R24, R25 and R66 are removed. MCO from ST-LINK (from MCO of the STM32F103) This frequency cannot be changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of the STM32F411VET6. The configuration needed is: – SB14, SB16 OPEN – R25 removed – R66 soldered Oscillator onboard (from X2 crystal) For typical frequencies and its capacitors and resistors, please refer to the STM32F411VET6 Datasheet. The configuration needed is: – SB14, SB16 OPEN – R25 soldered – R66 removed Oscillator from external PH0 (from external oscillator through pin 7 of the P2 connector) The configuration needed is: 4.10.2 – SB14 closed – SB16 closed – R25 and R66 removed OSC 32 KHz clock supply If PC14 and PC15 are only used as GPIOs instead of as a clock, then SB17 and SB18 are closed, and R21 and R22 are removed. Oscillator onboard (from X1 Crystal (not provided)) The configuration needed is: – SB17, SB18 OPEN – C20, C28, R21 and R22 soldered DocID027213 Rev 1 17/35 34 Hardware layout UM1842 Oscillator from external PC14 (from external oscillator trough the pin 9 of P2 connector) The configuration needed is: 4.11 – SB17closed – SB18 closed – R21 and R22 removed BOOT0 configuration BOOT0 is at level “0” through a pull-down R28. If you want to set BOOT0 at level “1”, it can be configured by setting a jumper between P2.21 (BOOT0) and P2.22 (VDD). Note: If you need to set BOOT0 at level "1" continuously, then open SB19 solder bridge to avoid a consumption of 6 mA, while connecting pin P2.21 and P2.22 with a jumper or with a wire. 4.12 Solder bridges Table 4. Solder bridges Bridge State X2, C18, C19, R24 and R25 provide a clock. PH0, PH1 are disconnected from P2 ON PH0, PH1 are connected to P2 R24, R25 and R66 must not be fitted). ON Reserved, do not modify SB2,4,6,8 (Reserved) OFF SB17,18 (X3 crystal) SB1 (B2-RESET) SB21 (B1-USER) SB10,11 (RX,TX) SB12 (STM_RST) 18/35 Reserved, do not modify OFF X3, C20, C28, R21 and R22 deliver a 32 KHz clock. PC14, PC15 are not connected to P2. ON PC14, PC15 are only connected to P2. Remove only R21, R22 ON B2 pushbutton is connected to the NRST pin of the STM32F411VET6 MCU OFF B2 pushbutton is not connected to the NRST pin of the STM32F411VET6 MCU ON B1 pushbutton is connected to PA0 OFF B1 pushbutton is not connected to PA0 ON NRST signal of the CN2 connector is connected to the NRST pin of the STM32F411VET6 MCU OFF NRST signal of the CN2 connector is not connected to the NRST pin of the STM32F411VET6 MCU ON SWO signal of the CN2 connector is connected to PB3 OFF SWO signal is not connected OFF Reserved, do not modify ON Reserved, do not modify OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND SB13 (NRST) SB15 (SWO) Description OFF SB14,16 (X2 crystal) SB3,5,7,9 (Default) (1) DocID027213 Rev 1 UM1842 Hardware layout Table 4. Solder bridges (continued) State (1) Bridge Description ON BOOT0 signal of the STM32F411VET6 MCU is held low through a 510 Ω pulldown resistor OFF BOOT0 signal of the STM32F411VET6 MCU is held high through a 10 KΩ pullup resistor OFF The BOOT1 signal of the STM32F411VET6 MCU is held high through a 10 KΩ pull-up resistor ON The BOOT1 signal of the STM32F411VET6 MCU is held low through a 510 Ω pull-down resistor SB19 (BOOT0) SB20 (BOOT1) 1. Default SBx state is shown in bold. 4.13 Extension connectors The male headers P1 and P2 can connect the STM32F411 Discovery board to a standard prototyping/wrapping board. STM32F411VET6 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 (page 1 of 8)(1) Main function Alternate functions CS43L22 MP45DT02 L3GD20 LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 BOOT0 - 94 - - - - - - - - - - - - - - 21 NRST - 14 - - - - RESET - - - - - - - - - - PA0WKUP TIM2_CH1/TIM2_ETR, TIM5_CH1, USART2_CTS, ADC1_0, WKUP 23 - - - - USER Board function LQFP100 MCU pin - - - - - - - - - - PA1 TIM2_CH2, TIM5_CH2, USART2_RTS, ADC1_1 24 - - - - - - - - - - - - - - - PA2 TIM2_CH3, TIM5_CH3, TIM9_CH1, USART2_TX, ADC1_2 25 - - - - - - - - - - - - - 14 - PA3 TIM2_CH4, TIM5_CH4, TIM9_CH2, USART2_RX, ADC1_3 26 - - - - - - - - - - - - - 13 - DocID027213 Rev 1 19/35 34 Hardware layout UM1842 Table 5. MCU pin description versus board function (page 2 of 8)(1) (continued) MP45DT02 L3GD20 LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 - - - - - - - - - - - - 16 - - - SCL/SPC - - - - - - - - - - 15 - 31 - - SDO - - - - - - - - - - 18 - TIM1_CH1N, TIM3_CH2, SPI1_MOSI, ADC1_7 32 - - SDA/SDI/SDO - - - - - - - - - - 17 - PA8 MCO_1, TIM1_CH1, I2C3_SCL, USART1_CK, USB_FS_SOF 67 - - - - - - - - - - - - - - 43 PA9 TIM1_CH2, I2C3_SMBAL, USART1_TX, USB_FS_VBUS 68 - - - - - GREEN - VBUS - - - 1 - - 44 PA10 TIM1_CH3, USART1_RX, USB_FS_ID 69 - - - - - - - ID - - - 4 - - 41 PA11 TIM1_CH4, USART1_CTS, USART6_TX, USB_FS_DM 70 - - - - - - - DM - - - 2 - - - PA12 TIM1_ETR, USART1_RTS, USART6_RX, USB_FS_DP 71 - - - - - - - DP - - - 3 - - - Main function Alternate functions LQFP100 CS43L22 Board function LRCK/AIN1x MCU pin PA4 SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_CK, ADC1_4 29 PA5 TIM2_CH1/TIM2_ETR, SPI1_SCK, ADC1_5 30 PA6 TIM1_BKIN, TIM3_CH1, SPI1_MISO, ADC1_6 PA7 20/35 DocID027213 Rev 1 UM1842 Hardware layout Table 5. MCU pin description versus board function (page 3 of 8)(1) (continued) - - - PA14 JTCK-SWCLK, I2S3ext_WS 76 - - - - - - PA15 JTDI, TIM2_CH1/TIM2_ETR, SPI1_NSS, SPI3_NSS/I2S3_WS 77 - - - - - - PB0 TIM1_CH2N, TIM3_CH3, ADC1_8 35 - - - - - PB1 TIM1_CH3N, TIM3_CH4, ADC1_9 36 - - - - 37 - - - - - - - 4 - 42 - - - - - 2 - 39 - - - - - - - - 40 - - - - - - - - 22 - - - - - - - - - - 21 - - - - - - - - - - - 24 - - - - - 6 - 28 SWCLK SWDIO SWD - - - - - - - - PB4 JTRST, TIM3_CH1, SPI1_MISO, 90 SPI3_MISO, I2S3ext_SD, I2C3_SDA - - - - - - - - - - - - - - 25 PB5 TIM3_CH2, I2C1_SMBAL, SPI1_MOSI, SPI3_MOSI/I2S3_SD 91 - - - - - - - - - - - - - - 26 PB6 TIM4_CH1, I2C1_SCL, USART1_TX, USB_FS_INT 92 - - SCL 89 SCL PB3 JTDO-SWO, TIM2_CH2, SPI1_SCK, SPI3_SCK/I2S3_CK, I2C2_SDA SWO PB2 P2 - P1 LED - CN2 Pushbutton - CN5 LSM303DLHC 72 Power supply L3GD20 JTMS-SWDIO Free I/O MP45DT02 PA13 OSC Alternate functions USB Main function CS43L22 Board function LQFP100 MCU pin - - - - - - - - - - 23 PB7 TIM4_CH2, I2C1_SDA, USART1_RX 93 - - - - - - - - - - - - - - 24 DocID027213 Rev 1 21/35 34 Hardware layout UM1842 Table 5. MCU pin description versus board function (page 4 of 8)(1) (continued) Main function Alternate functions CS43L22 MP45DT02 L3GD20 LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 PB8 TIM4_CH3, TIM10_CH1, I2C1_SCL, USB_FS_SCL, SDIO_D4 95 - - - - - - - - - - - - - - 19 PB9 TIM4_CH4, TIM11_CH1, I2C1_SDA, SPI2_NSS/I2S2_WS, USB_FS_SDA, SDIO_D5 96 SDA - - SDA - - - - - - - - - - 20 PB10 TIM2_CH3, I2C2_SCL, SPI2_SCK/I2S2_CK 47 - - - - - - - - - - - - - 34 - VCAP1 - 48 - - - - - - - - - - - - - 35 - PB12 TIM1_BKIN, I2C2_SMBAL, SPI2_NSS/I2S2_WS, I2S2ext_WS 51 - - - - - - - - - - - - - 36 - PB13 TIM1_CH1N, SPI2_SCK/I2S2_CK, I2S2ext_CK 52 - - - - - - - - - - - - - 37 - PB14 TIM1_CH2N, SPI2_MISO, I2S2ext_SD 53 - - - - - - - - - - - - - 38 - PB15 RTC_50Hz, TIM1_CH3N, SPI2_MOSI/I2S2_SD, I2S2ext_MISO 54 - - - - - - - - - - - - - 39 - PC0 ADC1_10 15 - - - - - - - PowerOn Board function LQFP100 MCU pin - - - - - 8 - PC1 ADC1_11 16 - - - - - - - - - - - - - 7 - PC2 SPI2_MISO, I2S2ext_SD, ADC1_12 17 - - - - - - - - - - - - - 10 - 22/35 DocID027213 Rev 1 UM1842 Hardware layout Table 5. MCU pin description versus board function (page 5 of 8)(1) (continued) MP45DT02 L3GD20 LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 PDM_OUT - - - - - - - - - 9 - - - - - - - - - - - - - - 20 - - - - - - - - - - - - - - 19 - TIM3_CH1, I2S2_MCK, 63 USART6_TX, SDIO_D6 - - - - - - - - - - - - - - 47 PC7 TIM3_CH2, I2S3_MCK, 64 USART6_RX, SDIO_D7 MCLK - - - - - - - - - - - - - 48 PC8 MCO_CPUCK, TIM3_CH3, 65 USART6_CK, SDIO_D0 - - - - - - - - - - - - - - 45 PC9 MCO_2, TIM3_CH4, I2C3_SDA, I2S2_CKIN, SDIO_D1 66 - - - - - - - - - - - - - - 46 PC10 I2S3ext_CK, SPI3_SCK/I2S3_CK, SDIO_D2 78 - - - - - - - - - - - - - 37 PC11 I2S3ext_SD, SPI3_MISO, SDIO_D3 79 - - - - - - - - - - - - - 38 PC12 I2S3ext_MISO, SPI3_MOSI/I2S3_SD, SDIO_CK 80 - - - - - - - - - - - - - 35 PC13 TAMP_1 7 - - - - - - - - - - - - - - 12 PC14 OSC32_IN 8 - - - - - - - - - - - - - 9 PC15 OSC32_OUT 9 - - - - - - - - - - - - - 10 PD0 - 81 - - - - - - - - - - - - - 36 Alternate functions PC3 SPI2_MOSI/I2S2_SD, ADC1_13 18 PC4 ADC1_14 33 PC5 ADC1_15 34 PC6 DocID027213 Rev 1 OSC32_OUT OSC32_IN CS43L22 AIN4x - Main function LQFP100 - SCLK Board function SDIN MCU pin - 23/35 34 Hardware layout UM1842 Table 5. MCU pin description versus board function (page 6 of 8)(1) (continued) Alternate functions CS43L22 MP45DT02 L3GD20 LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 PD1 - 82 - - - - - - - - - - - - - - 33 PD2 - 83 - - - - - - - - - - - - - - 34 PD3 - 84 - - - - - - - - - - - - - - 31 PD4 - 85 - - - - - - - - - - - - - 32 PD5 - 86 - - - - - RED - - - - - - - - - PD6 - 87 - - - - - - - - - - - - - - - PD7 - 88 - - - - - - - - - - - - - - - PD8 - 55 - - - - - - - - - - - - - 40 PD9 - 56 - - - - - - - - - - - - - 41 PD10 - 57 - - - - - - - - - - - - - 42 PD11 - 58 - - - - - - - - - - - - - 43 59 - - - - - - - - - - - - 44 - - - - - - - - 45 - - - - - - - - 46 - - - - - - - - 47 - PD13 TIM4_CH2 60 - - - - - PD14 TIM4_CH3 61 - - - - - PD15 TIM4_CH4 62 - - - - - PE0 TIM4_ETR 97 - - - - - - - - - - - - - 17 PE1 - 98 - - - - - - - - - - - - - 18 PE2 - 1 - - DRDY TIM4_CH1 INT2 INT1 PD12 BLUE RED ORANGE GREEN Main function RESET Board function LQFP100 MCU pin - - - - - - - - - - 15 24/35 - DocID027213 Rev 1 UM1842 Hardware layout Table 5. MCU pin description versus board function (page 7 of 8)(1) (continued) LSM303DLHC Pushbutton LED SWD USB OSC Free I/O Power supply CN5 CN2 P1 P2 - - - - - - - - - 16 - - - - - - - - - - - - 13 - - - - - - - - - - - - - 14 - - - - - - - - - - - - - - 11 38 - - - - - - - - - - - - - 25 - - 39 - - - - - - - - - - - - - 26 - PE9 - 40 - - - - - - - - - - - - - 27 - PE10 - 41 - - - - - - - - - - - - - 28 - PE11 TIM1_CH2, SPI4_NSS 42 - - - - - - - - - - - - - 29 - PE12 TIM1_CH3N, SPI4_SCK 43 - - - - - - - - - - - - - 30 - PE13 TIM1_CH3, SPI4_MISO 44 - - - - - - - - - - - - - 31 - PE14 TIM1_CH4, SPI4_MOSI 45 - - - - - - - - - - - - - 32 - - - - - - 33 - - - - - - 7 - - - - - 8 VDD 3 V 3 V 5 V 5 V - - - 3 - - - 4 - - - 5 - - - 6 - - 3 22 MP45DT02 - Alternate functions CS43L22 - Main function LQFP100 L3GD20 Board function CS_I2C/SPI MCU pin PE3 - 2 - - PE4 - 3 - - PE5 - 4 - PE6 - 5 PE7 - PE8 TIM1_BKIN 46 - - - - - - - - PH0 OSC_IN 12 - - - - - - - - PH1 OSC_OUT 13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DocID027213 Rev 1 OSC_OUT OSC_IN PE15 25/35 34 Hardware layout UM1842 Table 5. MCU pin description versus board function (page 8 of 8)(1) (continued) LED SWD USB OSC Free I/O - - - - - - - - - - - - - - - - - - GND GND - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1. The default configuration for the functions used on the boards, is shown in grey color. 26/35 DocID027213 Rev 1 P2 Pushbutton - P1 LSM303DLHC - CN2 L3GD20 - CN5 MP45DT02 - Power supply Alternate functions GND GND GND GND GND GND VDD Main function CS43L22 Board function LQFP100 MCU pin - - 4 - 5 3 1 - - - 2 - - - 5 - - - 23 - - - 49 - - - 50 - UM1842 Mechanical drawing Figure 8. STM32F411 Discovery board mechanical drawing & 5 Mechanical drawing 069 DocID027213 Rev 1 27/35 34 Electrical schematics Electrical schematics 28/35 6 Figure 9. STM32F411 Discovery board 1 2 3 ST_LINK_V2.SCHDOC U_ST_LINK STM32F4_USART2_TX STM32F4_USART2_RX PA2 PA3 PA2 PA3 MCO PA14 PA13 TCK/SWCLK TMS/SWDIO NRST PB3 T_NRST T_SWO PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 U_USB_OTG_FS USB_OTG_FS.SchDoc PA9 PA10 PA11 PA12 PA9 PA10 PA11 PA12 PD5 PC0 PD5 PC0 DocID027213 Rev 1 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 B P1 VDD PC1 PC3 PA1 PA3 PA5 PA7 PC5 PB1 PE7 PE9 PE11 PE13 PE15 NC PB13 PB15 PD9 PD11 PD13 PD15 C 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 U_Audio Audio.SchDoc U_STM32Fx STM32Fx.SchDoc MCO PA14 PA13 A NRST PB3 4 NRST PC0 PC2 PA0 PA2 PA4 PA6 PC4 PB0 PB2 PE8 PE10 PE12 PE14 PB10 PB12 PB14 PD8 PD10 PD12 PD14 NC PB12 PB13 PB14 PB15 VDD PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 BOOT1 / PB2 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PB12 PB13 PB14 PB15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 MCO PH0 PH1 BOOT0 NRST PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PA4 PC12 PC10 PD4 PC7 PA4 PC12 PC10 PD4 PC7 PB10 PC3 PC4 PB10 PC3 PC4 A PB6 PB9 PB6 PB9 U_IO Peripherals IO Peripherals.SchDoc PD12 PD13 PD14 PD15 PB6 PB9 PE2 PE4 PE5 PD12 PD13 PD14 PD15 PA0 NRST PA0 NRST PE0 PE1 PE3 PA5 PA6 PA7 PE0 PE1 PE3 PA5 PA6 PA7 PB6 PB9 PE2 PE4 PE5 B P2 5V 3V MCO PH0 PH1 BOOT0 NRST 5V 3V PH0 PC14 PE6 PE4 PE2 PE0 PB8 BOOT0 PB6 PB4 PD7 PD5 PD3 PD1 PC12 PC10 PA14 PA10 PA8 PC8 PC6 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 5V 3V PH1 PC15 PC13 PE5 PE3 PE1 PB9 5V 3V VDD PB7 PB5 PB3 PD6 PD4 PD2 PD0 PC11 PA15 PA13 PA9 PC9 PC7 C Header 25X2 Header 25X2 Rev A.0 --> PCB label MB1115 A-00 Rev B.1 --> PCB label MB1115 B-01 LD3GD20 U7 was routed wrong. Rev B.2 --> PCB label MB1115 B-02 STM32F401VCT6U replaced by STM32F411VET6U D D STMicroelectronics Title: STM32F411E-DISCOVERY Number:MB1115 Rev: B.2(PCB.SCH) 2 3 Date: 10/16/2014 4 Sheet 1 of 6 UM1842 1 1 2 3 UM1842 Figure 10. ST-LINK/V2 (SWD only) 4 TCK/SWCLK TMS/SWDIO PA14 PA13 NRST PB3 T_NRST B R20 4K7 R19 4K7 AIN_1 DocID027213 Rev 1 STM32F4_USART2_RX JP1 STLINK_RX PA2 VDD_3 VSS_3 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4/JNTRST PB3/JTDO PA15/JTDI JTCK/SWCLK VDD_2 VSS_2 JTMS/SWDIO PA12 PA11 PA10 PA9 PA8 PB15 PB14 PB13 PB12 36 35 34 33 32 31 30 29 28 27 26 25 R10 1 2 3 4 5 6 U2 STM32F103C8T6 3V R15 22 R16 T_SWO R66 100 MCO D RESERVED SB8 SWDIO B Jumpers ON --> DISCOVERY Selected Jumpers OFF --> ST-LINK Selected R67 100 Not Fitted Wired on Solder Side LD1 JP4 VDD JP2 COM R4 Red 2 1 JP3 R3 LED_STLINK 4 R1 0 3 3V C _Green LD2 LED, red LD_BICOLOR_CMS EXT_5V, Input or Output C8 100nF C12 100nF C10 100nF PWR D1 U5V 5V 5V 1 C17 1uF C1 1uF 2V5 Vin INH GND 2 3 Vout BYPASS LD3985M25R C16 C13 100nF 10nF D3 U1 5 Vin INH GND 2 U3 1 1K5 3V 0 USB_DM 0 USB_DP 100K 4 5V U5V Vout 5 C4 1uF LD3985M33R C2 C5 100nF 10nF C15 100nF OUT_3V, Only Output C3 100nF D STM32F411E-DISCOVERY ST-LINK/V2 (SWD only) Number:MB1115 Rev: B.2(PCB.SCH) 3 Date: 10/16/2014 4 Sheet 2 of 6 29/35 Electrical schematics STMicroelectronics Title: 2 3V BAT60JFILM BYPASS C14 1uF USB-MINI-typeB 1 STM_JTMS CN3 3 VCC DD+ ID GND SHELL SB6 SB9 MCO BAT60JFILM R7 R9 R8 R6 SB7 SWCLK 100 C7 100nF 1 2 3 4 5 6 SB4 3V STM_JTCK 100 3V USB SB5 C67 20pF Idd Not Fitted CN1 SB2 22 R13 1K Close to JP Not Fitted T_NRST 22 SB3 RC Must be very close to STM32F103 pin 29 T_SWDIO_IN 3V T_JTMS R17 T_JTMS T_JTCK 3V A T_JTCK 22 Header 6 STM_JTMS USB_DP USB_DM T_SWO LED_STLINK SB10 STM32F4_USART2_TX C SWD 1 2 3 4 48 47 46 45 44 43 42 41 40 39 38 37 PA3 SB11 TX RX AIN_1 [NA] 13 14 15 16 17 18 19 20 21 22 23 24 C11 100nF3V VBAT PC13 PC14 PC15 OSCIN OSCOUT NRST VSSA VDDA PA0 PA1 PA2 STLINK_TX SB12 R2 4 OSC_IN OSC_OUT STM_RST DEFAULT SWIM_IN SWIM 8MHz R18 100K 1 2 3 4 5 6 7 8 9 10 11 12 D2 BAT60JFILM PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2/BOOT1 PB10 PB11 VSS_1 VDD_1 C6 20pF X1 20pF 1 2 3V R14 10K SWD CN2 3V C9 STM_JTCK 100K SWIM_IN SWIM [NA] SWIM_IN SWIM_RST SWIM_RST_IN R11 Board Ident: PC13=0 SB13 SB15 T_JRST 10K T_JTCK T_JTDO T_JTDI T_NRST A R12 T_SWO R5 1 2 3 4 U4A B DocID027213 Rev 1 PB12 PB13 PB14 PB15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 C PB12 PB13 PB14 PB15 51 52 53 54 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 15 16 17 18 33 34 63 64 65 66 78 79 80 7 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PB12 PB13 PB14 PB15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 81 82 83 84 85 86 87 88 55 56 57 58 59 60 61 62 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 L1 R23 Ferrite 47 C30 100nF C26 100nF C22 1uF C21 100nF C24 1uF C23 100nF C31 100nF C25 100nF C32 100nF R26 0 C35 100nF C34 C29 100nF 100nF 11 19 28 50 75 100 21 22 6 VDD5 VDD12 VDD4 VDD1 VDD2 VDD3 VREF+ VDDA VBAT PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 BOOT1 VDD A R30 10K PB2 R31 510 SB20 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 Must be close to the Crystal MCO 8 9 PC14 PC15 NRST PH0 R25 0 BOOT0 PH0-OSC_IN PH1-OSC_OUT NRST 94 BOOT0 R24 0 PC14 SB18 NRST R28 R21 510 BOOT0 SB19 PC15 SB17 220 X2 8MHz C 6.8pF Not Fitted VDD 49 20 48 73 VSS VSSA VCAP1 VCAP2 C38 2.2uF STM32F411VET6U C33 2.2uF Title: 2 D STMicroelectronics C27 1uF STM32F411E-DISCOVERY MCU Number:MB1115 Rev: B.2(PCB.SCH) 1 C18 20pF 6.8pF X3 XTAL_32K_20PPM C28 0 10 27 74 VSS5 VSS4 VSS2 R29 [NA] C19 20pF C20 R22 PC14-OSC32_IN PC15-OSC32_OUT 14 B SB14 PH1 12 13 PH0 PH1 MCO SB16 99 VSS STM32F411VET6U U4B VDD D PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 2 PB6 PB9 35 36 37 89 90 91 92 93 95 96 47 97 98 1 2 3 4 5 38 39 40 41 42 43 44 45 46 1 R32 4.7K PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 3 R27 4.7K PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 4 VDD 23 24 25 26 29 30 31 32 67 68 69 70 71 72 76 77 2 A PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 1 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 Electrical schematics 30/35 Figure 11. STM32F411VET6 MCU 3 Date: 10/16/2014 Sheet 3 of 6 4 UM1842 1 2 3 UM1842 Figure 12. Audio 4 A A R59 51 C60 22nF U8 Audio_SDA Audio_SCL PB9 PB6 I2S3_MCK I2S3_SCK I2S3_SD I2S3_WS Audio_RST PC7 PC10 PC12 PA4 PD4 PD4 PB9 PB6 1 2 3 PC7 PC10 PC12 PA4 37 38 39 40 32 R43 10 11 10K B C52 1uF C56 1uF 12 SDA SCL A0 HP/LINE_OUTA HP/LINE_OUTB SPKR/HP MCLK SCLK SDIN LRCK RESET -VHPFILT FLYN FLYP 2V5 DocID027213 Rev 1 C44 100nF C45 100nF C59 100nF 13 16 34 C64 1uF 3V C46 100nF 20 36 33 35 41 +VHP VA VD TSTO TSTO VL DGND GND/Thermal Pad CS43L22 I2C address 0x94 R60 51 SPKR_OUTA+ SPKR_OUTASPKR_OUTB+ SPKR_OUTBVP VP AIN1B AIN1A AIN2B AIN2A AIN3B AIN3A AIN4B AIN4A VQ AFILTB AFILTA FILT+ AGND C61 22nF 2 CN4 15 14 31 19 28 27 18 17 ST-225-02 0 4 6 7 9 8 5 30 29 26 25 24 23 22 21 3 1 R63 C49 100nF R45 100 C50 100nF 3V B C47 R46 Audio_DAC_OUT PA4 [NA] R44 1uF 100K R50 R51 100 C57 C58 10nF R52 1.2K 100K 1uF R53 R47 C62 1uF C53 150pF C51 150pF C63 1uF PC3 PDM_OUT 0 PC4 PC4 [NA] C C 3V 3V C66 C65 100nF R62 [NA] R61 0 10uF U10 1 2 3 GND LR GND VDD DOUT CLK 6 5 4 PC3 PB10 PC3 PB10 PDM_OUT CLK_IN MP45DT02 D D Title: STM32F411E-DISCOVERY Audio Number:MB1115 Rev: B.2(PCB.SCH) 1 2 3 Date: 10/16/2014 4 Sheet 4 of 6 31/35 Electrical schematics STMicroelectronics 1 2 3 4 A A 3V Electrical schematics 32/35 Figure 13. USB_OTG_FS R65 620 3V PC0 PC0 2 5 4 5V R42 0 GND FAULT IN OUT EN STMPS2141STR B 3 1 LD8 LED, red R48 PD5 CN5 1 2 3 4 5 C54 4.7uF VBUS DM DP ID GND PA9 PA11 PA12 PA10 PA9 PA11 PA12 PA10 Shield B USB-MICRO-AB R56 R58 R57 22 22 0 3V C ID D+in D-in Pd1 Pd2 GND EMIF02-USB03F2 A3 C1 D1 B1 C2 D2 LD7 LED, green R54 47K 1 R55 3 Vbus D+out D-out Dz Pup C R64 330 U9 B3 C3 D3 A2 B2 T1 9013-SOT23 2 DocID027213 Rev 1 6 VBUS_FS OTG_FS_DM OTG_FS_DP OTG_FS_ID OTG_FS_OverCurrent PD5 0 USB_Micro-AB receptacle OTG_FS_PowerSwitchOn R49 47K U6 R41 10K [NA] D D STMicroelectronics Title: STM32F411E-DISCOVERY USB_OTG_FS Number:MB1115 Rev: B.2(PCB.SCH) 1 2 3 Date: 10/16/2014 Sheet 5 of 6 4 UM1842 1 2 3 4 VDD A UM1842 Figure 14. Peripherals VDD A R34 PA0 SB21 330 R35 220K NRST NRST 4 1 SB1 SW-PUSH-CMS_BLACK B2 PA0 3 2 [NA] C39 100nF 3 2 C36 R33 [NA] SW-PUSH-CMS_BLUE B1 100 4 1 R37 USER & WAKE-UP Button RESET Button B B DocID027213 Rev 1 3V C37 10uF U5 PB6 PB9 PE5 PE4 1 2 3 4 5 6 7 PB6 PB9 PE5 PE4 C C42 4.7uF VDD_IO SCL SDA INT2 INT1 C1 GND VDD SETC SETP GND GND DRDY NC 14 13 12 11 10 9 8 C41 PE2 220nF U C40 100nF PE2 L PD12 R PD13 PD12 330 PD13 PD14 PD15 C LED, orange LD5 R39 1K D 3V LED, green LD3 R36 1K LSM303DLHC PD14 LD4 R38 PD15 LED, red LD6 R40 510 LED, blue U7 SPI1_SCK SPI1_MOSI SPI1_MISO CS_I2C/SPI MEMS_INT2 MEMS_INT1 PA5 PA7 PA6 PE3 PE1 PE0 D PA5 PA7 PA6 PE3 PE1 PE0 1 2 3 4 5 6 7 8 VDD_IO SCL/SPC SDA/SDI/SDO SA0/SDO CS_I2C/SPI DRDY/INT2 INT1 GND VDD VDD C1 GND GND GND GND GND 16 15 14 13 12 11 10 9 C55 100nF C48 10nF LEDs C43 10uF Title: STM32F411E-DISCOVERY Peripherals Number:MB1115 Rev: B.2(PCB.SCH) 2 3 Date: 10/16/2014 4 Sheet 6 of 6 33/35 Electrical schematics MEMS 1 D STMicroelectronics L3GD20 Revision history 7 UM1842 Revision history Table 6. Document revision history 34/35 Date Revision 16-Dec-2014 1 Changes Initial release. DocID027213 Rev 1 UM1842 IMPORTANT NOTICE – PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. © 2014 STMicroelectronics – All rights reserved DocID027213 Rev 1 35/35 35