ST STM3240G-EVAL User Manual Download Page 1

2 September 2011

Doc ID 022138 Rev 1

1/65

D

R

A

F

T

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

www.st.com

All manuals and user guides at all-guides.com

all-guides.com

Summary of Contents for STM3240G-EVAL

Page 1: ...n 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 o...

Page 2: ...Reset source 11 2 5 Audio 11 2 6 EEPROM 11 2 7 CAN 12 2 8 RS 232 and IrDA 12 2 9 Motor control 13 2 10 Smartcard 14 2 11 MicroSD card 15 2 12 MEMS 15 2 13 Potentiometer 15 2 14 ADC 15 2 15 USB OTG FS...

Page 3: ...N10 CAN1 or CAN2 32 3 8 Audio connector CN11 32 3 9 Trace debugging connector CN13 32 3 10 JTAG debugging connector CN14 33 3 11 Camera module connector CN15 33 3 12 RS 232 connector CN16 34 3 13 Powe...

Page 4: ...LCD with touchscreen 4 color LEDs Camera module and extension connector for ST camera plug in Joystick with 4 direction control and selector Reset wakeup tamper and user button RTC with backup batter...

Page 5: ...ents to verify are 1 The 25MHz crystals X1 and X4 may have been removed by a shock 2 The camera connected on socket CN15 located on the right side of the board under the JTAG connector may be unplugge...

Page 6: ...176 package The hardware block diagram Figure 2 illustrates the connection between STM32F407IGH6 and peripherals Camera module LCD SRAM EEPROM MEMS USART IrDA USB OTG HS USB OTG FS Ethernet Audio CAN...

Page 7: ...PHWHU 6PDUWFDUG FRQQHFWRU QWHJUDWHG 5 FRQQHFWRU 56 FRQQHFWRU 6 3 2 0 50 86 57 WHQVLRQ FRQQHFWRU IRU 3 2V 3 86 57 1 1 WUDQVFHLYHU 1 FRQQHFWRU 0 6 2 7UDFH HEXJ 27 6 86 0LFUR FRQQHFWRU 3520 2 H SDQGHU R...

Page 8: ...6 9 1 0RWRU FRQWURO 1 0LFUR6 FDUG 1 7UDFH 1 7 8 U 1 86 27 6 1 86 27 6 1 67 1 9 1 RORU 1 DPHUD PRGXOH 1 DPHUD H WHQVLRQ FRQQHFWRU 8 R VWLFN 8VHU NH 7DPSHU 1 6PDUWFDUG DNHXS 5HVHW 59 3RWHQWLRPHWHU 1 9 S...

Page 9: ...DTB for daughterboard on silkscreen The power supply is configured by setting the related jumpers JP4 JP32 JP18 and JP19 as described inTable 1 Table 1 Power related jumpers and solder bridges Jumper...

Page 10: ...G HS CN9 power supply set JP18 as shown To select power supply jack CN18 power supply to both STM3240G EVAL and daughterboard connected on CN1 and CN3 set JP18 as shown daughterboard must not have its...

Page 11: ...or ISP ST LINK V2 2 5 Audio The STM3240G EVAL evaluation board enables stereo audio play and microphone recording by an external headset connected on audio jack CN11 An audio DAC CS43L22 is connected...

Page 12: ...d with CTS signal Bootloader_BOOT0 shared with DSR signal RS 232 or IrDA can be selected by setting of JP22 and ISP can be enabled by setting of jumper JP29 and JP34 Table 5 CAN related jumpers Jumper...

Page 13: ...ption JP22 To connect USART3_RX to IrDA transceiver and enable IrDA communication set JP22 as shown To connect USART3_RX to RS 232 transceiver and enable RS 232 communication set JP22 as shown Default...

Page 14: ...Open Ethernet SB11 To connect MC_CurrentA to PC1 close SB11 Default setting Open SB12 To connect MC_CurrentB to PC2 close SB12 Default setting Open SB14 To connect MC_EnB to PD13 close SB14 Default se...

Page 15: ...lso used as current A input on the motor control connector it is recommended to remove R219 to optimize noise immunity on this input A potentiometer RV1 is connected to PF9 of STM32F407IGH6 If needed...

