ST UM2135 User Manual
ST UM2135 User Manual

ST UM2135 User Manual

Discovery kit with stm32f413zh mcu
Table of Contents

Advertisement

Quick Links

UM2135
User manual
Discovery kit with STM32F413ZH MCU
Introduction
With the STM32F413 Discovery kit (32F413HDISCOVERY), users develop applications
®
easily on the STM32F4 Series high-performance microcontrollers based on Arm
®
Cortex
-M4 core. The Discovery kit combines the STM32F413 features with 240×240 pixel
2
LCD with touch panel, LEDs, I
S audio codec, MEMS microphones, USB OTG FS,
Quad-SPI NOR Flash memory, and microSD™ card connector.
An embedded ST-LINK/V2-1 debugger/programmer is included. Specialized add-on boards
®
can be connected through the ARDUINO
Uno V3 or expansion connectors.

Figure 1. 32F413HDISCOVERY board

Figure 2. 32F413HDISCOVERY board

(Top view with LCD)
(Bottom view with STM32F413ZHT6)
Pictures are not contractual.
December 2021
UM2135 Rev 2
1/43
www.st.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UM2135 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST UM2135

  • Page 1: Figure 1. 32F413Hdiscovery Board

    LCD with touch panel, LEDs, I S audio codec, MEMS microphones, USB OTG FS, Quad-SPI NOR Flash memory, and microSD™ card connector. An embedded ST-LINK/V2-1 debugger/programmer is included. Specialized add-on boards ® can be connected through the ARDUINO Uno V3 or expansion connectors.
  • Page 2: Table Of Contents

    Embedded ST-LINK/V2-1 ........12...
  • Page 3 CN1 ........25 ST-LINK/V2-1 USB Micro-AB connector CN2 ..... 26 TAG connector CN11 .
  • Page 4 Revision history ........... . 42 4/43 UM2135 Rev 2...
  • Page 5 Document revision history ..........42 UM2135 Rev 2...
  • Page 6 Extension microphone connector (front view)........29 6/43 UM2135 Rev 2...
  • Page 7: Features

    Comprehensive free software libraries and examples available with the STM32Cube MCU Package • On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port • Support of a wide choice of Integrated Development Environments (IDEs) including ®...
  • Page 8: Codification

    STM32F4XXY-DISCO Description DISCO MCU series in STM32 32-bit STM32F4 STM32F4 Series Arm Cortex MCUs MCU product line in the series STM32F413 STM32 Flash memory size: 1.5 Mbytes H for 1.5 Mbytes DISCO Discovery kit Discovery kit 8/43 UM2135 Rev 2...
  • Page 9: Development Environment

    Linux is a registered trademark of Linus Torvalds. c. macOS is a trademark of Apple Inc. registered in the U.S. and other countries. d. All other trademarks are the property of their respective owners. ® e. On Windows only. UM2135 Rev 2 9/43...
  • Page 10: Hardware Layout And Configuration

    STM32 and the peripherals (PSRAM, Quad-SPI Flash memory, LCD ™ ® connector, USB OTG connectors, USART, Audio, microSD card, ARDUINO Uno V3 shields, and embedded ST-LINK/V2-1). Refer to Figure 4 Figure 5 to locate these features on the 32F413HDISCOVERY board. Figure 3. Hardware block diagram 3.3 V...
  • Page 11: 32F413Hdiscovery Discovery Kit Layout

    UM2135 Hardware layout and configuration 32F413HDISCOVERY Discovery kit layout Figure 4. 32F413HDISCOVERY Discovery kit (top side) UM2135 Rev 2 11/43...
  • Page 12: Embedded St-Link/V2-1

    SWIM interface • Application voltage lower than 3 V For all general information concerning debugging and programming features common between V2 and V2-1 versions, refer to the user manual ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 (UM1075) at the www.st.com website.
  • Page 13: Drivers

    ST-LINK/V2-1 firmware upgrade The ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrades through the USB port. As the firmware may evolve during the lifetime of the ST-LINK/V2-1 product (for example new functionalities, bug fixes, support for new microcontroller families), it is recommended to visit www.st.com...
  • Page 14: Figure 7. Jp3: 5V_St_Link Selection

    USB host without a current limitation on board. A jumper needs to be placed on pins 5 and 6 of JP3 (5V_USB_FS on the silkscreen) to enable this power source (see Figure Figure 9. JP3: 5V_USB_FS 14/43 UM2135 Rev 2...
  • Page 15: Programming/Debugging When The Power Supply

    JP3 must be placed on [7-8], to allow the board to be powered anyway. Caution: Do not connect the PC to the ST-LINK (CN2) when R45 is soldered. The PC may be damaged or the board may not be powered correctly.
  • Page 16: Clock Sources

    The connector CN12 offers the possibility to connect a microphone module with up to five ST-MEMS microphones (Refer to the audio schematics of the board). They are connected to the digital input microphones of the STM32F413ZH and are managed by the DFSDM functionality.
  • Page 17: Usb Otg Fs

    STM32F413ZH. 5.11 Virtual COM port The serial interface USART6 is directly available as a virtual COM port of the PC connected to the ST-LINK/V2-1 USB connector CN13. The virtual COM port settings are configured as: • 115200 b/s • 8 bits data •...
  • Page 18: Lcd

    The module is driven by an SPI interface enabling the connection to the STM32F413ZH. The Wi-Fi module requires no operating system and has a completely integrated TCP/IP stack that only requires AT commands to establish connectivity. ® Figure 11. Wi-Fi module 18/43 UM2135 Rev 2...
  • Page 19: Buttons And Leds

    Alternate function Wake-up PA0 BLACK RESET NRST Fault Power Current upper than 750 mA RED/GREEN ST-LINK COM Green when communication GREEN LED2_GREEN LED1_RED GREEN ARDUINO PB12 GREEN 5 V Power 5 V available GREEN 5 V USB available OCRCR UM2135 Rev 2 19/43...
  • Page 20: Connectors

    ® Table 5. Pinout of the ARDUINO connector Connector Pin number Pin name Signal name STM32 pin Function IOREF 3.3 V reference NRST NRST NRST RESET 3.3 V 3.3 V input/output 5 V output Power input 20/43 UM2135 Rev 2...
  • Page 21 ARD_D12 SPI3_MISO PWM/MOSI/ TIM3_CH2/SPI3_ ARD_D11 MOSI TIM2_CH1/SPI3_N PWM/CS/D10 ARD_D10 PA15 PWM/D9 ARD_D9 TIM4_CH3 ARD_D8 ARD_D7 PC13 PWM/D6 ARD_D6 TIM3_CH3 PWM/D5 ARD_D5 TIM9_CH2 ARD_D4 EXT_IT_6 PWM/D3 ARD_D3 PF10 TIM5_CH4 ARD_D2 PG13 TX/D1 ARD_D1 UART7_TX RW/D0 ARD_D0 UART7_RX UM2135 Rev 2 21/43...
  • Page 22: Usb Otg Fs Micro-Ab Connector Cn17

    USB differential pair DP (D+) USB_OTG_FS_P PA12 USB_OTG_FS_ID PA10 USB Identification Table 7. USB OTG FS power management Pin number Pin names Signal names STM32 pin Function U12-3 FAULTn USB_OTG_FS_OVRCR Over Current IT U12-4 USB_OTG_FS_PWR_EN USB Power enable 22/43 UM2135 Rev 2...
  • Page 23: Lcd Connector Cn16

    DB10 LCD-PSRAM_D10 PE13 FSMC_D10 LCD-PSRAM_D9 PE12 FSMC_D9 LCD-PSRAM_D8 PE11 FSMC_D8 CN16 LCD-PSRAM_D7 PE13 FSMC_D7 LCD-PSRAM_D6 FSMC_D6 LCD-PSRAM_D5 FSMC_D5 LCD-PSRAM_D4 FSMC_D4 LCD-PSRAM_D3 FSMC_D3 LCD-PSRAM_D2 FSMC_D2 LCD-PSRAM_D1 PD15 FSMC_D1 LCD-PSRAM_D0 PD14 FSMC_D0 LCD-PSRAM_NOE FSMC_NOE LCD-PSRAM_NWE FSMC_NWE LCD-RS_A0 FSMC_RS UM2135 Rev 2 23/43...
  • Page 24: Touch Panel Connector Cn10

    Table 9. Backlight power management Pin number Pin name Signal name STM32 pin Function U18-7 LCD_BL_CTRL Backlight enable Touch panel connector CN10 The touch panel connector is shown in Figure Figure 15. Touch panel connector pinout 24/43 UM2135 Rev 2...
  • Page 25: Microsd ™ Connector Cn1

    I2CFMP1_SDA I2CFMP1_SDA I2CFMP1_SCL I2CFMP1_SDA CN10 Ground RESET LCD-CTP_RST PB13 RESET Ground/ V for rev2 3.3 V Power Ground ™ microSD connector CN1 The microSD™ connector is shown in Figure ™ Figure 16. microSD connector (front view) UM2135 Rev 2 25/43...
  • Page 26: St-Link/V2-1 Usb Micro-Ab Connector Cn2

    SD_Detect PF11 SD CARD DETECT ST-LINK/V2-1 USB Micro-AB connector CN2 The USB connector is used to connect the embedded ST-LINK/V2-1 to a PC for programming and debugging of the STM32F413ZH microcontroller. The USB connector is shown in Figure Figure 17. USB Micro-AB connector (front view)
  • Page 27: Tag Connector Cn11

    10-pin footprint supported by the SWD mode. It shares the signals with the ST-LINK (see Figure 18). The TC2050-IDC-NL cable is used to link ST-LINK and the TAG connector on the 32F413HDISCOVERY so that users can easily program and debug the STM32F413ZH (see Figure 19).
  • Page 28: Audio Line Output (Green Jack) Connector Cn5

    Figure Figure 20. Audio jack connector (front view) Table 14. Audio jack connector Signal Connector Pin number Pin name Audio codec pin Function name MIC_IN MICBIAS1 Microphone HPOUT1FB/GND HP_OUT_R HPOUT1R HP right HP_OUT_L HPOUT1L HP left 28/43 UM2135 Rev 2...
  • Page 29: Extension Microphone Connector Cn12

    DFSDM2 CLOCK CLK_0 EXT_DFSDM1_CKOUT DFSDM1 CLOCK DATA_1 EXT_DFSDM2_DATIN1 DFSDM2 DATA1 DATA_0 EXT_DFSDM1_DATIN1 DFSDM1 DATA1 CN12 DATA_3 EXT_DFSDM2_DATIN7 DFSDM2 DATA7 DETECTN DETECTN MEMS_LED MEMS_LED CN12 3.3 V Power CC_1 Ground 6.10 Optional audio stereo speakers CN3 and CN4 UM2135 Rev 2 29/43...
  • Page 30 Connectors UM2135 The stereo audio outputs are available to support stereo speakers (CN3 for the left channel and CN4 for the right channel). 30/43 UM2135 Rev 2...
  • Page 31: 32F413Hdiscovery Board Information

    Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference designs or in production.
  • Page 32: Product Identification Dk32F413H$Au1

    Refer to the bill of materials for details. Board limitations No demonstration software is provided from this board revision. 7.3.4 Board MB1299 revision B-01 The revision B-01 is the initial release of the MB1299 MEMS microphone expansion board. 32/43 UM2135 Rev 2...
  • Page 33: Board Mb1299 Revision B-02

    The revision B-03 of the MB1299 board corresponds to: • Several part references updated due to obsolescence, such as MEMS microphones or others. Refer to the bill of materials for details. Board limitations No limitation identified for this board revision. UM2135 Rev 2 33/43...
  • Page 34: Appendix A 32F413Hdiscovery I/O Assignment

    ARD_UART7 QSPI_BK1_IO0 QSPI QSPI_BK1_IO1 QSPI PF10 ARD_D3_PWM ARD_TIM5_CH4 PH0-OSC_IN HSE_OSC_IN 8 MHz clock PH1-OSC_OUT WIFI_RST Wi-Fi NRST NRST_BUTTON RESET ARD_A0 ARD_ADC1_IN10 CTP_INT Touch Panel INT CODEC_I2Sext_SD I2S2 CODEC_I2S_SD I2S2 3.3 V DD_12 DD_12 3.3 V REF+ 34/43 UM2135 Rev 2...
  • Page 35 PSRAM_A8 PSRAM PF15 PSRAM_A9 PSRAM PSRAM_A10 PSRAM PSRAM_A11 PSRAM LCD-PSRAM_D4 LCD-PSRAM LCD-PSRAM_D5 LCD-PSRAM LCD-PSRAM_D6 LCD-PSRAM SS_7 SS_7 3.3 V DD_7 DD_7 PE10 LCD-PSRAM_D7 LCD-PSRAM PE11 LCD-PSRAM_D8 LCD-PSRAM PE12 LCD-PSRAM_D9 LCD-PSRAM PE13 LCD-PSRAM_D10 LCD-PSRAM PE14 LCD-PSRAM_D11 LCD-PSRAM UM2135 Rev 2 35/43...
  • Page 36 LCD-PSRAM PSRAM_A12 PSRAM PSRAM_A13 PSRAM PSRAM_A14 PSRAM PSRAM_A15 PSRAM QSPI_BK1_NCS QSPI USB_OTG_FS_OVRCR USB_INT_7 USB_OTG_FS_PWR_EN SS_9 SS_9 3.3 V DD_2_USB33 DD_2_USB33 CTP_I2C_SCL CTP_I2CFMP1 CTP_I2C_SDA CTP_I2CFMP1 SD_D0 SD CARD SD_D1 SD CARD DFSDM1_CKOUT ST-MEMS microphones USB_OTG_FS_VBUS PA10 USB_OTG_FS_ID 36/43 UM2135 Rev 2...
  • Page 37 WIFI_SPI_CSN WIFI_SPI_CS PG12 WIFI_DRDY Wi-Fi PG13 ARD_D2_IO PG14 UART_VCP_TX STLINK_UART6 VSS_11 SS_11 VDD_11 3.3 V DD_11 PG15 CODEC_INT AUDIO_INT15 DBG_SWO ST-LINK ARD_D12_MISO SPI3 (ARD & WIFI) ARD_D11_PWM_MOSI SPI3 (ARD & WIFI) ARD_D4_INT ARD_INT_6 DFSDM2_DATIN7 ST-MEMS microphones UM2135 Rev 2 37/43...
  • Page 38 32F413HDISCOVERY I/O assignment UM2135 Table 16. 32F413HDISCOVERY I/O assignment (continued) Pin No. Pin Name Signal or Label Feature / Comment BOOT0 BOOT0 BOOT ARD_D9_PWM ARD_TIM4_CH3 CODEC_I2S_WS AUDIO_I2S2 PSRAM_NBL0 PSRAM PSRAM_NBL1 PSRAM PDR_ON PDR_ON 3.3 V DD_3 DD_3 38/43 UM2135 Rev 2...
  • Page 39: Appendix B Federal Communications Commission (Fcc)

    Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device. Industry Canada ICES-003 Compliance Label: CAN ICES-3 (A)/NMB-3(A) UM2135 Rev 2 39/43...
  • Page 40: Déclaration De Conformité

    : (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage est susceptible d'en compromettre le fonctionnement Étiquette de conformité à la NMB-003 d'Industrie Canada : CAN ICES-3 (A)/NMB-3(A) 40/43 UM2135 Rev 2...
  • Page 41 Warning: This device is compliant with Class A of CISPR32. In a residential environment, this equipment may cause radio interference. Avertissement: Cet équipement est conforme à la Classe A de la CISPR 32. Dans un environnement résidentiel, cet équipement peut créer des interférences radio. UM2135 Rev 2 41/43...
  • Page 42: Table 17. Document Revision History

    Reshuffle of the document to align with latest standards: – Introduction Conventions reordering – New Table 2: Codification explanation Section 7: 32F413HDISCOVERY board information 15-Dec-2021 Updated: – Introduction, Features, Figure Figure 4, and Figure 5 Removed: – Demonstration software and Electrical schematics removed. 42/43 UM2135 Rev 2...
  • Page 43 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.

Table of Contents