ST STM3240G-EVAL User Manual
Hide thumbs Also See for STM3240G-EVAL:

Advertisement

Quick Links

All manuals and user guides at all-guides.com
UM1461
User manual
STM3240G-EVAL evaluation board
Introduction
The STM3240G-EVAL evaluation board is a complete demonstration and development
platform for the STM32 F-4 series and includes an embedded STM32F407IGH6 high-
®
performance ARM
Cortex™-M4 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
daughter board 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
2 September 2011
Doc ID 022138 Rev 1
1/65
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM3240G-EVAL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STM3240G-EVAL

  • Page 1 Extension headers make it possible to easily connect a daughter board 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.
  • Page 2: Table Of Contents

    All manuals and user guides at all-guides.com Contents UM1461 Contents Overview ..........4 Features .
  • Page 3 STM3240G-EVAL pinout ........36...
  • Page 4: Overview

    For more information and to download the latest version, please refer to STM3240G-EVAL demonstration software available on web: www.st.com/mcu Order code To order the STM32F407IGT6 MCU evaluation board, use order code STM3240G-EVAL. 4/65 Doc ID 022138 Rev 1...
  • Page 5: Delivery Recommendations

    All manuals and user guides at all-guides.com 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 6: Hardware Layout And Configuration

    All manuals and user guides at all-guides.com 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 2 illustrates the connection between STM32F407IGH6 and peripherals (Camera module, LCD, SRAM, EEPROM,...
  • Page 7 All manuals and user guides at all-guides.com UM1461 Hardware layout and configuration Figure 2. Hardware layout and configuration Doc ID 022138 Rev 1 7/65...
  • Page 8 All manuals and user guides at all-guides.com Hardware layout and configuration UM1461 Figure 3. STM3240G-EVAL evaluation board layout 8/65 Doc ID 022138 Rev 1...
  • Page 9: Power Supply

    Hardware layout and configuration Power supply STM3240G-EVAL evaluation board is designed to be powered by 5V 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 10: Boot Option

    To connect Vbat to 3.3V power, set JP19 as shown: (Default setting) Note: The LED LD9 is lit when the STM3240G-EVAL evaluation board is powered by the 5V correctly. Boot option The STM3240G-EVAL evaluation board is able to boot from:...
  • Page 11: Clock Source

    X4, 25 MHz crystal with socket for STM32F407IGH6 microcontroller (It can be removed from socket when internal RC clock is used.) Reset source The reset signal of STM3240G-EVAL evaluation board is low active and the reset sources include: Reset button B1...
  • Page 12: Can

    Hardware layout and configuration UM1461 STM3240G-EVAL evaluation board enables two channels of CAN2.0A/B compliant CAN bus communication based on a 3.3V CAN transceiver on one DB9 connector (CN10). The two CAN buses can be disconnected by jumpers from relevant STM32F407IGH6 I/Os which are shared with FSMC and USB OTG HS.
  • Page 13: Motor Control

    Default setting: Not fitted. Motor control 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 stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature coming from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit.
  • Page 14: Smartcard

    MicroSD card must be removed from CN6 for motor control application. 2.10 Smartcard STMicroelectronics smartcard interface chip ST8024 is used on STM3240G-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with STM32F407IGH6 listed in Table Table 8.
  • Page 15: Microsd Card

    PC9 is connected to I2S_CKIN when JP16 is set as show to the right: 2.12 MEMS A ST MEMS device LIS302DL is connected to I2C1 bus of STM32F407IGH6 on the board. 2.13 Potentiometer There is one 10K ohm potentiometer RV1 connected to PF9 of STM32F407IGH6 on the board.
  • Page 16: Usb Otg Fs

    USB connection at 5V DC with a 500 mA current limitation. The LED LD6 indicates that the power switch (U1) is ON and STM3240G-EVAL functions as a USB host or that the VBUS is powered by another USB host while STM3240G-EVAL functions as a USB device.
  • Page 17: Usb Otg Hs

    VBUS. The evaluation board can be powered by this USB connector (CN9) at 5V DC with a 500 mA current limitation. The LED LD7 indicates that power switch (U4) is ON and STM3240G-EVAL is working as a USB host or that VBUS is powered by another USB host when STM3240G-EVAL is working as a USB device.
  • Page 18: Camera Module

    All manuals and user guides at all-guides.com Hardware layout and configuration UM1461 2.18 Camera module A camera module is connected to DCMI bus of STM32F407IGH6 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: 1.3 Megapixel: Module CN01302H1045-C: Camera OV9655...
  • Page 19: Sram

    UM1461 Hardware layout and configuration Figure 4. Pin 1 camera plug The camera extension connector CN23 is available on the boards to connect the ST camera plug-in board. 2.19 SRAM The 16 Mbit SRAM is connected to FSMC bus of STM32F407IGH6 which shares the same I/Os with CAN1 bus.
  • Page 20: Development And Debug Support

    2.20 Development and debug support Version 2 of the ST-LINK, called ST-LINK/V2, is embedded on the board. This tool allows onboard program loading and debugging of the STM32F using the JTAG or SWD interface. Third-party debug tools are also supported by the JTAG (CN14) or Trace (CN13) connectors.
  • Page 21: Display And Input Devices

    All manuals and user guides at all-guides.com 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 22: Connectors

    Daughter board 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 STM3240G-EVAL evaluation board. A total number of 140 GPIOs are available on the board.
  • Page 23 All manuals and user guides at all-guides.com UM1461 Connectors Table 17. Daughter board extension connector CN1 (continued) How to disconnect with Description Alternative function function block on STM3240G-EVAL board EMU_5V Trace_CLK Trace_D1 & FSMC_A20 Keep JP1 on 2<->3 Trace_D3 PC13 Anti-Tamper Remove R143...
  • Page 24 All manuals and user guides at all-guides.com Connectors UM1461 Table 18. Daughterboard extension connector CN2 Descripti How to disconnect with function block on Alternative Function STM3240G-EVAL board ULPI_D0 ULPI_CLK Remove R69 MII_RX_DV Remove RS2, JP8 open MII_RXD1 Remove R58 ULPI_D1...
  • Page 25 All manuals and user guides at all-guides.com UM1461 Connectors Table 18. Daughterboard extension connector CN2 (continued) Descripti How to disconnect with function block on Alternative Function STM3240G-EVAL board PE13 FSMC_D10 PB10 ULPI_D3 MII_RXD2 Remove RS5 Remove camera module from CN15.
  • Page 26 All manuals and user guides at all-guides.com Connectors UM1461 Table 19. Daughter board extension connector CN3 (continued) How to disconnect with function block on Description Alternative Function STM3240G-EVAL board FSMC_D13 PB13 ULPI_D6 & CAN2_TX - Remove camera module from CN15. PH12 DCMI_D3 & MC Disconnect motor control board from CN5.
  • Page 27 UM1461 Connectors Table 19. Daughter board extension connector CN3 (continued) How to disconnect with function block on Description Alternative Function STM3240G-EVAL board APP_3V3 Table 20. Daughter board extension connector CN4 How to disconnect with function block on Description Alternative Function STM3240G-EVAL board Remove camera module from CN15.
  • Page 28 All manuals and user guides at all-guides.com Connectors UM1461 Table 20. Daughter board extension connector CN4 How to disconnect with function block on Description Alternative Function STM3240G-EVAL board FSMC_BL1 I2C1_SDA Remove R111 FSMC_NL ULPI_D7 & CAN2_RX JP10 open TDO/SWO PG14...
  • Page 29: Motor Control Connector Cn5

    All manuals and user guides at all-guides.com UM1461 Connectors Motor control connector CN5 Figure 5. Motor Control connector CN5 Table 21. Motor Control connector CN5 STM32F407IGH6 STM32F407IGH6 Description number number Description of CN5 of CN5 EMERGENCY STOP PWM-UH PWM-UL PH13 PWM-VH PWM-VL PH14...
  • Page 30: Microsd Connector Cn6

    All manuals and user guides at all-guides.com Connectors UM1461 MicroSD connector CN6 Figure 6. MicroSD connector CN6 Table 22. MicroSD connector CN6 Pin number Description Pin number 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...
  • Page 31: Usb Otg Fs Micro-Ab Connector Cn8

    All manuals and user guides at all-guides.com UM1461 Connectors USB OTG FS Micro-AB connector CN8 Figure 8. USB OTG FS Micro-AB connector CN8 Table 24. USB OTG FS Micro-AB connector CN8 Pin number Description Pin number Description VBUS (PA9) ID (PA10) D- (PA11) D+ (PA12) USB OTG HS Micro-AB connector CN9...
  • Page 32: Can D-Type 9-Pin Male Connectors Cn10 (Can1 Or Can2)

    1,4,8,9 CANH 3,5,6 CANL Audio connector CN11 A 3.5mm Stereo audio jack CN11 is available on STM3240G-EVAL board to support headset (headphone & microphone integrated). Trace debugging connector CN13 Figure 11. Trace debugging connector CN13 Table 27. Trace debugging connector CN13...
  • Page 33: Jtag Debugging Connector Cn14

    All manuals and user guides at all-guides.com UM1461 Connectors 3.10 JTAG debugging connector CN14 Figure 12. JTAG debugging connector CN14 Table 28. JTAG debugging connector CN14 Pin number Description Pin number Description 3.3V power 3.3V power PA15 PA13 PA14 RTCK RESET# DBGRQ DBGACK...
  • Page 34: Rs-232 Connector Cn16

    RS232_RX (PC11) RS232_TX (PC10) Bootloader_RESET 3.13 Power connector CN18 Your STM3240G-EVAL evaluation board can be powered from a 5V DC power supply via the external power supply jack (CN18) shown in Figure 15. The central pin of CN18 must be positive.
  • Page 35: Tft Lcd Connector Cn19

    Card presence detection pin Card presence detection pin 3.16 ST-LINK/V2 connector CN21 The USB type B connector CN21 is for ST-LINK/V2 connected between the STM3240G- EVAL evaluation board and the PC for board debugging. 3.17 Camera extension connector CN23 Table 32.
  • Page 36: Stm3240G-Eval Pinout

    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 Pin no. Pin Name Description TRACE_CLK / FSMC_A23 TRACE_D0 / FSMC_A19 TRACE_D1 / FSMC_A20 TRACE_D2 / FSMC_A21 TRACE_D3 / FSMC_A22 VBAT VBAT...
  • Page 37 All manuals and user guides at all-guides.com UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin no. Pin Name Description 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 38 All manuals and user guides at all-guides.com Connectors UM1461 Table 33. STM3240G-EVAL pinout (continued) Pin no. Pin Name Description 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 /...
  • Page 39 All manuals and user guides at all-guides.com UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin no. Pin Name Description 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) PH12 CAM_D3 / TIM5_CH3 pin 29 (PFCPWM)
  • Page 40 All manuals and user guides at all-guides.com Connectors UM1461 Table 33. STM3240G-EVAL pinout (continued) Pin no. Pin Name Description PA10 USB_FS_ID PA11 USB_FS_DM PA12 USB_FS_DP PA13 JTAG_TMS VCAP2 VCAP / 1.2V VSS 2 VDD_2 PH13 MC_TIM8_CH1N pin 5 (UL) / MicroSD card detect...
  • Page 41 All manuals and user guides at all-guides.com UM1461 Connectors Table 33. STM3240G-EVAL pinout (continued) Pin no. Pin Name Description 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 42: Schematics

    Schematics UM1461 Schematics The following schematic diagrams are listed: Figure 17: STM3240G-EVAL on page 43 Figure 18: MCU on page 44 Figure 19: USB OTG HS on page 45 Figure 20: Camera on page 46 Figure 21: Ethernet on page 47...
  • Page 43: Figure 17: Stm3240G-Eval

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 17. STM3240G-EVAL Doc ID 022138 Rev 1 43/65...
  • Page 44: Figure 18: Mcu

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 18. MCU 44/65 Doc ID 022138 Rev 1...
  • Page 45: Figure 19: Usb Otg Hs

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 19. USB OTG HS Doc ID 022138 Rev 1 45/65...
  • Page 46: Figure 20: Camera

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 20. Camera 46/65 Doc ID 022138 Rev 1...
  • Page 47: Figure 21: Ethernet

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 21. Ethernet Doc ID 022138 Rev 1 47/65...
  • Page 48: Figure 22: Audio

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 22. Audio 48/65 Doc ID 022138 Rev 1...
  • Page 49: Figure 23: Usb Otg Fs

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 23. USB OTG FS Doc ID 022138 Rev 1 49/65...
  • Page 50: Figure 24: Sram

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 24. SRAM 50/65 Doc ID 022138 Rev 1...
  • Page 51: Figure 25: Lcd

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 25. LCD Doc ID 022138 Rev 1 51/65...
  • Page 52 All manuals and user guides at all-guides.com Schematics UM1461 Figure 26. RS-232 and IrDA 52/65 Doc ID 022138 Rev 1...
  • Page 53: Figure 27: Can

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 27. CAN Doc ID 022138 Rev 1 53/65...
  • Page 54: Figure 28: I/O Peripherals

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 28. I/O peripherals 54/65 Doc ID 022138 Rev 1...
  • Page 55: Figure 29: I/O Expandor

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 29. I/O expandor Doc ID 022138 Rev 1 55/65...
  • Page 56: Figure 30: Microsd Card

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 30. MicroSD card 56/65 Doc ID 022138 Rev 1...
  • Page 57: Figure 31: Motor Control

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 31. Motor control Doc ID 022138 Rev 1 57/65...
  • Page 58: Figure 32: Smartcard

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 32. Smartcard 58/65 Doc ID 022138 Rev 1...
  • Page 59: Figure 33: Jtag And Trace

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 33. JTAG and Trace Doc ID 022138 Rev 1 59/65...
  • Page 60: Figure 34: Power

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 34. Power 60/65 Doc ID 022138 Rev 1...
  • Page 61: Figure 35: Extension Connector

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 35. Extension connector Doc ID 022138 Rev 1 61/65...
  • Page 62: Figure 36: Stlink/V2

    All manuals and user guides at all-guides.com Schematics UM1461 Figure 36. STLINK/V2 62/65 Doc ID 022138 Rev 1...
  • Page 63: Figure 37: 3.2" Lcd Module With Spi And 16-Bit Interface

    All manuals and user guides at all-guides.com UM1461 Schematics Figure 37. 3.2” LCD module with SPI and 16-bit interface Doc ID 022138 Rev 1 63/65...
  • Page 64: Revision History

    All manuals and user guides at all-guides.com Revision history UM1461 Revision history Table 34. Document revision history Date Revision Changes 02-Sept-2011 Initial release. 64/65 Doc ID 022138 Rev 1...
  • Page 65 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.

Table of Contents