Page 16: ...the PLL limitation explained in chapter 2 6 5 of STM32F20x STM32F21x Errata sheet ES0005 In such a case it is possible to provide the 50 MHz clock by soldering a 50 MHz oscillator ref SM7745HEV 50 0M...

Page 17: ...is powered by another USB host when STM3240G EVAL is working as a USB device The LD8 indicates an over current The USB ULPI bus is shared with CAN2 bus the JP10 and JP3 must be kept open for USB OTG H...

Page 18: ...aded in Flash is executed some green pixels may appear in high contrast zones depending on the image captured 2 The camera is not firmly restricted on its connector CN15 It is possible that during shi...

Page 19: ...same I Os with CAN1 bus JP3 and JP10 must not be fitted for SRAM and LCD application Table 14 SRAM related jumpers Jumper Description JP1 Connect PE4 to SRAM as A20 by setting JP1 as shown Default se...

Page 20: ...g table The embedded ST LINK V2 connects to the PC via a standard USB cable from connector CN21 The bicolor LED LD10 COM indicates the status of the communication as follows Slow blinking Red Off At p...

Page 21: ...n name Pin connection Pin on CN19 Pin name Pin connection 1 CS FSMC_NE3 PG10 18 PD14 FSMC_D12 2 RS FSMC_A0 19 PD15 FSMC_D13 3 WR SCL FSMC_NWE 20 PD16 FSMC_D14 4 RD FSMC_NOE 21 PD17 FSMC_D15 5 RESET RE...

Page 22: ...le 20 for details Table 17 Daughter board extension connector CN1 Pin Description Alternative function How to disconnect with function block on STM3240G EVAL board 1 GND 3 PE3 Trace_D0 and FSMC_A19 Ke...

Page 23: ...FF Remove R126 24 PF8 LCD_CS 26 PF10 Audio_IN Remove R196 28 PH1 OSC_OUT Remove R86 SB7 closed 30 GND 32 PC2 MII_TXD2 MC SB12 open 34 VREF 36 PA1 MII_RX_CLK JP6 open 38 PH2 MII_CRS Remove RS3 40 PH3 M...

Page 24: ...2 FSMC_A6 17 PF14 FSMC_A8 19 GND 21 PG1 FSMC_A11 23 PE8 FSMC_D5 25 PE10 FSMC_D7 27 PE12 FSMC_D9 29 PE14 FSMC_D11 31 PE15 FSMC_D12 33 PB11 ULPI_D4 35 PH7 MII_RXD3 Remove RS3 37 PH9 DCMI_D0 Remove camer...

Page 25: ...3 PI1 I2S_CK 5 PH15 Smartcard_3 5V and MC Disconnect motor control board from CN5 7 PH13 MicroSDCard_detect and MC Remove MicroSD card from CN6 Disconnect motor control board from CN5 9 PC13 Anti tamp...

Page 26: ...16 PA8 MCO JP5 open 18 PC8 MicroSDCard_D0 MC Remove MicroSD card from CN6 Disconnect motor control board from CN5 20 PC7 LED4 Remove R140 22 PG8 LED2 Remove R154 24 PG6 LED1 Remove R155 26 PG4 FSMC_A...

Page 27: ...G15 User button Remove R150 19 GND 21 PG12 Smartcard_CMDVCC LCD_VSYNC Remove R128 23 PG10 FSMC_NE3 Remove LCD board MB785 from CN19 25 PD7 FSMC_NE1 Remove R52 27 PD5 FSMC_NWE 29 PD3 FSMC_CLK 31 PD2 Mi...

Page 28: ...PG9 FSMC_NE2 Remove R47 26 PD6 FSMC_NWAIT Remove R54 28 PD4 FSMC_NOE 30 GND 32 PD1 FSMC_D3 CAN1_TX JP3 open 34 PC12 MicroSDCard_CLK Remove MicroSD card from CN6 36 PC10 MicroSDCard_D2 RS232 IrDA_TX R...

Page 29: ...M UL PH13 5 6 GND PWM VH PI6 7 8 GND PWM VL PH14 9 10 GND PWM WH PI7 11 12 GND PWM WL PH15 13 14 PC4 BUS VOLTAGE PHASE A CURRENT PC1 15 16 GND PHASE B CURRENT PC2 17 18 GND PHASE C CURRENT PC3 19 20 G...

