ST UM1461 User Manual
ST UM1461 User Manual

ST UM1461 User Manual

Stm3240g-eval evaluation board um1461
Table of Contents

Advertisement

Quick Links

UM1461
User manual
STM3240G-EVAL evaluation board
Introduction
The STM3240G-EVAL evaluation board is a complete demonstration and development
platform for the STM32F4 series and includes an embedded STM32F407IGH6 high-
®
performance ARM
Cortex™-M4F 32-bit microcontroller.
The full range of hardware features on the board is provided to help you evaluate all
peripherals (USB-OTG HS, USB-OTG FS, Ethernet, motor control, CAN, MicroSD Card™,
smartcard, USART, Audio DAC, RS-232, IrDA, SRAM, MEMS, EEPROM... etc.) and
develop your own applications. Extension headers make it possible to easily connect a
daughterboard or wrapping board for your specific application.
The in-circuit ST-LINK/V2 tool can be easily used for JTAG and SWD interface debugging
and programming.
Figure 1.
STM3240G-EVAL evaluation board
April 2012
Doc ID 022138 Rev 4
1/67
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ST UM1461

  • Page 1: Figure 1. Stm3240G-Eval Evaluation Board

    UM1461 User manual STM3240G-EVAL evaluation board Introduction The STM3240G-EVAL evaluation board is a complete demonstration and development platform for the STM32F4 series and includes an embedded STM32F407IGH6 high- ® performance ARM Cortex™-M4F 32-bit microcontroller. The full range of hardware features on the board is provided to help you evaluate all peripherals (USB-OTG HS, USB-OTG FS, Ethernet, motor control, CAN, MicroSD Card™,...
  • Page 2: Table Of Contents

    Contents UM1461 Contents Overview ..........6 Features .
  • Page 3 UM1461 Contents Motor control connector CN5 ........31 MicroSD connector CN6 .
  • Page 4 List of tables UM1461 List of tables Table 1. Power related jumpers and solder bridges ........11 Table 2.
  • Page 5: List Of Figures

    UM1461 List of figures List of figures Figure 1. STM3240G-EVAL evaluation board ......... . . 1 Figure 2.
  • Page 6: Overview

    Overview UM1461 Overview Features ● STM32F407IGH6 microcontroller. ● 16 Mbit SRAM ● 1 Gbyte or more MicroSD Card ● Boot from user Flash, system memory or SRAM ● Both ISO/IEC 14443 type A and B smartcard support ● C compatible serial interface 8 Kbytes EEPROM, MEMS and I/O expander ●...
  • Page 7: Delivery Recommendations

    UM1461 Overview Delivery recommendations Several verifications are needed before using the board for the first time to make sure that nothing has been damaged during shipment and no components are unplugged and lost. When the board is extracted from its plastic bag, please check that no component remains in the bag.
  • Page 8: Hardware Layout And Configuration

    Hardware layout and configuration UM1461 Hardware layout and configuration The STM3240G-EVAL evaluation board is designed around the STM32F407IGH6 in the UFBGA176 package. The hardware block diagram Figure 4 illustrates the connection between the STM32F407IGH6 and the peripherals (camera module, LCD, SRAM,...
  • Page 9: Figure 2. Hardware Layout And Configuration

    UM1461 Hardware layout and configuration Figure 2. Hardware layout and configuration 9 UHJXODWRU 86% SRZHU VZLWFK 9 UHJXODWRU 86% +6 86%0LFUR$% 27* +6 3+< FRQQHFWRU 9 UHJXODWRU 0LFURSKRQH 9 UHJXODWRU $'& $PSOLILHU $XGLR -DFN '$& ,6 $XGLR '$& ,& 0(06...
  • Page 10: Figure 3. Stm3240G-Eval Evaluation Board Layout

    Hardware layout and configuration UM1461 Figure 3. STM3240G-EVAL evaluation board layout &1 &1 0RWRU FRQWURO 0LFUR6' FDUG 670),*+ &1 5- ,U'$ FRQQHFWRU &1 86% 27* )6 &1 &1 86% 27* +6 &$1 &1 67/,1.9 &1 86$57 &1 &1  &1...
  • Page 11: Power Supply

    UM1461 Hardware layout and configuration Power supply The STM3240G-EVAL evaluation board is designed to be powered by 5 V DC power supply and to be protected by PolyZen from a wrong power plug-in event. It is possible to configure the evaluation board to use any of following five sources for the power supply: ●...
  • Page 12: Boot Option

    Hardware layout and configuration UM1461 Table 1. Power related jumpers and solder bridges (continued) Jumper Description To select USB-OTG FS (CN8) power supply, set JP18 as shown: STlk To select USB-OTG HS (CN9)power supply, set JP18 as shown: JP18 (cont.)
  • Page 13: Clock Source

    UM1461 Hardware layout and configuration Clock source Four clock sources are available on the STM3240G-EVAL evaluation board for STM32F407IGH6 and RTC embedded: ● X1, 25 MHz crystal for Ethernet PHY with socket. It can be removed when clock is provided by the MCU MCO pin ●...
  • Page 14: Eeprom

    Hardware layout and configuration UM1461 EEPROM A 64 Kbit EEPROM is connected to the I2C1 bus of the STM32F407IGH6. Table 4. EEPROM related jumper and solder bridge Jumper Description The EEPROM is in Write Protection mode when JP24 is not fitted.
  • Page 15: Rs-232 And Irda

    UM1461 Hardware layout and configuration RS-232 and IrDA Both RS-232 and IrDA communication is enabled by D-type, 9-pin RS-232 connectors (CN16) and IrDA transceiver U11 which are connected to USART3 of STM32F407IGH6 on the STM3240G-EVAL evaluation board. For ISP support, two signals are added on the RS-232 connector CN16: ●...
  • Page 16: Motor Control

    Hardware layout and configuration UM1461 Motor control The STM3240G-EVAL evaluation board enables a three-phase brushless motor control via a 34- pin connector (CN5), which provides all required control and feedback signals to and from the motor power-driving board. Available signals on this connector include emergency...
  • Page 17: Smartcard

    Hardware layout and configuration 2.10 Smartcard STMicroelectronics smartcard interface chip ST8024 is used on the STM3240G-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with the STM32F407IGH6 listed in Table Table 8.
  • Page 18: Mems

    Hardware layout and configuration UM1461 2.12 MEMS ST MEMS device LIS302DL is connected to the STM32F407IGH6 I2C1 bus on the board. 2.13 Potentiometer A 10 KOhm potentiometer RV1 is connected to PF9 of STM32F407IGH6 on the board. 2.14 Two test points (TP3 AIN-) and (TP4 AIN+) are placed close to port PC1 of the MCU allowing precise measurements on ADC1, ADC2 or ADC3 channel 11.
  • Page 19: Usb-Otg Hs

    UM1461 Hardware layout and configuration Table 11. Ethernet related jumpers and solder bridges (continued) Jumper Description To provide 25 MHz clock for MII or 50 MHz clock for RMII by MCO at PA8, set JP5 as shown (Default setting): To provide 25 MHz clock by external crystal X1 (for MII interface mode only) set JP5 as shown: When clock is provided by external oscillator U3, JP5 must not be fitted.
  • Page 20: Camera Module

    Hardware layout and configuration UM1461 2.18 Camera module A camera module is connected to the STM32F407IGH6 DCMI bus and shares the same I/Os with the motor control connector. SB16 must be kept open for camera module application. There are two possible modules and omnivision cameras populated on the CN15 connector of the board: ●...
  • Page 21: Sram

    UM1461 Hardware layout and configuration 2.19 SRAM The 16 Mbit SRAM is connected to the STM32F407IGH6 FSMC bus which shares the same I/Os with the CAN1 bus. JP3 and JP10 must not be fitted for SRAM and LCD application. Table 14.
  • Page 22 Hardware layout and configuration UM1461 The bicolor LED LD10 (COM) indicates the status of the communication as follows: ● Slow blinking Red/Off: At power-on before USB initialization ● Fast blinking Red/Off: After the first correct communication between PC and ST-LINK/V2 (enumeration) ●...
  • Page 23: Display And Input Devices

    UM1461 Hardware layout and configuration 2.21 Display and input devices The 3.2” TFT color LCD connected to FSMC bus and 4 general purpose color LEDs (LD 1, 2, 3, 4) are available as display devices. A touchscreen connected to an I/O expander (U24), 4-direction joystick with selection key, general purpose button (B4), wakeup button (B2) and tamper detection button (B3) are available as input devices.
  • Page 24: Connectors

    Connectors UM1461 Connectors Daughterboard extension connectors CN1, 2, 3 and 4 Four male headers, CN1, 2, 3 and 4, can be used to connect with a daughterboard or standard wrapping board to the STM3240G-EVAL evaluation board. A total number of 140 GPIOs are available on the board.
  • Page 25 UM1461 Connectors Table 17. Daughterboard extension connector CN1 (continued) How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board 49 EMU_5V Trace_CLK Trace_D1 & Keep JP1 on 2<->3 FSMC_A20 Trace_D3 PC13 Anti-Tamper Remove R143 10 GND 12 PI9...
  • Page 26: Table 18. Daughterboard Extension Connector Cn2

    Connectors UM1461 Table 18. Daughterboard extension connector CN2 How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board ULPI_D0 ULPI_CLK Remove R69 MII_RX_DV Remove RS2, JP8 open MII_RXD1 Remove R58 11 PB0 ULPI_D1 13 PB2 BOOT1 15 PF12...
  • Page 27: Table 19. Daughterboard Extension Connector Cn3

    UM1461 Connectors Table 18. Daughterboard extension connector CN2 (continued) How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board 30 GND 32 PB10 ULPI_D3 34 PH6 MII_RXD2 Remove RS5 DCMI_HSYNC & Remove camera module from CN15. Disconnect motor 36 PH8 control board from CN5.
  • Page 28 Connectors UM1461 Table 19. Daughterboard extension connector CN3 (continued) How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board ULPI_D6 & PB13 CAN2_TX Remove camera module from CN15. DCMI_D3 & PH12 Disconnect motor control board from CN5.
  • Page 29: Table 20. Daughterboard Extension Connector Cn4

    UM1461 Connectors Table 19. Daughterboard extension connector CN3 (continued) How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board APP_3V3 Table 20. Daughterboard extension connector CN4 How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board Remove camera module from CN15.
  • Page 30 Connectors UM1461 Table 20. Daughterboard extension connector CN4 (continued) How to disconnect with function block on Pin Description Alternative function STM3240G-EVAL board FSMC_BL1 I2C1_SDA Remove R111 FSMC_NL ULPI_D7 & JP10 open CAN2_RX TDO/SWO PG14 MII_TXD1 Remove RS6 PG13 MII_TXD0 Remove RS6...
  • Page 31: Motor Control Connector Cn5

    UM1461 Connectors Motor control connector CN5 Figure 7. Motor control connector CN5 Table 21. Motor control connector CN5 STM32F407IGH6 STM32F407IGH6 Description CN5 pin CN5 pin Description EMERGENCY STOP PWM-UH PWM-UL PH13 PWM-VH PWM-VL PH14 PWM-WH PWM-WL PH15 VOLTAGE PHASE A...
  • Page 32: Microsd Connector Cn6

    Connectors UM1461 MicroSD connector CN6 Figure 8. MicroSD connector CN6 Table 22. MicroSD connector CN6 Description Description SDIO_D2 (PC10) SDIO_CLK (PC12) SDIO_D3 (PC11) Vss/GND SDIO_CMD (PD2) SDIO_D0 (PC8) +3V3 SDIO_D1 (PC9) MicroSDcard_detect (PH13) Ethernet RJ45 connector CN7 Figure 9. Ethernet RJ45 connector CN7 Table 23.
  • Page 33: Usb-Otg Fs Micro-Ab Connector Cn8

    UM1461 Connectors USB-OTG FS Micro-AB connector CN8 Figure 10. USB-OTG FS Micro-AB connector CN8 069 Table 24. USB-OTG FS Micro-AB connector CN8 Description Description VBUS (PA9) ID (PA10) D- (PA11) D+ (PA12) USB-OTG HS Micro-AB connector CN9 Figure 11. USB-OTG HS Micro-AB connector CN9 069 Table 25.
  • Page 34: Can D-Type 9-Pin Male Connectors Cn10 (Can1 Or Can2)

    Connectors UM1461 CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2) Figure 12. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)          )URQW YLHZ 069 Table 26. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
  • Page 35: Jtag Debugging Connector Cn14

    UM1461 Connectors 3.10 JTAG debugging connector CN14 Figure 14. JTAG debugging connector CN14     9LHZHG IURP DERYH 3&% 069 Table 28. JTAG debugging connector CN14 Description Description 3.3V power 3.3V power PA15 PA13 PA14 RTCK RESET# DBGRQ DBGACK 3.11...
  • Page 36: Rs-232 Connector Cn16

    Connectors UM1461 Table 29. Camera module connector CN15 (continued) Description Description SIO_C (PB6) PCLK (PA6) RESET Y4(PH14) VSYNC (PI5) Y0 (PH9) PWDN Y3(PH12) HREF (PH8) Y1(PH10) DVDD (1.8V) Y2(PH11) DOVDD (2.8V) AGND Y7(PI7) AGND 3.12 RS-232 connector CN16 Figure 16. RS-232 connector CN16 with ISP support (front view)
  • Page 37: Tft Lcd Connector Cn19

    UM1461 Connectors 3.14 TFT LCD connector CN19 One 34-pin male header CN19 is available on the board for connecting LCD module board MB785. Please refer to Section 2.21: Display and input devices for details. 3.15 Smartcard connector CN20 Figure 18. Smartcard connector CN20 Table 31.
  • Page 38: Camera Extension Connector Cn23

    Connectors UM1461 3.17 Camera extension connector CN23 Table 32. Camera extension connector CN23 Description Description +1V8 +1V8 Camera_Plug Camera_RST Camera_XSDN Camera_CLK DCMI_D0 DCMI_D1 DCMI_D2 DCMI_D3 DCMI_D4 DCMI_D5 DCMI_D6 DCMI_D7 HSYSC VSYSC PIXCLK +2V8 +2V8 3.18 STM3240G-EVAL pinout Table 33. STM3240G-EVAL pinout...
  • Page 39 UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin name Description PC14-OSC32_IN 32K_OSC PC15-OSC32_OUT 32K_OSC LED2 PI10 ETHER_RX_ER PI11 USB_HS_DIR VSS_13 VDD_13 FSMC_A0 FSMC_A1 FSMC_A2 FSMC_A3 FSMC_A4 FSMC_A5 VSS_5 VDD_5 SmartCard_OFF SmartCard_RESET LCD_CS POTENTIOMETER PF10 Audio_IN PH0 - OSC_IN OSC_IN PH1 - OSC_OUT...
  • Page 40 Connectors UM1461 Table 33. STM3240G-EVAL pinout (continued) Pin name Description ETHER_COL USB_HS_NXT USB_FS_POWER_ON USB_HS_D0 BYPASS BYPASS VDD_4 Audio_DAC_OUT USB_HS_CK CAM_PIXCK ETHER_DV ETHER_RXD0 / MC_ADC12_14 pin 14 (Bus voltage) ETHER_RXD1 / MC_ADC12_15 pin 26 (Heatsink temperature) USB_HS_D1 USB_HS_D2 BOOT1 / PF11...
  • Page 41 UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin name Description PE15 FSMC_D12 PB10 USB_HS_D3 PB11 ULPI_D4 VCAP1 VCAP / 1.2V VDD_1 ETHER_RXD2 ETHER_RXD3 CAM_HSYNC / MC_NTC_bypass CAM_D0 PH10 CAM_D1 / MC_TIM5_ETR pin 27 (PFC SYNC) PH11 CAM_D2 / MC_TIM3_CH2 pin 27 (PFCSYNC)
  • Page 42 Connectors UM1461 Table 33. STM3240G-EVAL pinout (continued) Pin name Description VDD_9 SmartCard_IO / Audio_I2S_ MCK LED3 SDIO_D0/ MC_TIM3_CH3 pin23 (Dissipative Brake) SDIO_D1 I2S_CKIN USB_FS_VBUS PA10 USB_FS_ID PA11 USB_FS_DM PA12 USB_FS_DP PA13 JTAG_TMS VCAP2 VCAP / 1.2V VSS 2 VDD_2 PH13...
  • Page 43: Table 33. Stm3240G-Eval Pinout

    UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin name Description VDD_10 FSMC_NWAIT FSMC_NE1 FSMC_NE2 PG10 FSMC_NE3 PG11 ETHER_TXEN PG12 SmartCard_CMDVCC PG13 ETHER_TXD0 PG14 ETHER_TXD1 VSS_11 VDD_11 PG15 USER_BUTTON JTAG_TDO JTAG_TRST CAN2_RX / ETHER_PPS_OUT / ULPI_D7 I2C1_SCL FSMC_NL BOOT0 BOOT0 ETHER_TXD3 / MC_TIM4_CH3 pin 34 (Index)
  • Page 44: Schematics

    Schematics UM1461 Schematics The following schematic diagrams are listed: ● Figure 19: STM3240G-EVAL on page 45 ● Figure 20: MCU on page 46 ● Figure 21: USB-OTG HS on page 47 ● Figure 22: Camera on page 48 ● Figure 23: Ethernet on page 49 ●...
  • Page 45: Figure 19. Stm3240G-Eval

    UM1461 Schematics Figure 19. STM3240G-EVAL Doc ID 022138 Rev 4 45/67...
  • Page 46: Figure 20. Mcu

    Schematics UM1461 Figure 20. MCU 46/67 Doc ID 022138 Rev 4...
  • Page 47: Figure 21. Usb-Otg Hs

    UM1461 Schematics Figure 21. USB-OTG HS Doc ID 022138 Rev 4 47/67...
  • Page 48: Figure 22. Camera

    Schematics UM1461 Figure 22. Camera 48/67 Doc ID 022138 Rev 4...
  • Page 49: Figure 23. Ethernet

    UM1461 Schematics Figure 23. Ethernet Doc ID 022138 Rev 4 49/67...
  • Page 50: Figure 24. Audio

    Schematics UM1461 Figure 24. Audio 50/67 Doc ID 022138 Rev 4...
  • Page 51: Figure 25. Usb-Otg Fs

    UM1461 Schematics Figure 25. USB-OTG FS Doc ID 022138 Rev 4 51/67...
  • Page 52: Figure 26. Sram

    Schematics UM1461 Figure 26. SRAM 52/67 Doc ID 022138 Rev 4...
  • Page 53: Figure 27. Lcd

    UM1461 Schematics Figure 27. LCD Doc ID 022138 Rev 4 53/67...
  • Page 54: Figure 28. Rs-232 And Irda

    Schematics UM1461 Figure 28. RS-232 and IrDA 54/67 Doc ID 022138 Rev 4...
  • Page 55: Figure 29. Can

    UM1461 Schematics Figure 29. CAN Doc ID 022138 Rev 4 55/67...
  • Page 56: Figure 30. I/O Peripherals

    Schematics UM1461 Figure 30. I/O peripherals 56/67 Doc ID 022138 Rev 4...
  • Page 57: Figure 31. I/O Expandor

    UM1461 Schematics Figure 31. I/O expandor Doc ID 022138 Rev 4 57/67...
  • Page 58: Figure 32. Microsd Card

    Schematics UM1461 Figure 32. MicroSD Card 58/67 Doc ID 022138 Rev 4...
  • Page 59: Figure 33. Motor Control

    UM1461 Schematics Figure 33. Motor control Doc ID 022138 Rev 4 59/67...
  • Page 60: Figure 34. Smartcard

    Schematics UM1461 Figure 34. Smartcard 60/67 Doc ID 022138 Rev 4...
  • Page 61: Figure 35. Jtag And Trace

    UM1461 Schematics Figure 35. JTAG and Trace Doc ID 022138 Rev 4 61/67...
  • Page 62: Figure 36. Power

    Schematics UM1461 Figure 36. Power 62/67 Doc ID 022138 Rev 4...
  • Page 63: Figure 37. Extension Connector

    UM1461 Schematics Figure 37. Extension connector Doc ID 022138 Rev 4 63/67...
  • Page 64: Figure 38. Stlink/V2

    Schematics UM1461 Figure 38. STLINK/V2 64/67 Doc ID 022138 Rev 4...
  • Page 65: Figure 39. 3.2" Lcd Module With Spi And 16-Bit Interface

    UM1461 Schematics Figure 39. 3.2” LCD module with SPI and 16-bit interface Doc ID 022138 Rev 4 65/67...
  • Page 66: Revision History

    Revision history UM1461 Revision history Table 34. Document revision history Date Revision Changes 02-Sept-2011 Initial release. Updated Table 4 JP24 description. Added warning in Chapter 2.5 09-Oct-2011 note in Chapter 2.16 Chapter 2.20. 09-Jan-2012 Added note in Chapter 2.5 and updated Chapter 4: Schematics.
  • Page 67 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.

This manual is also suitable for:

Stm3240g-eval

Table of Contents