Page 30: ...icroSD connector CN6 Pin number Description Pin number Description 1 SDIO_D2 PC10 5 SDIO_CLK PC12 2 SDIO_D3 PC11 6 Vss GND 3 SDIO_CMD PD2 7 SDIO_D0 PC8 4 3V3 8 SDIO_D1 PC9 10 MicroSDcard_detect PH13 T...

Page 31: ...USB OTG HS Micro AB connector CN9 Table 24 USB OTG FS Micro AB connector CN8 Pin number Description Pin number Description 1 VBUS PA9 4 ID PA10 2 D PA11 5 GND 3 D PA12 06 9 RONT VIEW Table 25 USB OTG...

Page 32: ...debugging connector CN13 Table 26 CAN D type 9 pin male connector CN10 CAN1 or CAN2 Pin number Description Pin number Description 1 4 8 9 NC 7 CANH 3 5 6 GND 2 CANL URQW YLHZ 06 9 Table 27 Trace debu...

Page 33: ...14 Pin number Description Pin number Description 1 3 3V power 2 3 3V power 3 PB4 4 GND 5 PA15 6 GND 7 PA13 8 GND 9 PA14 10 GND 11 RTCK 12 GND 13 PB3 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20...

Page 34: ...15 Power supply connector CN18 5 SIO_C PB6 17 PCLK PA6 6 RESET 18 Y4 PH14 7 VSYNC PI5 19 Y0 PH9 8 PWDN 20 Y3 PH12 9 HREF PH8 21 Y1 PH10 10 DVDD 1 8V 22 Y2 PH11 11 DOVDD 2 8V 23 AGND 12 Y7 PI7 24 AGND...

Page 35: ...e 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 31 Smartcard connector CN20 Pin numb...

Page 36: ...40 2V8 Table 32 Camera extension connector CN23 Pin number Description Pin number Description Table 33 STM3240G EVAL pinout Pin no Pin Name Description A2 PE2 TRACE_CLK FSMC_A23 A1 PE3 TRACE_D0 FSMC_A...

Page 37: ...TTON M2 PC0 USB_HS_STP M3 PC1 ETHER_MDC MC_ADC123_11 pin 15 Current A M4 PC2 ETHER_TXD2 MC_ADC123_1 2 pin 17 Current B M5 PC3 ETHER_TX_CLK MC_ADC123_13 pin 19 Current C M1 VSSA N1 VREF P1 VREF R1 VDDA...

Page 38: ...2 FSMC_A6 M8 VSS6 N8 VDD_6 N6 PF13 FSMC_A7 R7 PF14 FSMC_A8 P7 PF15 FSMC_A9 N7 PG0 FSMC_A10 M7 PG1 FSMC_A11 R8 PE7 FSMC_D4 P8 PE8 FSMC_D5 P9 PE9 FSMC_D6 M9 VSS_7 N9 VDD_7 R9 PE10 FSMC_D7 P10 PE11 FSMC_...

Page 39: ...5 PD10 FSMC_D15 N14 PD11 FSMC_A16 N13 PD12 FSMC_A17 MC_TIM4_CH2 pin 33 EnB M15 PD13 FSMC_A18 MC_TIM4_CH2 pin 33 EnB J13 VDD_8 M14 PD14 FSMC_D0 L14 PD15 FSMC_D1 L15 PG2 FSMC_A12 K15 PG3 FSMC_A13 K14 PG...

Page 40: ...I2S_CK C14 PI2 Expander_INT C13 PI3 Audio_I2S_DOUT D9 VSS_15 C9 VDD_15 A14 PA14 JTAG_TCK A13 PA15 JTAG_TDI B14 PC10 SDIO_D2 RS232_TX B13 PC11 SDIO_D3 RS232_RX A12 PC12 SDIO_CK B12 PD0 FSMC_D2 CAN1_RX...

Page 41: ...D6 BOOT0 BOOT0 A5 PB8 ETHER_TXD3 MC_TIM4_CH3 pin 34 Index B4 PB9 I2C1_SDA A4 PE0 FSMC_NBL0 A3 PE1 FSMC_NBL1 D5 VSS_SA C6 VDD_3 POR Disable C5 VDD_SA D4 PI4 CAM_D5 MC_TIM8_BKIN pin 1 Stop C4 PI5 CAM_VS...

Page 42: ...S on page 49 Figure 24 SRAM on page 50 Figure 25 LCD on page 51 Figure 27 CAN on page 53 Figure 28 I O peripherals on page 54 Figure 29 I O expandor on page 55 Figure 30 MicroSD card on page 56 Figure...

Page 43: ...R SDV MI I_R X_ CLK RMI I_RE F_CLK MI I_C OL MI I_C R S MI I_MDC MI I_MDI O MI I_T X D1 MI I_T X D2 MI I_T X D3 MI I_R XD 1 MI I_R XD 2 MI I_R XD 3 MI I_INT L E D4 L E D3 L E D1 L E D2 Potentiometer A...

Page 44: ...14 PD15 D13 D14 D15 D4 D5 D6 D7 D8 D9 D10 D11 D12 A16 A17 D0 D1 A12 A13 A14 A15 DC MI _D4 D2 D3 DC MI _D5 DC MI _D6 DC MI _D7 DC MI _D 0 7 A 0 20 D 0 15 ULP I_D 0 7 VB US _FS PF 0 15 PF 0 15 PG 0 15 P...

Page 45: ...PB0 PB1 PB10 3V 3 C39 0 1uF C29 0 1uF C43 0 1uF C42 0 1uF C31 4 7uF C26 0 1uF C40 33pF X 2 26MH z R5 5 1M C41 33pF ULP I_D 0 7 PB11 PB12 PB13 PB5 ULP I_D4 ULP I_D5 ULP I_D6 ULP I_D7 R3 1 10K R4 6 2K...

Page 46: ...NC 7 PWDN 8 HREF 9 DV DD 1 8V 10 DOV DD 2 8V 11 Y 7 12 X CLK 1 13 Y 6 14 DGND 15 Y 5 16 PCLK 17 Y 4 18 Y 0 19 Y 3 20 Y 1 21 Y 2 22 AGND 23 AGND 24 CN 15 24 5805 024 000 829 2V 8 JP26 C85 0 1uF 1V 8 2...

Page 47: ...BI N1 18 AGND 19 NC 20 NC 21 AV DD33 22 PFBO UT 23 RBI AS 24 25MH z_OUT 25 LED _ACT COL A N_EN 26 LED _SPEED AN1 27 LED _LI NK AN0 28 RES ET _N 29 MD IO 30 MD C 31 IOV DD33 32 X 2 33 X 1 34 IOGND 35 D...

Page 48: ...43L22 C88 1uF X 7R C98 0 1uF C92 0 1uF 2V 5 C104 0 1uF 3V 3 C102 1uF X 5R C101 1uF X 5R C107 150pF CO G C108 150pF CO G C94 0 1uF C86 0 022uF R1 12 51 C97 0 022uF C93 0 1uF From IO expandor Audio_DAC...

Page 49: ...3V 3 1 2 LD 5 Red R2 3 620 OT G_FS_DM OT G_FS_DP OT G_FS_ID C5 4 7uF R1 8 0 R2 1 0 R1 5 0 GND 2 IN 5 EN 4 OUT 1 FAULT 3 U1 ST MPS2141STR 54 V BU S 1 DM 2 DP 3 ID 4 GND 5 Shield 0 U SB _M icro A B rec...

Page 50: ...16U2A DIB6 C18 100nF C22 100nF 3V 3 R5 2 0 R4 5 10K 3V 3 R5 3 0 OneNAND_INT R5 4 0 MB 786 8 20 STM32 20 21 45 46 G E VAL SRAM PD5 PD4 PD3 PB7 PD6 PD7 PB15 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13...

Page 51: ...2 LCD _connector M B785 with AM 240320D4T OQW T0 0H R 3V 3 5V MB 786 9 20S STM32 20 21 45 46 G EVAL LCD T o IO expandor RES ET D 0 15 A 0 20 A 0 20 D 0 15 FSMC_N WE FSMC_N OE FSMC_N E3 D0 D1 D2 D3 D4...

Page 52: ...uF C45 4 7uF IrDA 3 2 1 JP22 MB 786 10 20 STM32 20 21 45 46 G EVAL RS 232 IrDA C2 1 C2 2 V 3 R1 IN 4 R2 IN 5 R3 IN 6 R4 IN 7 R5 IN 8 T 1OUT 9 T 2OUT 10 T 3OUT 11 T 3IN 12 T 2IN 13 T 1IN 14 R5 OUT 15 R...

Page 53: ..._RX D 1 GND 2 V CC 3 R 4 V ref 5 CA NL 6 CA NH 7 RS 8 U9 SN65HV D230 3V 3 3V 3 R3 8 120 JP9 3 2 1 JP7 R3 7 10K 3V 3 C32 100nF R3 9 0 CA N2_T X CA N2_RX R6 0 0 R5 6 do not f it Default setting 1 2 Defa...

Page 54: ...t f it 3V 3 R1 38 100 R1 48 4K 7 1 4 3 2 B4 USER C130 100nF 3V 3 R1 60 100 R1 42 4K 7 1 4 3 2 B3 T amper C118 100nF 3V 3 R1 56 100 R1 39 330 R1 50 0 R1 43 0 JOY _SEL JOY _DOWN JOY _LEF T JOY _RI GHT J...

Page 55: ...INT 2 A0 Data Out 3 SCLK 4 SDAT 5 V CC 6 Data in 7 IN0 8 IN1 9 GND 10 IN2 11 IN3 12 X 13 V io 14 Y 15 X 16 U29 ST MPE811QT R R1 35 10K 2V 8 I2C device address 0x82 I2C device address 0x88 2V 8 2V 8 R1...

Page 56: ...MB 786 14 20 STM32 20 21 45 46 G EVAL MicroSD card 3V 3 Micr oSDCard_CLK Micr oSDCard_CMD SMS 064FF or SMS 128FF 1 2 3 4 5 6 7 8 SW 2 9 SW 1 10 CN 6 PJS008 2000 Micr oSDCard_D0 Micr oSDCard_D1 Micr oS...

Page 57: ...PWM 29 Encoder A 31 Encoder B 33 GND 2 GND 4 GND 6 GND 8 GND 10 GND 12 BU S V OLT AGE 14 GND 16 GND 18 GND 20 GND 22 GND 24 Heatsink T emperature 26 V dd_Micro 28 GND 30 GND 32 Encoder Index 34 CN 5 M...

Page 58: ...5 RS T 16 V cc 17 PORA DJ 18 CMD V CC 19 RS T IN 20 V dd 21 GND 22 OFF 23 X T AL1 24 X T AL2 25 I OUC 26 AUX 1UC 27 AUX 2UC 28 U31 ST 8024CDR C125 100nF C126 100nF C117 47uF 5V C127 100nF C109 100nF R...

Page 59: ...f it 3V 3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CN 14 JTA G 3V 3 3V 3 R1 05 10K R1 06 10K R9 9 10K R9 2 N A R1 040 R1 00do not f it R9 4 0 R9 1 do not f it T RA CE_D 3 T RA CE_D 2 T RA CE...

Page 60: ...8 5V 5V R9 3 1K 1 2 LD 9 red T P13 Ground 1 3 2 CN 18 DC 10B Z1 SMA J5 0A T R C112 100nF 1 2 3 U28 ZEN 056V 130A24LS 3V 3 D5V E5V MB 786 18 20 STM32 20 21 45 46 G EVAL Pow er V in 3 V out 2 1 U21 LD 1...

Page 61: ...PC15 EX T _PH0 EX T _PH1 EX T _PC14 EX T _PC15 Close to crystal on PCB BO OT 0 BO OT 0 V BU S_FS CX 1 33pF 1 1 2 2 3 3 4 4 D D C C B B A A S TMicroelectronics T itle Number Rev Sheet of C 1 P C B SC...

Page 62: ...K T_ JTC K T _J T DO T _J T DI T_ JTM S S TM _JTM S _S W DIO S T M_J T C K _S W C LK LE D_S TL INK OS C _IN OS C _OUT T _NR S T T _J R S T LE D_S TL INK T_ JTC K T_ JTD I T_ JTD O T_ NR S T T_ JTM S T...

Page 63: ...7 R2 4K7 SDI SDO RD RS Soldered for Serial interface only Soldered for i80 system 16 bit interface The 34 pin connector to mother board for both serial 16bit interface Compatible with MB694 with Touch...

Page 64: ...T Revision history UM1461 64 65 Doc ID 022138 Rev 1 5 Revision history Table 34 Document revision history Date Revision Changes 02 Sept 2011 1d Initial release All manuals and user guides at all guid...

Page 65: ...NTABILITY 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 APPROV...

Reviews: