Download UM1461 User manual

Transcript
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 highperformance ARM®Cortex™-M4 32-bit microcontroller.
T
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.
STM3240G-EVAL evaluation board
D
R
Figure 1.
AF
The in-circuit ST-LINK/V2 tool can be easily used for JTAG and SWD interface debugging
and programming.
2 September 2011
Doc ID 022138 Rev 1
1/65
www.st.com
Contents
UM1461
Contents
3
1.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4
Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2
Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3
Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.16
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.17
USB OTG HS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.18
Camera module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.19
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.20
Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.21
Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
AF
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1
2/65
T
2.1
R
2
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
D
1
Daughter board extension connectors CN1, 2, 3 and 4 . . . . . . . . . . . . . . 22
Doc ID 022138 Rev 1
UM1461
Contents
Motor control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.3
MicroSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.4
Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.5
USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.6
USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.7
CAN D-type 9-pin male connectors CN10 (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
Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.14
TFT LCD connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.15
Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.16
ST-LINK/V2 connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.17
Camera extension connector CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.18
STM3240G-EVAL pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
AF
T
3.2
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
D
R
4
Doc ID 022138 Rev 1
3/65
Overview
UM1461
1
Overview
1.1
Features
1.2
STM32F407IGT6 microcontroller. The MCU marking on the first boards manufactured is
STM32F457IGH6.
■
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
■
I2C compatible serial interface 8 Kbytes EEPROM, MEMS and I/O expander
■
IEEE 802.3-2002 compliant ethernet connector
■
Two CAN 2.0 A/B channels on the same DB connector
■
RS-232 communication
■
IrDA transceiver
■
USB OTG (HS and FS) with Micro-AB connector
■
Inductor motor control connector
■
I2S Audio DAC, stereo audio jack for headset
■
3.2" 240x320 TFT color 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 battery
■
Extension connector for daughterboard or wrapping board
■
JTAG, SWD and trace debug support
■
Embedded ST-LINK/V2
■
Five 5V power supply options: Power jack, USB FS connector, USB HS connector,
ST-LINK/V2 or daughterboard
D
R
AF
T
■
Demonstration software
Demonstration software is preloaded in the board's Flash memory for easy demonstration of
the device peripherals in standalone mode. For more information and to download the latest
version, please refer to STM3240G-EVAL demonstration software available on web:
www.st.com/mcu
1.3
Order code
To order the STM32F407IGT6 MCU evaluation board, use order code STM3240G-EVAL.
4/65
Doc ID 022138 Rev 1
UM1461
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. Main components 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 unplugged. If this is the case, please refer to the note in
Section 2.18: Camera module to make sure to replug it in the correct position.
3.
The MicroSD card may have been ejected from its connector CN6 (top left corner of the
board).
R
AF
T
The plastic protection on the camera should be removed carefully as the connection is very
fragile.
D
1.4
Overview
Doc ID 022138 Rev 1
5/65
Hardware layout and configuration
2
UM1461
Hardware layout and configuration
D
R
AF
T
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,
MEMS, USART, IrDA, USB OTG HS, USB OTG FS, Ethernet, Audio, CAN bus, Smart card,
MicroSD card and motor control) and Figure 3 will help you locate these features on the
actual evaluation board.
6/65
Doc ID 022138 Rev 1
UM1461
Figure 2.
Hardware layout and configuration
Hardware layout and configuration
9UHJXODWRU
86%SRZHU
VZLWFK
9UHJXODWRU
27*+6
9UHJXODWRU
$'&
9UHJXODWRU
86%+6
3+<
86%0LFUR$%
FRQQHFWRU
0LFURSKRQH
$PSOLILHU
$XGLR-DFN
'$&
T
,6
/('V.H\
*3,2
R
65$0
0&FRQWURO
FRQQHFWRU
D
)60&
0LFUR6'
FDUG
0(06
((3520
,2
H[SDQGHU
670),*+
([WHQVLRQ
FRQQHFWRUIRU
*3,2V
7)7/&'
AF
,&
$XGLR'$&
6',2
0&
'&0,
-R\VWLFN
7RXFKVFUHHQ
&DPHUD
PRGXOH
&DPHUDH[WHQVLRQ
FRQQHFWRU
86%0LFUR$%
FRQQHFWRU
27*)6
86%SRZHU
VZLWFK
0,,50,,
3+<
,QWHJUDWHG5-
FRQQHFWRU
&$1
&$1
WUDQVFHLYHU
&$1
'%FRQQHFWRU
56
WUDQVFHLYHU
56
'%FRQQHFWRU
&$1
-7$*
'HEXJ
7UDFH
86$57
,U'$
WUDQVFHLYHU
67/,1.9
3RWHQWLRPHWHU
$'&
86$57
6PDUWFDUG
LQWHUIDFH
6PDUWFDUG
FRQQHFWRU
069
Doc ID 022138 Rev 1
7/65
Hardware layout and configuration
Figure 3.
UM1461
STM3240G-EVAL evaluation board layout
&1
0LFUR6'FDUG
8
670),*+
&1
0RWRUFRQWURO
&1
5-
FRQQHFWRU
8
,U'$
&1
86%27*)6
&1
86%27*+6
&1
&$1
&1
&RORU/&'
&1
&DPHUDPRGXOH
&1
&DPHUDH[WHQVLRQ
FRQQHFWRU
D
%
5HVHW
8/65
&1
-7$*
R
&1
$XGLRMDFN
59
3RWHQWLRPHWHU
&1
7UDFH
AF
&1&1
([WHQVLRQ
CONNECTOR $4"
&1
9SRZHUMDFN
&1
67/,1.9
T
&1
86$57
%
:DNHXS
&1
6PDUWFDUG
%
7DPSHU
Doc ID 022138 Rev 1
8
-R\VWLFN
%
8VHUNH\
06 9
UM1461
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:
●
5V DC power adapter connected to CN18, the Power Jack on the board
●
5V DC power with 500 mA limitation from CN8, the USB OTG FS Micro-AB connector
●
5V DC power with 500 mA limitation from CN9, the USB OTG HS Micro-AB connector
●
5V DC power with 500 mA limitation from CN21, the ST-LINK/V2 USB connector
●
5V DC power from both CN1 and CN3, the extension connector for daughterboard
(DTB for daughterboard on silkscreen)
The power supply is configured by setting the related jumpers JP4, JP32, JP18 and JP19 as
described inTable 1.
Power related jumpers and solder bridges
T
Table 1.
Jumper
Description
JP4 should be fitted to enable power down reset (PDR). PDR is disabled when JP4
is not fitted.
Default setting: Fitted.
JP32
MCU_VDD is connected to 3.3V power when JP32 is closed and MCU current
consumption measurement can be done manually by multi-meter when JP32 is
open.
Default setting: Fitted.
AF
JP4
R
JP18 is used to select one of the five possible power supply sources.
To select the ST-LINK/V2 USB connector (CN21) power
HS
supply, set JP18 as shown:
FS
(Default setting)
DTB
PSU
STlk
D
2.1
Hardware layout and configuration
To select power supply jack (CN18) power supply, set
JP18 as shown:
JP18
To select daughterboard connector (CN1 and CN3) power
supply, set JP18 as shown:
Doc ID 022138 Rev 1
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
9/65
Hardware layout and configuration
Table 1.
UM1461
Power related jumpers and solder bridges (continued)
Jumper
Description
To select USB OTG FS (CN8) power supply, set JP18 as
shown:
To select USB OTG HS (CN9) power supply, set JP18 as
shown:
T
JP18
(cont.)
AF
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 own power supply connected)
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
To connect Vbat to the battery, set JP19 as shown:
To connect Vbat to 3.3V power, set JP19 as shown:
(Default setting)
1 2 3
R
JP19
1 2 3
The LED LD9 is lit when the STM3240G-EVAL evaluation board is powered by the 5V
correctly.
2.2
Boot option
D
Note:
The STM3240G-EVAL evaluation board is able to boot from:
●
Embedded User Flash
●
System memory with boot loader for ISP
●
Embedded SRAM for debugging
The boot option is configured by setting switch SW1 (BOOT1) and SW2 (BOOT0). The
BOOT0 can be configured also via RS-232 connector CN16.
Table 2.
10/65
Boot related jumpers
BOOT 0
BOOT 1
Boot source
0
Don’t care
1
1
STM3240G-EVAL boots from Embedded SRAM
1
0
STM3240G-EVAL boots from System Memory
STM3240G-EVAL boots from User Flash (Default setting)
Doc ID 022138 Rev 1
UM1461
2.3
Hardware layout and configuration
Clock source
Four clock sources are available on STM3240G-EVAL evaluation board for
STM32F407IGH6 and RTC embedded:
2.4
●
X1, 25 MHz crystal for ethernet PHY with socket. It can be removed when clock is
provided by MCO pin of the MCU
●
X2, 26 MHz crystal for USB OTG HS PHY
●
X3, 32 kHz crystal for embedded RTC
●
X4, 25 MHz crystal with socket for STM32F407IGH6 microcontroller (It can be removed
from socket when internal RC clock is used.)
Reset source
●
Reset button B1
●
Debugging tools from JTAG connector CN14 and trace connector CN13
●
Daughterboard from CN3
●
RS-232 connector CN16 for ISP
●
ST-LINK/V2
AF
2.5
T
The reset signal of STM3240G-EVAL evaluation board is low active and the reset sources
include:
Audio
Table 3.
D
R
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 to both I2S2 port and one DAC channel while a microphone amplifier is
connected to the ADC of STM32F407IGH6. The CS43L22 can be configured via I2C1 and
the external PLL (U36) can be used to provide external clock which is connected to
I2S_CKIN pin (PC9).
Audio related jumpers
Jumper
2.6
Description
JP16
Description of JP16 is in Table 10 on page 15.
JP33
The microphone amplifier can be disabled when JP33 is fitted.
Default setting: Not fitted
EEPROM
A 64KBit EEPROM is connected to the I2C1 bus of STM32F407IGH6.
Table 4.
EEPROM related jumper and solder bridge
Jumper
JP24
Description
The EEPROM is in Write Protection mode when JP24 is fitted.
Default Setting: Not fitted
Doc ID 022138 Rev 1
11/65
Hardware layout and configuration
2.7
UM1461
CAN
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. Jumpers JP3 and JP10 must be refit to enable
CAN1 or CAN2 as listed in Table 5.
High-speed, Standby and Slope Control modes are available and can be selected by setting
jumper JP7.
Table 5.
CAN-related jumpers
Jumper
Description
To connect CAN1_TX to CAN transceiver, set JP3 as shown:
JP3
T
To connect CAN2_TX to CAN transceiver, set JP3 as shown:
AF
To connect CAN1_RX to CAN transceiver, set JP10 as shown:
To connect CAN2_RX to CAN transceiver, set JP10 as shown:
JP10
1 2 3
1 2 3
1 2 3
1 2 3
PD0 and PB5 are disconnected from the CAN transceiver and used for
FSMC and USB_OTG_HS when jumper JP10 is not fitted (default setting).
D
JP7
R
To enable the selected CAN transceiver to work in Standby mode, 1 2 3
set JP7 as shown:
JP9
2.8
To enable the selected CAN transceiver to work in High-speed
mode, set JP7 as shown (default setting):
1 2 3
To enable the selected CAN transceiver to work in Slope Control mode, do
not fit a jumper on JP7.
To enable the terminal resistor for the selected CAN, fit a jumper on JP9.
(Default setting: not fitted)
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
STM3240G-EVAL evaluation board.
For ISP support, two signals are added on the RS-232 connector CN16:
●
Bootloader_RESET (shared 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.
12/65
Doc ID 022138 Rev 1
UM1461
Hardware layout and configuration
Table 6.
RS-232 and IrDA related jumper
Jumper
Description
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 setting):
JP22
1 2 3
1 2 3
To enable MicroSD card, which shares same I/Os with RS-232, JP22 is not fitted.
JP34
Bootloader_RESET is managed by pin 8 of CN16 (RS-232 CTS signal) when JP34 is
fitted. This configuration is used for boot loader application only.
Default setting: Not fitted.
T
Bootloader_BOOT0 is managed by pin 6 of CN16 (RS-232 DSR signal) when JP29 is
closed. This configuration is used for boot loader application only.
Default setting: Not fitted.
Motor control
AF
STM3240G-EVAL evaluation board enables a three-phase brushless motor control via a 34pin 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.
The solder bridge (SB18) allows to choose two kinds of synchronization methods for PFCs
(Power Factor Correction) while the SB17 can be set for different signals on pin 31 of CN5.
R
The I/O pins used on motor control connector CN5 are multiplexed with some peripherals on
the board; either motor control connector or multiplexed peripherals can be enabled by the
setting of solder bridges SB10, SB11, SB12, SB14, SB15 and SB16.
Table 7.
Motor control solder bridges
D
2.9
JP29
Solder
Bridge
Description
SB18
When closed, SB18 redirects the PFC synchronized signal to the
timer 3 input capture pin 2 in addition to the timer 3 external trigger
input.
Default setting: Open
SB17
For CN5 encoder signal input (pin 31), SB17 must be open.
For CN5 special motor analog signal input (pin 31), SB17 must be
closed.
Default setting: Open
SB16
To connect MC_EmergencySTOP to PI4, close SB16.
Default setting: Open
Doc ID 022138 Rev 1
Multiplexed
peripherals
Camera module
connected to
CN15
13/65
Hardware layout and configuration
Table 7.
UM1461
Motor control solder bridges (continued)
Solder
Bridge
Multiplexed
peripherals
Description
SB10
To connect MC_EnIndex to PB8, close SB10.
Default setting: Open
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 setting: Open
SB15
To connect MC_EnA to PD12 close SB15.
Default setting: Open
Ethernet
Note:
1
T
FSMC
Some 0 ohm resistors have to be removed or soldered to enable motor control application
except the solder bridges configurations mentioned above:
AF
– R34, R58 & R51 to be removed
– R66, R204 & R205 to be soldered
2
2.10
MicroSD card must be removed from CN6 for motor control application.
Smartcard
Connection between ST8024 and STM32F407IGH6
5V/3V
Smartcard power supply selection pin
PH15
I/OUC
MCU data I/O line
PC6
XTAL1
Crystal or external clock input
PG7
Detect presence of a card, MCU interrupt,
share same pin with motor controller
PF6
Card reset input from MCU
PF7
Signals of ST8024
OFF
RSTIN
CMDVCC
14/65
Connect to
D
Table 8.
R
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 8:
Description
Start activation sequence input (Active
Low), share same pin with I2S DAC and
Motor control
Doc ID 022138 Rev 1
STM32F407IGH6
PG12
UM1461
Hardware layout and configuration
Smartcard shares some I/Os with I2S bus for Audio. Some jumper settings need to be
reconfigured to enable smartcard as indicated below:
Table 9.
Smartcard related jumper
Jumper
Description
To connect Smartcard_IO to PC6, JP21must be fitted.
JP21 must not be fitted for Audio DAC connection to I2S.
Default setting: Not Fitted
JP21
2.11
MicroSD card
Table 10.
T
The 1 GByte or more MicroSD card connected to SDIO of STM32F407IGH6 is available on
the board. MicroSD card detection is managed by the standard I/O port PH13. MicroSD
card shares I/Os with motor control, RS-232 and audio. The jumpers JP22 and JP16 must
be refit and motor control connector (CN5) must be disconnected for MicroSD card function.
MicroSD card related jumpers
Description
AF
Jumper
JP22
Description of JP22 is in Section 2.8: RS-232 and IrDA
PC9 is connected to MicroSDCard_D1 when JP16 is set as
shown to the right: (Default setting):
JP16
2.12
MEMS
1 2 3
R
PC9 is connected to I2S_CKIN when JP16 is set as show to the
right:
1 2 3
2.13
D
A ST MEMS device LIS302DL is connected to I2C1 bus of STM32F407IGH6 on the board.
Potentiometer
There is one 10K ohm potentiometer RV1 connected to PF9 of STM32F407IGH6 on the
board.
2.14
ADC
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. As PC1 is also 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, a low pass filter
(R74 and C59) can be placed on this input to reduce the bandwidth of the analog input PF9.
It is also possible to place the Ethernet PHY (U5) in low power mode in order to reduce the
noise induced by this high frequency peripheral. Power down pin (MII_INT in the schematic)
is connected to PB14 of the MCU, so this I/O can be configured as output low during analog
precision measurement.
Doc ID 022138 Rev 1
15/65
Hardware layout and configuration
2.15
UM1461
USB OTG FS
STM3240G-EVAL evaluation board enables USB OTG full speed communication via a USB
Micro-AB connector (CN8) and USB power switch (U1) connected to VBUS. The evaluation
board can be powered by this 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. The LED LD5 indicates an over-current.
2.16
Ethernet
STM3240G-EVAL evaluation board enables 10/100M ethernet communication by a PHY
DP83848CVV (U5) and integrated RJ45 connector (CN7). Both MII and RMII interface
modes can be selected by setting jumpers JP5, JP6 and JP8 as listed below:
Ethernet related jumpers and solder bridges
T
Table 11.
Jumper
Description
JP8 is used to select MII or RMII interface mode.
To enable MII, JP8 is not fitted.
To enable RMII interface mode, JP8 is fitted.
Default setting: Not fitted
AF
JP8
To enable MII interface mode, set JP6 as shown (Default
setting):
JP6
To enable RMII interface mode, set JP6 as shown:
D
JP5
R
To provide 25 MHz clock for MII or 50 MHz clock for RMII by
MCO at PA8, set JP5 as shown (Default setting):
SB1
Note:
16/65
To provide 25 MHz clock by external crystal X1 (for MII interface
mode only) set JP5 as shown:
1 2 3
1 2 3
1 2 3
1 2 3
When clock is provided by external oscillator U3, JP5 must not be fitted.
SB1 is used to select clock source only for RMII mode.
To connect the clock from oscillator U3 to RMII_REF_CLK, close SB1.
The resistor R212 has to be removed in this case.
Default setting: Closed.
1
A test point (TP2) is available on the board for the PTP_PPS feature test.
2
The Ethernet PHY (U5) can be powered down by regulating PB14.
3
In RMII mode it is not possible to use MCO to output the 50 MHz clock to PHY due to 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 or equivalent) on the U3 footprint located under CN3 and
also removing jumper on JP5. This oscillator is not provided with the board.
Doc ID 022138 Rev 1
UM1461
2.17
Hardware layout and configuration
USB OTG HS
The STM3240G-EVAL evaluation board enables USB OTG high speed communication via a
USB Micro-AB connector (CN9), USB high speed PHY (U8) and USB power switch (U4)
connected to 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. 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 HS.
Table 12.
MicroSD card related jumper
Jumper
Description
To disable USB OTG PHY U8, JP31 is not fitted.
Default setting: Fitted
R
AF
On boards MB786 prior to version B03 it is possible that after a board RESET the MCU is no
longer able to control communication with the OTG PHY (U8). When this issue occurs the
only way to recover OTG PHY control is to power the board OFF and ON. This issue is fixed
on MB786 version B03 or newer.
D
Note:
T
JP31
Doc ID 022138 Rev 1
17/65
Hardware layout and configuration
2.18
UM1461
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
●
2 Megapixel: Module CN020VAH2554-C: Camera OV2640
Table 13.
Camera module related jumpers
Jumper
To set power down mode for the camera module, JP26 is fitted.
Default setting: Not Fitted
SB16
Description of SB16 is in Section 2.9: Motor control.
T
JP26
1
When the camera demo loaded 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
shipment the camera could be unplugged. In such case you need to plug it into the right
position as shown on the picture below (pin 1 dot on top left corner of the socket).
AF
Note:
Description
D
R
It is not recommended to remove it in order to avoid false contact later.
18/65
Doc ID 022138 Rev 1
UM1461
Hardware layout and configuration
Pin 1 camera plug
R
AF
T
Figure 4.
The camera extension connector CN23 is available on the boards to connect the ST camera
plug-in board.
SRAM
D
2.19
The 16 Mbit SRAM is connected to FSMC bus of STM32F407IGH6 which shares the 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
Connect PE4 to SRAM as A20 by setting JP1 as shown (Default
setting):
JP1
Connect PE4 to trace connector CN13 as TRACE_D1 by setting
JP1 as shown:
Connect PE3 to SRAM as A19 by settiing JP2 as shown (Default
setting):
JP2
Connect PE3 to trace connector CN13 as TRACE_D0 by setting
JP2 as shown:
Doc ID 022138 Rev 1
1 2 3
1 2 3
1 2 3
1 2 3
19/65
Hardware layout and configuration
2.20
UM1461
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.
To communicate with the embedded ST-LINK/V2, a specific driver needs to be installed on
your PC. To download and install this driver, refer to the software and development tools
page for the STM32F family available on www.st.com (the install shield is called
ST-LINK_V2_USBdriver.exe).
Third-party toolchains, Atollic TrueSTUDIO, KEIL ARM-MDK, IAR EWARM and Tasking VXToolset support ST-LINK/V2 according to the following table:
Table 15.
Third-party toolchain support
Toolchain
T
Manufacturer
Version
TrueSTUDIO
2.1
IAR
EWARM
6.20.4
Keil
MDK-ARM
AF
Atollic
Tasking
VX-Toolset
4.20
ARM Cortex-M 4.0.1
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:
20/65
●
Fast blinking Red/Off: After the first correct communication between PC and
ST-LINK/V2 (enumeration)
●
Red LED On: When initialization between PC and ST-LINK/V2 is successfully finished
●
Green LED On: After successful target communication initialization
●
Blinking Red/Green: During communication with target
●
Green On: Communication finished and OK
●
Orange On: Communication failure
R
Slow blinking Red/Off: At power-on before USB initialization
D
Note:
●
It is possible to power the board via CN21 (embedded ST-LINK/V2 USB connector) even if
an external tool is connected to CN13 (trace) or CN14 (external JTAG and SWD).
Doc ID 022138 Rev 1
UM1461
2.21
Hardware layout and configuration
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.
Table 16.
LCD modules
Pin on
CN19
Pin name
Pin connection
Pin on
CN19
Pin name
Pin connection
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
RESET#
22
BL_GND
GND
6
PD1
FSMC_D0
23
BL_Control
+5V
7
PD2
FSMC_D1
24
VDD
+3V3
8
PD3
FSMC_D2
25
VCI
+3V3
9
PD4
FSMC_D3
26
GND
GND
10
PD5
FSMC_D4
27
GND
GND
11
PD6
FSMC_D5
28
BL_VDD
+5V
12
PD7
FSMC_D6
29
SDO
NC
13
PD8
FSMC_D7
30
SDI
NC
14
PD10
FSMC_D8
31
XL
I/O expander U24
15
PD11
FSMC_D9
32
XR
I/O expander U24
16
PD12
FSMC_D10
33
YD
I/O expander U24
17
PD13
34
YU
I/O expander U24
D
R
AF
T
1
FSMC_D11
Doc ID 022138 Rev 1
21/65
Connectors
UM1461
3
Connectors
3.1
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.
Each pin on CN1, 2, 3 and 4 can be used by a daughterboard after disconnecting it from the
corresponding function block on STM3240G-EVAL evaluation board. Please refer to
Table 17 and Table 20 for details.
Pin
Daughter board extension connector CN1
Description
GND
-
3
PE3
Trace_D0 and FSMC_A19
5
PE5
Trace_D2
7
PI8
9
PC14
11
PC15
13
PI10
15
PF0
17
AF
1
Keep JP2 on 2<->3
-
OSC32_IN
Remove R84, SB4 closed
OSC32_OUT
Remove R85, SB5 closed
MII_RX_ER
Remove RS3
FSMC_A0
-
PF2
FSMC_A2
-
19
GND
-
-
21
PF5
FSMC_A5
-
R
LCD_HSYNC
D
22/65
How to disconnect with
function block on
STM3240G-EVAL board
Alternative function
T
Table 17.
23
PF7
Smartcard_RST
-
25
PF9
Potentiometer
Remove R151
27
PH0
OSC_IN
SB6 closed
29
PC0
ULPI_STP
-
31
PC1
MII_MDC
SB11 open
33
PC3
MII_TX_CLK
Remove R51
35
PA0
WakeUP
Remove R139
37
PA2
MII_MDIO
-
39
GND
-
-
41
PH4
ULPI_NXT
Remove R61
43
NC
-
-
45
NC
-
-
47
EMU_3V3
-
-
Doc ID 022138 Rev 1
UM1461
Connectors
Table 17.
Pin
Daughter board extension connector CN1 (continued)
Description
How to disconnect with
function block on
STM3240G-EVAL board
Alternative function
EMU_5V
-
-
2
PE2
Trace_CLK
-
4
PE4
Trace_D1 & FSMC_A20
Keep JP1 on 2<->3
6
PE6
Trace_D3
-
8
PC13
Anti-Tamper
Remove R143
10
GND
-
-
12
PI9
LED3
Remove R141
14
PI11
ULPI_DIR
Remove R62
16
PF1
FSMC_A1
-
18
PF3
FSMC_A3
-
20
PF4
FSMC_A4
-
22
PF6
Smartcard_OFF
Remove R126
24
PF8
26
PF10
28
PH1
30
GND
32
PC2
34
AF
T
49
LCD_CS
Remove R196
OSC_OUT
Remove R86, SB7 closed
-
-
MII_TXD2 & MC
SB12 open
VREF+
-
-
36
PA1
MII_RX_CLK
JP6 open
38
PH2
MII_CRS
Remove RS3
D
R
Audio_IN
40
PH3
MII_COL
Remove RS3
42
PH5
OTG_FS_PowerSwitchOn
Remove R18
44
NC
-
-
46
NC
-
-
48
APP_3V3
-
-
50
GND
-
-
Doc ID 022138 Rev 1
23/65
Connectors
UM1461
Table 18.
Pin
Descripti
on
Alternative Function
How to disconnect with function block on
STM3240G-EVAL board
GND
-
-
3
PA3
ULPI_D0
-
5
PA5
ULPI_CLK
Remove R69
7
PA7
MII_RX_DV
Remove RS2, JP8 open
9
PC5
MII_RXD1
Remove R58
11
PB0
ULPI_D1
-
13
PB2
BOOT1
-
15
PF12
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 camera module from CN15
39
GND
-
-
2
APP_VC
C
-
-
PA4
Audio_DAC_OUT
Remove R115
PA6
DCMI_PIXCK
Remove camera module from CN15
8
PC4
MII_RXD0
Remove RS2
10
GND
-
-
12
PB1
ULPI_D2
-
14
PF11
OTG_FS_Overcurrent
Remove R15
16
PF13
FSMC_A7
-
18
PF15
FSMC_A9
-
20
PG0
FSMC_A10
-
22
PE7
FSMC_D4
-
24
PE9
FSMC_D6
-
26
PE11
FSMC_D8
-
R
AF
-
D
6
T
1
4
24/65
Daughterboard extension connector CN2
Doc ID 022138 Rev 1
-
-
UM1461
Connectors
Table 18.
Daughterboard extension connector CN2 (continued)
Pin
Descripti
on
28
PE13
FSMC_D10
-
30
GND
-
-
32
PB10
ULPI_D3
-
34
PH6
MII_RXD2
Remove RS5
36
PH8
DCMI_HSYNC & MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
38
PH10
DCMI_D1 &MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
40
PH11
DCMI_D2 &MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
How to disconnect with function block on
STM3240G-EVAL board
T
Table 19.
Alternative Function
Daughter board extension connector CN3
How to disconnect with function block on
STM3240G-EVAL board
1
GND
-
-
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-tamper
Remove R143
11
RESET#
Reset button
-
13
PA11
OTG_FS_DM
Remove R17
D
R
AF
Description Alternative Function
Pin
15
PA9
VBUS_FS
Remove USB cable from CN8.
Remove R18.
17
PC9
MicroSDCard_D1 &
I2S_CKIN
Keep JP16 on open
19
EMU_5V
-
-
21
PC6
I2S_MCK &
Smartcard_IO
JP21 open
23
PG7
Smartcard_CLK
-
25
PG5
FSMC_A15
-
27
PG3
FSMC_A13
-
29
PD15
FSMC_D1
-
31
PD14
FSMC_D0
-
33
PD12
FSMC_A17
SB15 open
35
PD10
FSMC_D15
-
Doc ID 022138 Rev 1
25/65
Connectors
UM1461
Table 19.
Daughter board extension connector CN3 (continued)
Description Alternative Function
How to disconnect with function block on
STM3240G-EVAL board
37
PD8
FSMC_D13
-
39
GND
-
-
41
PB13
ULPI_D6 & CAN2_TX -
43
PH12
DCMI_D3 & MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
45
NC
-
-
47
EMU_3V3
-
-
49
EMU_5V
-
-
2
PI2
IO_Expandor_INT
Remove R136
4
PI0
I2S_CMD
-
6
PH14
DCMI_D4 & MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
8
PA13
TMS/SWDIO
-
10
GND
-
-
12
PA12
OTG_FS_DP
Remove R19
14
PA10
OTG_FS_ID
Remove R21
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_A14
-
28
PG2
FSMC_A12
-
30
GND
-
-
32
PD13
FSMC/MC
SB14 open.
Disconnect motor control board from CN5.
34
PD11
FSMC_A16
-
36
PD9
FSMC_D14
-
38
PB15
OneNAND_INT
Remove R53
40
PB14
MII_INT
Remove R41
42
PB12
ULPI_D5
-
44
NC
-
-
46
NC
-
-
AF
R
D
26/65
T
Pin
Doc ID 022138 Rev 1
UM1461
Connectors
Table 19.
Daughter board extension connector CN3 (continued)
Pin
Description Alternative Function
How to disconnect with function block on
STM3240G-EVAL board
48
APP_3V3
-
-
50
GND
-
-
Table 20.
Pin
Daughter board extension connector CN4
Description
Alternative Function
How to disconnect with function block on
STM3240G-EVAL board
GND
-
-
3
PI6
DCMI_D6 & MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
5
PI4
DCMI_D5 & MC
Remove camera module from CN15.
SB16 open
7
PE0
FSMC_BL0
-
9
PB8
11
BOOT0
13
PB6
15
PB4
17
PG15
19
GND
21
PG12
Smartcard_CMDVCC &
Remove R128
LCD_VSYNC
23
PG10
FSMC_NE3
Remove LCD board MB785 from CN19
PD7
FSMC_NE1
Remove R52
PD5
FSMC_NWE
-
29
PD3
FSMC_CLK
-
31
PD2
MicroSDCard_CMD
-
33
PD0
FSMC_D2 & CAN1_RX JP10 open
35
PC11
MicroSDCard_D3 &
RS232/IrDA_RX
JP22 open
Remove MicroSD card from CN6
37
PA15
TDI
-
39
GND
-
-
2
PI7
DCMI_D7 & MC
Remove camera module from CN15
Disconnect motor control board from CN5
4
PI5
DCMI_VSYNC & MC
Remove camera module from CN15
Disconnect motor control board from CN5
27
Remove RS5
SB10 open
Disconnect motor control board from CN5.
BOOT0
-
I2C1_SCL
Remove R103
TRST
-
User button
Remove R150
AF
MII_TXD3 & MC
R
D
25
T
1
-
Doc ID 022138 Rev 1
-
27/65
Connectors
UM1461
Table 20.
Pin
Daughter board extension connector CN4
Description
Alternative Function
PE1
FSMC_BL1
-
8
PB9
I2C1_SDA
Remove R111
10
GND
-
-
12
PB7
FSMC_NL
-
14
PB5
ULPI_D7 & CAN2_RX
JP10 open
16
PB3
TDO/SWO
-
18
PG14
MII_TXD1
Remove RS6
20
PG13
MII_TXD0
Remove RS6
22
PG11
MII_TX_EN
Remove RS6
24
PG9
FSMC_NE2
Remove R47
26
PD6
FSMC_NWAIT
28
PD4
FSMC_NOE
30
GND
32
PD1
34
PC12
36
PC10
38
PA14
40
PI3
AF
T
6
-
Remove R54
-
-
FSMC_D3 & CAN1_TX JP3 open
Remove MicroSD card from CN6
MicroSDCard_D2 &
RS232/IrDA_TX
Remove MicroSD card from CN6
TCK/SWCLK
-
R
MicroSDCard_CLK
I2S_DIN
D
28/65
How to disconnect with function block on
STM3240G-EVAL board
Doc ID 022138 Rev 1
-
UM1461
Motor control connector CN5
Figure 5.
Motor Control connector CN5
6IEWEDFROMABOVE0#"
Motor Control connector CN5
Description
STM32F407IGH6
Pin
number
of CN5
Pin
number
of CN5
1
2
GND
T
Table 21.
pin
STM32F407IGH6
pin
Description
PI4
PWM-UH
PI5
3
4
GND
PWM-UL
PH13
5
6
GND
PWM-VH
PI6
7
8
GND
PWM-VL
PH14
9
10
GND
PWM-WH
PI7
11
12
GND
PH15
13
14
PC1
15
16
GND
PHASE B
CURRENT
PC2
17
18
GND
PHASE C
CURRENT
PC3
19
20
GND
NTC BYPASS
RELAY
PH8
21
22
GND
DISSIPATIVE
BRAKE PWM
PC8
23
24
GND
+5V power
+5V
25
26
PFC SYNC
PH10 and PH11
27
28
VDD_Micro
PFC PWM
PH12
29
30
GND
Encoder A
PD12
31
32
GND
Encoder B
PD13
33
34
PHASE A
CURRENT
R
PWM-WL
AF
EMERGENCY
STOP
D
3.2
Connectors
Doc ID 022138 Rev 1
PC4
PC5
PB8
BUS
VOLTAGE
Heatsink
temperature
Encoder
Index
29/65
Connectors
Figure 6.
MicroSD connector CN6
Table 22.
MicroSD connector CN6
Pin number
Description
Description
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)
R
SDIO_D2 (PC10)
Ethernet RJ45 connector CN7
Figure 7.
30/65
Pin number
1
D
3.4
T
MicroSD connector CN6
AF
3.3
UM1461
Ethernet RJ45 connector CN7
Table 23.
RJ45 connector CN7
Pin
number
Description
Pin
number
Description
1
TxData+
2
TxData-
3
RxData+
4
Shield
5
Shield
6
RxData-
7
Shield
8
Shield
Doc ID 022138 Rev 1
UM1461
3.5
Connectors
USB OTG FS Micro-AB connector CN8
Figure 8.
USB OTG FS Micro-AB connector CN8
&RONTVIEW
Table 24.
USB OTG FS Micro-AB connector CN8
Description
Pin number
Description
1
VBUS (PA9)
4
ID (PA10)
2
D- (PA11)
3
D+ (PA12)
T
Pin number
GND
AF
5
USB OTG HS Micro-AB connector CN9
USB OTG HS Micro-AB connector CN9
R
Figure 9.
D
3.6
069
Table 25.
&RONTVIEW
069
USB OTG HS Micro-AB connector CN9
Pin number
Description
Pin number
Description
1
VBUS
4
ID
2
D-
5
GND
3
D+
Doc ID 022138 Rev 1
31/65
Connectors
3.7
UM1461
CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2)
Figure 10. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
)URQWYLHZ
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
Audio connector CN11
T
3.8
069
3.9
AF
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
R
D
Table 27.
32/65
9LHZHGIURPDERYH3&%
069
Trace debugging connector CN13
Pin number
Description
Pin number
Description
1
3.3V power
2
TMS/PA13
3
GND
4
TCK/PA14
5
GND
6
TDO/PB3
7
KEY
8
TDI/PA15
9
GND
10
RESET#
11
GND
12
TraceCLK/PE2
13
GND
14
TraceD0/PE3 or SWO/PB3
15
GND
16
TraceD1/PE4 or nTRST/PB4
17
GND
18
TraceD2/PE5
19
GND
20
TraceD3/PE6
Doc ID 022138 Rev 1
UM1461
3.10
Connectors
JTAG debugging connector CN14
Figure 12. JTAG debugging connector CN14
9LHZHGIURPDERYH3&%
069
Table 28.
JTAG debugging connector CN14
Description
Pin number
Description
1
3.3V power
2
3.3V power
3
PB4
4
GND
5
PA15
6
GND
7
PA13
8
GND
PA14
10
GND
RTCK
12
GND
PB3
14
GND
RESET#
16
GND
DBGRQ
18
GND
DBGACK
20
GND
AF
9
11
13
15
17
R
19
Camera module connector CN15
D
3.11
T
Pin number
Figure 13. Camera module connector CN15 (front view)
&RONTVIEW
-36
Table 29.
Camera module connector CN15
Pin number
Description
Pin number
Description
1
DGND
13
XCLK1
2
DGND
14
Y6(PI6)
3
SIO_D (PB9)
15
DGND
4
AVDD (2.8V)
16
Y5(PI4)
Doc ID 022138 Rev 1
33/65
Connectors
UM1461
Table 29.
Pin number
Description
Pin number
Description
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
RS-232 connector CN16
T
3.12
Camera module connector CN15 (continued)
Figure 14. RS-232 connector CN16 with ISP support (front view)
AF
)URQWYLHZ
Table 30.
RS-232 connector CN16 with ISP support
Description
R
Pin number
1
Pin number
Description
NC
6
Bootloader_BOOT0
RS232_RX (PC11)
7
NC
RS232_TX (PC10)
8
Bootloader_RESET
4
NC
9
NC
5
GND
2
D
3
3.13
069
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.
Figure 15. Power supply connector CN18
$#6
'.$
-36
34/65
Doc ID 022138 Rev 1
UM1461
3.14
Connectors
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 16. Smartcard connector CN20
T
Table 31.
AF
&RONTVIEW
Smartcard connector CN20
Pin number
Description
VCC
2
RST
3
Description
5
GND
6
NC
CLK
7
I/O
4
NC
8
NC
17
Card presence detection pin
18
Card presence detection pin
R
1
Pin
number
D
3.16
-36
ST-LINK/V2 connector CN21
The USB type B connector CN21 is for ST-LINK/V2 connected between the STM3240GEVAL evaluation board and the PC for board debugging.
3.17
Camera extension connector CN23
Table 32.
Camera extension connector CN23
Pin number
Description
Pin number
Description
1
+1V8
2
+1V8
3
GND
4
GND
5
NC
6
NC
7
GND
8
GND
9
NC
10
NC
Doc ID 022138 Rev 1
35/65
Connectors
UM1461
Table 32.
Camera extension connector CN23
Pin number
Description
12
GND
13
SCL
14
SDA
15
Camera_Plug
16
GND
17
Camera_RST
18
NC
19
Camera_XSDN
20
Camera_CLK
21
GND
22
GND
23
DCMI_D0
24
DCMI_D1
25
DCMI_D2
26
DCMI_D3
27
DCMI_D4
28
DCMI_D5
29
DCMI_D6
30
DCMI_D7
31
HSYSC
33
PIXCLK
35
NC
37
39
T
GND
VSYSC
34
NC
36
NC
GND
38
GND
+2V8
40
+2V8
AF
32
STM3240G-EVAL pinout
Table 33.
Pin no.
STM3240G-EVAL pinout
Pin Name
Description
PE2
TRACE_CLK / FSMC_A23
PE3
TRACE_D0 / FSMC_A19
PE4
TRACE_D1 / FSMC_A20
PE5
TRACE_D2 / FSMC_A21
B3
PE6
TRACE_D3 / FSMC_A22
C1
VBAT
D2
PI8- ANTI TAMP2
LCD_HSYNC
D1
PC13-ANTI_TAMP
ANTI-TAMPER_BUTTON
E1
PC14-OSC32_IN
32K_OSC
F1
PC15-OSC32_OUT
32K_OSC
D3
PI9
LED2
E3
PI10
ETHER_RX_ER
E4
PI11
USB_HS_DIR
F2
VSS_13
F3
VDD_13
A1
B1
B2
D
A2
36/65
Pin number
11
R
3.18
Description
VBAT
Doc ID 022138 Rev 1
UM1461
Connectors
Table 33.
STM3240G-EVAL pinout (continued)
Pin Name
E2
PF0
FSMC_A0
H3
PF1
FSMC_A1
H2
PF2
FSMC_A2
J2
PF3
FSMC_A3
J3
PF4
FSMC_A4
K3
PF5
FSMC_A5
G2
VSS_5
G3
VDD_5
K2
PF6
SmartCard_OFF
K1
PF7
SmartCard_RESET
L3
PF8
L2
PF9
L1
PF10
G1
PH0 - OSC_IN
H1
PH1 - OSC_OUT
J1
NRST
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)
PC3
ETHER_TX_CLK / MC_ADC123_13 pin 19 (Current C)
N1
P1
R1
LCD_CS
POTENTIOMETER
AF
Audio_IN
OSC_IN
OSC_OUT
RESET_BUTTON
R
M1
VSSA
D
M5
Description
T
Pin no.
VREFVREF+
VDDA
N3
PA0-WKUP
WAKEUP_BUTTON
N2
PA1
ETHER_RX_CLK
P2
PA2
ETHER_MDIO
F4
PH2
ETHER_CRS
G4
PH3
ETHER_COL
H4
PH4
USB_HS_NXT
J4
PH5
USB_FS_POWER_ON
R2
PA3
USB_HS_D0
L4
BYPASS
K4
VDD_4
N4
PA4
BYPASS
Audio_DAC_OUT
Doc ID 022138 Rev 1
37/65
Connectors
UM1461
Table 33.
Pin Name
P4
PA5
USB_HS_CK
P3
PA6
CAM_PIXCK
R3
PA7
ETHER_DV
N5
PC4
ETHER_RXD0 / MC_ADC12_14 pin 14 (Bus voltage)
P5
PC5
ETHER_RXD1 / MC_ADC12_15 pin 26 (Heatsink
temperature)
R5
PB0
USB_HS_D1
R4
PB1
USB_HS_D2
M6
PB2
BOOT1 /
R6
PF11
USB_FS_OVERCURRENT
P6
PF12
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
N9
R9
AF
R
M9
PE8
FSMC_D5
PE9
FSMC_D6
VSS_7
D
P9
Description
T
Pin no.
P8
VDD_7
PE10
FSMC_D7
PE11
FSMC_D8
R10
PE12
FSMC_D9
N11
PE13
FSMC_D10
P11
PE14
FSMC_D11
R11
PE15
FSMC_D12
R12
PB10
USB_HS_D3
R13
PB11
ULPI_D4
M10
VCAP1
N10
VDD_1
M11
PH6
ETHER_RXD2
N12
PH7
ETHER_RXD3
P10
38/65
STM3240G-EVAL pinout (continued)
VCAP / 1.2V
Doc ID 022138 Rev 1
UM1461
Connectors
STM3240G-EVAL pinout (continued)
Pin no.
Pin Name
M12
PH8
CAM_HSYNC / MC_NTC_bypass
M13
PH9
CAM_D0
L13
PH10
CAM_D1 / MC_TIM5_ETR pin 27 (PFC SYNC)
L12
PH11
CAM_D2 / MC_TIM3_CH2 pin 27 (PFCSYNC)
K12
PH12
CAM_D3 / TIM5_CH3 pin 29 (PFCPWM)
H12
VSS_14
J12
VDD_14
P12
PB12
ULPI_D5
P13
PB13
ULPI_D6 / CAN2_TX
R14
PB14
ETHER_INT
R15
PB15
P15
PD8
T
Table 33.
P14
PD9
N15
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
PD15
FSMC_D1
PG2
FSMC_A12
PG3
FSMC_A13
PG4
FSMC_A14
PG5
FSMC_A15
J15
PG6
LED0
J14
PG7
SmartCard_CK
H14
PG8
LED1
G12
VSS_9
H13
VDD_9
H15
PC6
SmartCard_IO / Audio_I2S_ MCK
G15
PC7
LED3
G14
PC8
SDIO_D0/ MC_TIM3_CH3 pin23 (Dissipative Brake)
F14
PC9
SDIO_D1 I2S_CKIN
F15
PA8
MCO
E15
PA9
USB_FS_VBUS
K15
K14
K13
OneNAND_INT
FSMC_D13
AF
FSMC_D14
R
L15
D
L14
Description
Doc ID 022138 Rev 1
39/65
Connectors
UM1461
Table 33.
STM3240G-EVAL pinout (continued)
Pin Name
D15
PA10
USB_FS_ID
C15
PA11
USB_FS_DM
B15
PA12
USB_FS_DP
A15
PA13
JTAG_TMS
F13
VCAP2
VCAP / 1.2V
F12
VSS 2
G13
VDD_2
E12
PH13
MC_TIM8_CH1N pin 5 (UL) / MicroSD card detect
E13
PH14
CAM_D4 / MC_TIM8_CH2N pin 9 (VL)
D13
PH15
MC_TIM8_CH3N pin 13 (WL) / SmartCard_3/5V
E14
PI0
D14
PI1
C14
PI2
Audio_I2S_WS
Audio_I2S_CK
Expander_INT
AF
C13
PI3
Audio_I2S_DOUT
VSS_15
C9
VDD_15
A14
PA14
JTAG_TCK
A13
PA15
JTAG_TDI
B14
PC10
SDIO_D2 / RS232_TX
PC11
SDIO_D3 / RS232_RX
PC12
SDIO_CK
PD0
FSMC_D2 / CAN1_RX
PD1
FSMC_D3 / CAN1_TX
PD2
SDIO_CMD
D11
PD3
FSMC_CLK
D10
PD4
FSMC_NOE
C11
PD5
FSMC_NWE
D8
VSS_10
C8
VDD_10
B11
PD6
FSMC_NWAIT
A11
PD7
FSMC_NE1
C10
PG9
FSMC_NE2
B10
PG10
FSMC_NE3
B9
PG11
ETHER_TXEN
B8
PG12
SmartCard_CMDVCC
B12
C12
D12
D
A12
R
D9
B13
40/65
Description
T
Pin no.
Doc ID 022138 Rev 1
UM1461
Connectors
Table 33.
STM3240G-EVAL pinout (continued)
Pin no.
Pin Name
A8
PG13
ETHER_TXD0
A7
PG14
ETHER_TXD1
D7
VSS_11
C7
VDD_11
B7
PG15
A10
PB3
JTAG_TDO
A9
PB4
JTAG_TRST
A6
PB5
CAN2_RX / ETHER_PPS_OUT / ULPI_D7
B6
PB6
I2C1_SCL
B5
PB7
FSMC_NL
D6
BOOT0
A5
PB8
B4
PB9
A4
PE0
FSMC_NBL0
A3
PE1
FSMC_NBL1
D5
VSS_SA
C6
VDD_3
C5
VDD_SA
D4
PI4
CAM_D5 / MC_TIM8_BKIN pin 1 (Stop)
PI5
CAM_VSYNC / MC_TIM8_CH1 pin 3 (UH)
PI6
CAM_D6 / MC_TIM8_CH2 pin 7 (VH)
PI7
CAM_D7 / MC_TIM8_CH3 pin 11 (WH)
C2
T
USER_BUTTON
BOOT0
ETHER_TXD3 / MC_TIM4_CH3 pin 34 (Index)
AF
I2C1_SDA
R
C3
D
C4
Description
POR Disable
Doc ID 022138 Rev 1
41/65
Schematics
4
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
●
Figure 22: Audio on page 48
●
Figure 23: USB OTG FS 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 31: Motor control on page 57
●
Figure 32: Smartcard on page 58
●
Figure 33: JTAG and Trace on page 59
●
Figure 34: Power on page 60
●
Figure 35: Extension connector on page 61
●
Figure 36: STLINK/V2 on page 62
●
Figure 37: 3.2” LCD module with SPI and 16-bit interface on page 63
D
R
AF
T
●
42/65
Doc ID 022138 Rev 1
Doc ID 022138 Rev 1
D
C
B
A
1
U_Camera connector
C amera connector.SchDoc
U_E xtensionConnector
E xtensionC onnector.SchDoc
U_US AR T & IrDA
US ART & IrDA .SchDoc
U_Audio
Audio.SchDoc
1
R ES E T #
PI[0..11]
PH[0 ..15]
PG[0..15]
PF[0..15]
PE [0..15]
PD[0..15]
PC [0..15]
PB [0..15]
PA[0..15]
R S232/IrDA _R X
B ootloader_BO OT 0
B ootloader_RE SE T
R S232/IrDA _T X
I2S_MC K
Audio_R ST
Audio_SDA
Audio_SC L
I2S_SC K
I2S_SD
I2S_WS
Audio_DAC _OUT
2
SmartC ard_OFF
SmartC ard_C MD VC C
SmartC ard_C L K
SmartC ard_R ST
SmartC ard_IO
SmartC ard_3/5V
U_SmartCard
SmartC ard.SchDoc
MC_ PFC pwm
MC_ DissipativeB rake
MC_ NT C
MC_ WH
MC_ UL
MC_ UH
MC_ VL
MC_ VH
MC_ WL
MC_ PFC sync2
MC_ PFC sync1
MC_ EmergencyST OP
MC_ CurrentA
MC_ CurrentB
MC_ CurrentC
MC_ EnA
MC_ EnB
MC_ HeatsinkT emperature
MC_ BusVo ltage
MC_ EnIndex
U_MotorControl
MotorControl.SchDoc
MI I_T X _C L K
MI I_R XD 0
MI I_R X_ E R
MI I_R X_ DV/R MI I_C R SDV
MI I_R X_ CLK /RMI I_RE F_CLK
MI I_C OL
MI I_C R S
MI I_R XD 1
MI I_R XD 2
MI I_R XD 3
MI I_INT
MI I_T X D3
MI I_T X D2
MI I_T X D1
R ES E T #
MCO
MI I_MDI O
MI I_MDC
MI I_T X _E N
MI I_T X D0
U_E thernet
E thernet.SchDoc
C amera_PLUG DC MI _PIX CK
DC MI _V SY NC
DC MI _HSY NC
I2C1_SDA
I2C1_SC L
C amera_XS DN
C amera_R ST
DC MI _D[0..7]
B OOT 0
Audio_IN
I2S_CK IN
MCO
2
3
ULP I_NXT
ULP I_DIR
ULP I_C L K
ULP I_D[0..7]
ULP I_ST P
4
R
C AN1_T X
C AN2_T X
C AN2_R X
C AN1_R X
I2C1_SC L
I2C1_SDA
IO_E xpandor_INT
Potentiometer
Anti_Tamper
WAK EU P
User_Button
T DI
T RA C E_ D3
T RA C E_ D2
T RA C E_ D1
T RA C E_ D0
T RA C E_ CK
T DO /SWO
T CK /SWC L K
T MS /SWDI O
T RS T
FSMC_ BLN0
FSMC_ BLN1
FSMC_ CLK
FSMC_ NL
OneNA ND _INT
FSMC_ NW AIT
FSMC_ NE 1
FSMC_ NE 2
4
Mi croSDCard_C LK
SmartC ard_OFF
Mi croSDCard_C MD
SmartC ard_C MD VC C
Mi croSDCard_D0
SmartC ard_C L K
Mi croSDCard_D1
SmartC ard_R ST
Mi croSDCard_D2
SmartC ard_IO
Mi croSDCard_D3
SmartC ard_3/5V
Mi croSDCard_Detect
MC_ PFC pwm
MC_ DissipativeB rake
MC_ NT C
MC_ WH
MC_ UL
MC_ UH
MC_ VL
MC_ VH
MC_ WL
MC_ PFC sync2
MC_ PFC sync1
MC_ EmergencyST OP
MC_ CurrentA
MC_ CurrentB
MC_ CurrentC
MC_ EnA
MC_ EnB
MC_ HeatsinkT emperature
MC_ BusVo ltage
MC_ EnIndex
MCO
MI I_MDI O
MI I_MDC
MI I_T X _E N
MI I_T X D0
MI I_T X _C L K
L C D_VS YN C
MI I_R XD 0
L C D_HS YN C
MI I_R X_ E R
L C D_CS
MI I_R X_ DV/R MI I_C R SDV
MI I_R X_ CLK /RMI I_RE F_CLK
D[0..15]
MI I_C OL
A[0..20]
MI I_C R S
FSMC_ NW E
MI I_R XD 1
FSMC_ NOE
MI I_R XD 2
FSMC_ NE 3
MI I_R XD 3
MI I_INT
MI I_T X D3
MI I_T X D2
MI I_T X D1
DC MI _D[0..7]
DC MI _PIX CK
DC MI _V SY NC
DC MI _HSY NC
B OOT 0
R ES E T #
PI[0..11]
PH[0 ..15]
PG[0..15]
PF[0..15]
PE [0..15]
PD[0..15]
PC [0..15]
PB [0..15]
PA[0..15]
L E D4
L E D3
L E D1
L E D2
OT G_FS_PowerSwitchOn
R S232/IrDA _R X
OT G_FS_DM
B ootloader_BO OT 0
OT G_FS_DP
B ootloader_RE SE T
OT G_FS_ID
R S232/IrDA _T X
OT G_FS_OverCurrent
I2S_SC K
I2S_SD
I2S_WS
Audio_DAC _OUT
I2S_MC K
Audio_IN
I2S_CK IN
D
3
0
0
U_CA N
C AN.SchDoc
JOY _SE L
JOY _DO WN
JOY _L E FT
JOY _RI GHT
JOY _UP
ME MS _INT 1
ME MS _INT 2
5
Mi croSDCard_C LK
Mi croSDCard_C MD
Mi croSDCard_D0
Mi croSDCard_D1
Mi croSDCard_D2
Mi croSDCard_D3
Mi croSDCard_Detect
U_Mi croSDCard
Mi croSDCard.SchDoc
T RA C E_ D3
T RA C E_ D2
T RA C E_ D1
T RA C E_ D0
T RA C E_ CK
T DO /SWO
T CK /SWC L K
T MS /SWDI O
T RS T
R ES E T #
T DI
U_JT AG& Trace
JT AG& T race.SchDoc
T MS /SWDI O
T DO /SWO
T DI
T RS T
T CK /SWC L K
A[0..20]
D[0..15]
FSMC_ NE 1
FSMC_ NE 2
FSMC_ NW E
FSMC_ NOE
FSMC_ BLN0
FSMC_ BLN1
FSMC_ CLK
FSMC_ NL
OneNA ND _INT
FSMC_ NW AIT
+2V 8
R 118 R 133
1K 5 1K 5
U_US B_ OT G_HS
US B _OT G_HS.SchDoc
6
6
U_ST _LI NK
ST _L INK .SC HDO C
U_L C D
L C D.S chDoc
T
R ES E T #
U_SR AM& OneNA ND
SRA M& OneNAND.SchDoc
L C D_VS YN C
L C D_HS YN C
L C D_CS
R ES E T #
T ouchScreen_YD[0..15]
T ouchScreen_Y+
A[0..20]
T ouchScreen_XFSMC_ NW E T ouchScreen_X+
FSMC_ NOE
FSMC_ NE 3
PC [0..15]
C AN1_T X
C AN2_T X
C AN2_R X
C AN1_R X
Potentiometer
Anti_Tamper
WAK EU P
User_Button
L E D4
L E D3
L E D1
L E D2
E E PRO M_SC L
E E PRO M_SDA
ME MS _SCL
ME MS _SDA
U_IO Peripherals
IO Peripherals.SchDoc
OT G_FS_PowerSwitchOn
OT G_FS_DM
OT G_FS_DP
OT G_FS_ID
OT G_FS_OverCurrent
U_US B_ OT G_FS
US B _OT G_FS.S chDoc
ULP I_NXT
ULP I_DIR
ULP I_C L K
ULP I_D[0..7]
ULP I_ST P
R ES E T #
AF
R 103
R 111
U_MC U
MCU .SchDoc
5
E XP _IO6
7
R ev: C.1(PCB.SCH)
Date: 8/22/2011
STM32 20-21-45-46 G-EVAL
Number:MB786
T itle:
STMicroelectronics
Modi cations on PC B rev.C .1:
1. Add capacitor CX1 .
2. Add R E SE T # connection on pin C 4 of U8.
3. Add SB1 & R2 12 related configuration table.
4. C hange F4 MCU partnumber.
5. R emove PC12 from LCD extention connector C N22
U_Power
Power.SchDoc
T ouchScreen_YT ouchScreen_Y+
T ouchScreen_XT ouchScreen_X+
IO_E xpandor_SC K
IO_E xpandor_SDA
IO_E xpandor_INT
E XP _IO11
E XP _IO12
E XP _IO8
E XP _IO7
E XP _IO1
E XP _IO2
E XP _IO3
E XP _IO4
E XP _IO5
E XP _IO10
E XP _IO9
U_IO_Ex pandor
IO_E xpandor.SchDoc
7
8
Sheet 1
8
of
20
D
C
B
A
UM1461
Schematics
Figure 17. STM3240G-EVAL
43/65
D
C
B
A
R 66
R 51
1
I2S_CK IN
Mi croSDCard_D1
C AN1_T X
R 86
390
JP16
2
C 72
20pF
C 73
20pF
1
C 70 2
6.8pF
R 84
0
X3
D[0..15]
A[0..20]
3
4
C 71
6.8pF
R 85
0
D[0..15]
A[0..20]
B OOT 0
A16
A17
A18
100nF
C 123
R ES E T
2
R ES E T #
4
3
do not fit
R 137
+3V 3
MC3 06-G-06Q-32.768 (manufacturer JFVNY )
B1
1
2
SB1 5
SB1 4
25MH z (with socket)
X4
MC_ EnA
3
1
Mi croSDCard_C MD
FSMC_ CLK
FSMC_ NOE
FSMC_ NW E
FSMC_ NW AIT
FSMC_ NE 1
MCO 2
C AN1_R X
T P15
Mi croSDCard_C LK
Anti_Tamper
L E D4
ULP I_ST P
MI I_INT
OneNA ND _INT
R S232/IrDA _R X
JP21
[N/A ]
0
SB1 2
SB1 1
I2C1_SDA
I2C1_SC L
FSMC_ NL
Audio_DAC _OUT
ULP I_C L K
DC MI _PIX CK
MI I_R X_ DV/R MI I_C R SDV
MCO
VB US _FS
OT G_FS_ID
OT G_FS_DM
OT G_FS_DP
T MS /SWDI O
T CK /SWC L K
+3V 3
T DI
1 SW1
2
3
R 88
10K
09.03290.01
T DO /SWO
T RS T
MCO 1
WAK EU P
MI I_R X_ CLK /RMI I_RE F_CLK
MI I_MDI O
ULP I_D[0..7]
Mi croSDCard_D2
R S232/IrDA _T X
Mi croSDCard_D3
I2S_MC K
SmartC ard_IO
Mi croSDCard_D0
MC_ DissipativeB rake
MC_ CurrentB
MI I_T X D2
MC_ CurrentC
MI I_T X _C L K
0
T P2
PT P_PPS
MC_ EnB
R 205
[N/A ]
R 58
0
SB1 0
R 204
[N/A ]
R 34
MC_ CurrentA
MI I_MDC
C AN2_T X
MC_ HeatsinkT emperature
MI I_R XD 1
MC_ BusVo ltage
MI I_R XD 0
MI I_T X D3
MC_ EnIndex
C AN2_R X
IOs Multiplexed
ULP I_D[0..7]
T P14
2
D0
D1
D13
D14
D15
D2
D3
JP34
SW2
09.03290.01
R 89
10K
3
B AT 60JFIL M
D2
R5
R4
M6
A10
A9
A6
B6
B5
A5
B4
R 12
R 13
P12
P13
R 14
R 15
PA10
PA11
PA12
PA13
PA14
PA15
PB 0
PB 1
PB 2
PB 3
PB 4
PB 5
PB 6
PB 7
PB 8
PB 9
PB 10
PB 11
PB 12
PB 13
PB 14
PB 15
PC 0
PC 1
PC 2
PC 3
PC 4
PC 5
PC 6
PC 7
PC 8
PC 9
PC 10
PC 11
PC 12
PC 13
PI11
PI10
PI9
PI8
PI7
PI6
PI5
PI4
PI3
PI2
PI1
PI0
PH15
PH14
PH13
PH12
PH11
PH10
PH9
PH8
PH7
PH6
PH5
PH4
PH3
PH2
PG15
PG14
PG13
PG12
PG11
PG10
PG9
PG8
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
ST M32F207IGH6
ST M32F217IGH6
ST M32F407IGH6
ST M32F417IGH6
NR ST
B OOT 0
PC 14
PC 15
PH0
PH1
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PC 0
PC 1
PC 2
PC 3
PC 4
PC 5
PC 6
PC 7
PC 8
PC 9
PC 10
PC 11
PC 12
PC 13
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
PE 15
PE 14
PE 13
PE 12
PE 11
PE 10
PE 9
PE 8
PE 7
PE 6
PE 5
PE 4
PE 3
PE 2
PE 1
PE 0
B ootloader_RE SE T
4
E4
E3
D3
D2
C2
C3
C4
D4
C 13
C 14
D14
E 14
D13
E 13
E 12
K 12
L 12
L 13
M13
M12
N12
M11
J4
H4
G4
F4
B7
A7
A8
B8
B9
B 10
C 10
H14
J14
J15
K 13
K 14
K 15
L 15
M7
N7
P7
R7
N6
P6
R6
L1
L2
L3
K1
K2
K3
J3
J2
H2
H3
E2
R 11
P11
N11
R 10
P10
R9
P9
P8
R8
B3
B2
B1
A1
A2
A3
A4
4
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
PE 2
PE 1
PE 0
PE 15
PE 14
PE 13
PE 12
PE 11
PE 10
PE 9
PE 8
PE 7
PE 6
PE 5
PI11
PI10
PI9
PI8
PI7
PI6
PI5
PI4
PI3
PI2
PI1
PI0
PH15
PH14
PH13
PH12
PH11
PH10
PH9
PH8
PH7
PH6
PH5
PH4
PH3
PH2
PG15
PG14
PG13
PG12
PG11
PG10
PG9
PG8
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
R
PB 0
PB 1
PB 2
PB 3
PB 4
PB 5
PB 6
PB 7
PB 8
PB 9
PB 10
PB 11
PB 12
PB 13
PB 14
PB 15
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
U16A
B ootloader_BO OT 0
D1
B AT 60JFIL M
JP29
E1
F1
PC 14
PC 15
J1
D6
G1
H1
B 12
C 12
D12
D11
D10
C 11
B 11
A11
P15
P14
N15
N14
N13
M15
M14
L 14
M2
M3
M4
M5
N5
P5
H15
G15
G14
F14
B 14
B 13
A12
D1
PH0
PH1
C PUC K
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
T P16
ULP I_D3
ULP I_D4
ULP I_D5
ULP I_D6
ULP I_D7
B OOT 0
+3V 3
N3
N2
P2
R2
N4
P4
P3
R3
F15
E 15
D15
C 15
B 15
A15
A14
A13
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
D
ULP I_D1
ULP I_D2
ULP I_D0
3
A19
A20
DC MI _D5
DC MI _D7
DC MI _D6
DC MI _D3
DC MI _D2
DC MI _D1
DC MI _D0
DC MI _D4
A15
A14
A13
A12
A11
A10
DC MI _D[0..7]
5
I2S_SD
IO_E xpandor_INT
I2S_SC K
I2S_WS
ULP I_DIR
MI I_R X_ E R
L E D3
L C D_HS YN C
MI I_R XD 3
MI I_R XD 2
OT G_FS_PowerSwitchOn
ULP I_NXT
MI I_C OL
MI I_C R S
MI I_T X _E N
FSMC_ NE 3
FSMC_ NE 2
L E D2
SmartC ard_C L K
L E D1
User_Button
MI I_T X D1
MI I_T X D0
OT G_FS_OverCurrent
Audio_IN
Potentiometer
L C D_CS
SmartC ard_R ST
SmartC ard_OFF
T RA C E_ CK
FSMC_ BLN1
FSMC_ BLN0
T RA C E_ D3
T RA C E_ D2
2
2
PE 3
PE 4
T RA C E_ D0
SB1 6
T
DC MI _D[0..7]
6
MC_ EmergencyST OP
MC_ WH
MC_ VH
MC_ UH
DC MI _V SY NC
MC_ VL
MC_ UL
Mi croSDCard_Detect
MC_ PFC pwm
MC_ PFC sync1
MC_ PFC sync2
MC_ NT C
DC MI _HSY NC
MC_ WL
SmartC ard_3/5V
6
T RA C E_ D1
SmartC ard_C MD VC C
L C D_VS YN C
JP2
1
JP1
3
1
3
IOs Multiplexed
AF
A5
A4
A3
A2
A1
A0
A9
A8
A7
A6
D12
D11
D10
D9
D8
D7
D6
D5
D4
5
VD DA
C 69
100nF
VR E F+
+3V 3
ST M32F207IFT6
C R1 220 holder
B T1
JP19
P1
R1
C1
VD D_SA
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D
VS S
VD D VS S_SA
VD D VR E FVD D
B YP ASS_R E G
R FU
VR E F+ VS SA
VD DA VC AP
VB AT VC AP
U16B
C 50
2.2uF
R 81
10K
VD D_MC U
C 33
2.2uF
R 71
10K
JP4
Optional
+3V 3
PI[0..11]
PH[0 ..15]
PG[0..15]
PF[0..15]
PE [0..15]
PD[0..15]
PC [0..15]
PB [0..15]
PA[0..15]
Number:MB786
7
R ev: C.1(PCB.SCH)
Date: 8/15/2011
8
of
C 58
4.7uF
Sheet 2
STM32 20-21-45-46 G-EVAL MCU
PI[0..11]
PH[0 ..15]
PG[0..15]
PF[0..15]
PE [0..15]
PD[0..15]
PC [0..15]
PB [0..15]
PA[0..15]
C 34
C 67
C 54
C 60
C 48
C 37
C 35
100nF 100nF 100nF 100nF 100nF 100nF 100nF
VD D_MC U
C 65
C 49
C 53
C 57
C 56
C 36
C 61
C 66
100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF
STMicroelectronics
T itle:
L4
C6
M1
F13
M10
F2
G2
M8
M9
H12
G12
F12
D9
D8
D7
D5
N1
8
- RFU means R eserved for Future Use.
- As an option, R FU could be tied to VDD or V SS for forward
compatibility with future ST M32F products. However, user may leave
R FU pin connected to V DD , or V SS, or NC for ST M32F2xx exclusive
use.
- JP4 should be fitted for future backward compatibility with sT M32F2xx.
C 74
1uF
47
R 87
L3
B EA D T P5
VR E F
VD D_MC U
C 75
1uF
C5
C7
C8
C9
G13
H13
C 68
J13
100nF J12
N10
N8
N9
K4
F3
G3
VD D_MC U
7
2
2
3
Doc ID 022138 Rev 1
1
3
44/65
1
1
20
D
C
B
A
Schematics
UM1461
Figure 18. MCU
Doc ID 022138 Rev 1
D
C
B
A
RES ET #
ULP I_D[0..7]
ULP I_NX T
ULP I_DIR
ULP I_ST P
ULP I_CLK
1
C40
33pF
26MH z
X2
1M
R5 5
ULP I_D[0..7]
PH4
PI11
PC0
PA5
C41
33pF
R7 0
100K
CH IP_SEL_N
RES ET _N
X T AL2
X T AL1
D7
D6
D5
D4
D3
D2
D1
D0
NX T
DIR
ST P
CLO CK
R7 2 ISP1705AET
[N/A]
C3
C4
F6
F5
C6
B6
A6
A5
A3
A2
A1
B1
D5
E5
D6
A4
+3V 3
ULP I_D7
ULP I_D6
ULP I_D5
ULP I_D4
ULP I_D3
ULP I_D2
ULP I_D1
ULP I_D0
+3V 3
JP31
0
R6 9
PB5
PB13
PB12
PB11
PB10
PB1
PB0
PA3
0
0
R6 1
R6 2
U8
PSW_N
FAULT
RREF
V CC( I/O)
V CC( I/O)
V CC
REG _3V 3
REG 1V 8
NC
NC
CF G0
CF G1
CF G2
GND
GND
GND
V BU S
DM
DP
ID
2
+5V
C26
0.1uF
R
D4
E2
C2 R5 0
12K [1%]
F4
C1
D1
D3
+3V 3
B2
B5
F3
E3
E6
F1
C31
F2
4.7uF
E1
+3V 3
B4
B3
C5
C24
D2
E4
0.1uF
D
R3 1
10K
+3V 3
FAULT
OUT
C44
4.7uF
R4 6
C42
0.1uF
2K 2
C39
0.1uF
3
1
ST MPS2141STR@ 54
GND
IN
EN
U4
C29
0.1uF
Red
620
R2 9
3
+3V 3
U10
USBU LC6 -2F3
47K
R2 07
R2 06
[N/A]
T3
9013
C46
0.1uF
0
C47
0.1uF
Shield
C64
0.1uF
U SB _M icro-A B receptacle
C131
0.1uF
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet3
of
20
STM32 20-21-45-46 G-EVAL USB OTG HS
Number:MB 786
T itle:
4
CN 9
V BU S_HS 475900001
1
V BU S
2
DM
3
DP
4
ID
5
GND
LD 7
Green
U12
ES DA14V 2-2BF 3
2
R2 8
330
+3V 3
STMicroelectronics
T
C25
4.7uF
1
C43
0.1uF
AF
2
5
4
10K
LD 8
2
R3 2
3
A2
A1
B2
B1
2
A2
A1
1
2
3
1
D
C
B
A
Figure 19.
B2
B1
1
UM1461
Schematics
USB OTG HS
45/65
46/65
Doc ID 022138 Rev 1
D
C
B
A
I2C1_SCL
I2C1_SDA
Camera_RS T
1
DCMI _PIX CK
DCMI _V SY NC
DCMI _HSY NC
DCMI _D[0..7]
R1 30
10K
+2V 5
1
4
1
OUT
GND
3
2
PB6
PB9
+2V 8
JP26
5
3
SCL
SDA
DCMI _D0
DCMI _D1
DCMI _D2
DCMI _D3
DCMI _D4
DCMI _D5
DCMI _D6
DCMI _D7
R1 09
10K
13
17
7
9
19
21
22
20
18
16
14
12
CN 15
DGND
DGND
DGND
AGND
AGND
2
24-5805-024-000-829+
SIO_C
SIO_D
RES ET
PWDN
15
2
1
24
23
4
10
11
C90
0.1uF
+2V 8
R
X CLK 1 AV DD(2.8V )
PCLK
DV DD(1.8V )
V SY NC DOV DD(2.8V )
HREF
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
D
6
8
PH9
PH10
PH11
PH12
PH14
PI4
PI6
PI7
Camera_CLK
Camera_RS T
R1 08
10K
+2V 8
PIX CLK
PA6
V SY SC
PI5
HSY SC
PH8
DCMI _D[0..7]
SM7745HEW -24.0M
V CC
EN
U27
2
C84
0.1uF
+2V 8
C85
0.1uF
Camera_X SDN
Camera_PLU G
3
R2 13
10K
AF
+1V 8
+2V 8
3
+2V 8
C151
0.1uF
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
CN 23
CLM-120-02- L-D
C152
0.1uF
+2V 8
C150
0.1uF
DCMI _D1
DCMI _D3
DCMI _D5
DCMI _D7
V SY SC
Camera_CLK
SDA
+1V 8
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet4
STM32 20-21-45-46 G-EVAL Camera
Number:MB 786
T itle:
STMicroelectronics
T
DCMI _D0
DCMI _D2
DCMI _D4
DCMI _D6
HSY SC
PIX CLK
Camera_RS T
SCL
+1V 8
C149
0.1uF
4
of
20
D
C
B
A
Schematics
UM1461
Figure 20. Camera
Doc ID 022138 Rev 1
D
C
B
A
MI I_T X _EN
MI I_T X D0
MI I_T X D1
2K 2
R4 0
1
Board configuration
ST M324xG-EV AL
ST M322xG-EV AL
MCO
SB1
Close
Open
MI I_RX _CLK /RMI I_REF _CLK
+3V 3
2
R2 6
10K
+3V 3
C14
22pF
C15
22pF
JP6
1
3
PC5
PC4
PA7
PG11
PG13
PG14
PH2
PI10
PH3
PH7
PH6
PB8
PC2
PC3
R2 12
Not fitted
150ohm
PA1
JP8
Unusedin RMII mode
MI I_CRS
MI I_RX _ER
MI I_CO L
MI I_RX D3
MI I_RX D2
MI I_T X D3
MI I_T X D2
MI I_T X _CLK
MI I_RX D1
MI I_RX D0
MI I_RX _DV /RM II_CRS DV
1
R2 08
V CC
EN
U3
OUT
GND
PA8
3
3
2
JP5
1
2
PC1
PA2
MI I_INT
R4 4
0
2
PB14
+3V 3
D
SM7745HEV -50.0M (do notfit)
4
1
51
150
R2 4
R2 12
MI I_MD C
MI I_MD IO
RES ET #
SB1
0
T P1
X1
25MH z
25MH z (with socket)
51
51
RS 2
RS 6
RS 5
51
2
1
2
3
4
5
6
U5
4.87K
R2 5
2K 2
R4 1
0
R4 2
C17
0.1uF
DP83848CV V
RBI AS
PFBI N2
PFBI N1
PFBO UT
X2
X1
25MH z_OUT
C13
10uF
C16
0.1uF
+3V 3
AGND
AGND
IOGND
IOGND
DGND
AV DD33
IOV DD33
IOV DD33
NC
NC
LED _LI NK /AN0
LED _SPEED /AN1
LED _ACT /COL/A N_EN
C19
0.1uF
RES ET _N
PWR_D OWN/INT
MD C
MD IO
T D+
T DRD +
RD NC
NC
NC
NC
NC
C20
0.1uF
+3V 3
RS 4
51
C6
0.1uF
R2 2 R1
240 240
7
8
13
14
9
10
12
11
3
5
6
1
4
2
(green)_A
(green)_K
(Y ellow)_A
(Y ellow)_K
J0011D21B
Secondsource: SI-60116-F
NC
CH S GND
Shield
Shield
LED
LED
LED
LED
RD +
RCT
RD -
T D+
T CT
T D-
CN 7
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet5
of
STM32 20-21-45-46 G-EVAL Ethernet
Number:MB 786
T itle:
STMicroelectronics
+3V 3
2K 2
RS 1
+3V 3
T
+3V 3
C27
0.1uF
3
19
15
47
35
36
22
48
32
2K 2
2K 2
C7
0.1uF
21 R3 0
20 R3 3
28
27
26
17
16
14
13
12
11
10
9
8
AF
CO L/PHY AD0
CRS /CRS _DV /LED _CF G
RX D_0/PHY AD1
RX D_1/PHY AD2
RX D_2/PHY AD3
RX D_3/PHY AD4
RX _ER/MD IX _EN
RX _DV /MI I_MO DE
RX _CLK
C21
0.1uF
24
37
18
23
33
34
25
29
7
31
30
42
40
43
44
45
46
41
39
38
T X _CLK
T X _EN
T X D_0
T X D_1
T X D_2
T X D_3/SNI_MO DE
R
RS 3
51
R4 3
1.5K
+3V 3
3
20
D
C
B
A
UM1461
Schematics
Figure 21. Ethernet
47/65
48/65
Doc ID 022138 Rev 1
[N/A]
C155
[N/A]
C154
I2S_CK IN
PC9
1
X6
[N/A]
CS 2200-CP
VD
GND
CLK _OUT
AUX _OUT
T ST_ IN
2
1
C92
0.1uF
+2V 5
10K
R1 34
10
9
8
7
6
C98
0.1uF
R1 98
0
R1 97
1K
C103
0.1uF
I2S_MCK
I2S_SCK
I2S_SD
I2S_WS
0
20
36
33
35
0
100nF
2
5
2
4
22
100nF
C144
T S472IQT
INBY P
GND
GND
BI AS
IN+
U33
CS 43L22
I2C address 0x94
4
6
7
9
8
5
15
14
31
1
2
V CC
C1
C2
OUT +
OUT ST BY
GS
20
14
15
17
16
21
9
1uF
100pF
C145
19
28
27
18
17
R1 95
10K
R2 00
47
JP33
C140 +3V 3
VQ
AFILTB
AFILTA
FILT +
AGND
AIN1B
AIN1A
AIN2B
AIN2A
AIN3B
AIN3A
AIN4B
AIN4A
30
29
26
25
24
23
22
21
R1 22
+5V
+3V 3
100pF
C146
C102
1uF(X 5R)
C108
150pF(CO G)
3
C147
0ohm
R1 99
100K
PF10
R2 16
0
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
R2 18
[N/A]
Sheet6
of
20
F it for Nokia headse t
R2 17
[N/A]
STM32 20-21-45-46 G-EVAL Audio
Number:MB 786
T itle:
R2 15
0
PJ3028B- 3
4
F it for Iphone headse t
4
2
3 CN 11
6
STMicroelectronics
0
R1 96
Audio_IN
Audio_DAC_O UT
0ohm resistor mounted for DC coupling
C107
150pF(CO G)
0
R1 15 PA4
T
C101
1uF(X 5R)
1uF(X 7R)
C94
0.1uF
C105
R1 13
100K
K SS-1508 or KSSG1708
C93
0.1uF
100
3
C97
0.022uF
R1 12
51
U19
C86
0.022uF
R1 10
51
AF
SPK R_O UT A+
SPK R_O UT ASPK R_O UT B+
SPK R_O UT BVP
VP
HP/LI NE_O UT A
HP/LI NE_O UT B
SPK R/H P
T STO
T STO
VL
DGND
GND/Thermal Pad
+V HP
VA
VD
FLY P
-V HPFILT
FLY N
MCLK
SCLK
SDIN
LRCK
RES ET
10
8
C142
1uF
C104
0.1uF
+3V 3
13
16
34
12
10
11
37
38
39
40
32
SDA
SCL
A0
U23
0
R
1
2
3
MCO
C143
C141
1uF
C95
1uF
C87
1uF (X 7R)
PC6
PI1
PI3
PI0
PB9
PB6
R2 21
10K
R2 09
PA8
+3V 3
D
R2 11
Audio_SDA
Audio_SCL
C88
1uF(X 7R)
SDA/CDIN
SCL/CCLK
AD0/CS
X T I/REF _CLK
XTO
U34
K ECG 2740TBL[N /A]
From IO expandor
Audio_RS T
1
2
3
4
5
U36
2
D
C
B
A
Figure 22. Audio
D
C
B
A
+3V 3
1uF
C158 0.1uF
C159
1
Schematics
UM1461
D
C
B
1
V BU S_FS
OT G_FS_DM
OT G_FS_DP
OT G_FS_ID
OT G_FS_PowerSwitchOn
R1 8
R2 1
PH5
PA9
PA11
PA12
PA10
0
0
D
2
2
B3
C3
D3
A2
B2
+5V
FAULT
OUT
3
1
ID
D+in
D-in
Pd1
Pd2
22
22
EMI F02-USB03F 2
GND
R1 7
R1 9
R1 6
47K
R2 3
620
LD 5
Red
R1 5
D2
A3
C1
D1
B1
C2
C5
4.7uF
AF
GND
IN
EN
ST MPS2141STR@ 54
V bus
D+out
D-out
Dz
Pup
U2
2
5
4
U1
R
R2 0
10K
+3V 3
1
2
+3V 3
0
3
3
47K
R1 80
T
PF11
T1
9013
U SB _M icro-A B receptacle
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet7
of
20
STM32 20-21-45-46 G-EVAL USB_OTG_FS
Number:MB 786
T itle:
S TMicroelectronics
R1 81
[N/A]
2
R2 7
330
LD 6
Green
475900001
Shield
V BU S
DM
DP
ID
GND
CN 8
+3V 3
0
1
2
3
4
5
OT G_FS_OverCurrent
1
2
3
Doc ID 022138 Rev 1
1
A
1
D
C
B
A
UM1461
Schematics
Figure 23. USB OTG FS
49/65
50/65
Doc ID 022138 Rev 1
D
C
B
A
1
1
R4 7 0
U6
R4 9
10K
H6
G2
H1
D3
E4
F4
F3
G4
G3
H5
H4
H3
H2
D4
C4
C3
B4
B3
A5
A4
A3
B5
G5
A2
A1
B2
V SS
V SS
CE2
V CC
V CC
100nF
D1
E6
2
FSMC_N E1
+3V 3
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D4
F1
F2
D2
F5
G5
E6
F6
F4
G6
H3
H2
H5
H4
G3
G2
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
U7
PD7
R5 2 0
R4 5
10K
3
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
DQ6
DQ7
DQ8
DQ9
DQ10
DQ11
DQ12
DQ13
DQ14
DQ15
3
+3V 3
R4 8
10K
R5 3 0 PB15
K FG1216U2A-DIB6
Not tted
+3V 3
G4
H6
E5
E4
A5
A4
C6
B6
+3V 3
D3 D0
B3 D1
E3 D2
C5 D3
C2 D4
D5 D5
D6 D6
C1 D7
B2 D8
B5 D9
C4 D10
C3 D11
B1 D12
A6 D13
A3 D14
D1 D15
C22
100nF
C18
100nF
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
STM32 20-21-45-46 G-E VAL SRAM
Number:MB 786
T itle:
STMicroelectronics
OneNAND_INT
T
V ccIO
CE
V ccCore
WE
OE
NC
CLK
NC
AV D
NC
RD Y
NC
RP
V ss
INT
V ss
C28 R3 6
100nF 10K
E2
A1
B4
E1
F3
H1
A2
G1
AF
100nF
C30
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
+3V 3 C23
A6
D6
E1
G1
F1
F2
E2
D2
C2
C1
B1
G6
F6
F5
E5
D5
C6
C5
B6
R
I/O15
I/O14
I/O13
I/O12
I/O11
I/O10
I/O9
I/O8
I/O7
I/O6
I/O5
I/O4
I/O3
I/O2
I/O1
I/O0
IS61WV 102416BLL- 10MLI
C Y 7C 1071DV33-12B AXI
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
CE
WE
OE
BLE
BH E
D
D[0..15]
A[0..20]
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
+3V 3
0
R3 5
10K
+3V 3
PD5
PD4
PD3
PB7
PD6 R5 4
P E0
P E1
PG9
FSMC_N WE
FSMC_N OE
FSMC_CLK
FSMC_N L
FSMC_N WAIT
FSMC_BLN 0
FSMC_BLN 1
FSMC_N E2
D[0..15]
A[0..20]
2
Sheet8
of
20
D
C
B
A
Schematics
UM1461
Figure 24. SRAM
Doc ID 022138 Rev 1
D
C
B
A
1
1
+5V
+3V 3
R6 7
R6 8
FSMC_N WE
FSMC_N OE
RES ET #
FSMC_N E3
A[0..20]
D[0..15]
0
[N/A]
PD5
PD4
PG10
A[0..20]
D[0..15]
BEA D
L2
BEA D
L1
C153
100nF
C148
10uF
A0
2
D
2
LCD _V SY NC
LCD _HSY NC
LCD _CS
+3V 3
150
150
150
150
22
23
24
25
26
27
28
29
30
1
2
3
4
5
XL
XR
YD
YU
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
150
150
150
150
150
150
150
150
R1 70
R1 71
R1 72
R1 73
R1 74
R1 75
R1 76
R1 77
14
15
16
17
18
19
20
21
31
32
33
34
150
150
150
150
150
150
150
150
R8 2
R1 61
R1 63
R1 65
R1 66
R1 67
R1 68
R1 69
6
7
8
9
10
11
12
13
D8
D9
D10
D11
D12
D13
D14
D15
D0
D1
D2
D3
D4
D5
D6
D7
2
4
6
PC10
PC11
PC[ 0..15]
Header 3X2H
R ese rved for LC D connector
1
3
5
CN 22
3
PC[ 0..15]
T o IO expandor
4
Rev: C .1 (P C B .SC H)
4
Date: 8/22/2011
Sheet9
STM32 20-21-45-46 G-EVAL LCD
Number:MB 786
T itle:
STMicroelectronics
T
T ouchScreen_X T ouchScreen_X +
T ouchScreen_Y T ouchScreen_Y +
3.2" LCD _connector(M B785 with AM- 240320D4T OQW-T0 0H(R) )
BL_ GND
BL_ Control
V DD
V CI
GND
GND
BL_ V DD
SDO
SDI
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
AF
CS
RS
WR/S CL
RD
RES ET
CN 19
R
R7 8
R1 19
R1 62
R1 64
3
of
20S
D
C
B
A
UM1461
Schematics
Figure 25. LCD
51/65
52/65
Doc ID 022138 Rev 1
D
C
B
A
1
1
RS 232/IrDA_RX
RS 232/IrDA_T X
PC11
PC10
2
JP22
3
1
C45
4.7uF
+3V 3
2
C51
0.1uF
47
R6 3
Bootloader_RES ET
C55
4.7uF
R
C80
100nF
100nF
C78
Bootloader_BO OT0
D
2
R1 OUT B
R2 OUT B
R1 OUT
R2 OUT
R3 OUT
R4 OUT
R5 OUT
T 1IN
T 2IN
T 3IN
C1+
C1C2+
C2-
R1 IN
R2 IN
R3 IN
R4 IN
R5 IN
T 1OUT
T 2OUT
T 3OUT
V CC
GND
V+
V-
4
5
6
7
8
9
10
11
26
25
27
3
+3V 3
C77
100nF
C79
100nF
+3V 3
5
nEN
ST 3241EBP R
C52
0.1uF
R6 4
23
1
2
6
7
8
3
4
5
nSHDN
IrDA
T FDU6300
Anode (V CC2)
Cathode
V CC1
NC
GND
T xD
Rx D
SD
U11
22
AF
21
20
19
18
17
16
15
14
13
12
28
24
1
2
U17
3
3
TXD
C TS
DS R
R XD
1
6
2
7
3
8
4
9
5
CN 16
DB9 -male UART3 or 4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet10 of
20
STM32 20-21-45-46 G-EVAL RS-232 & IrDA
Number:MB 786
T itle:
STMicroelectronics
T
C76
100nF
4
D
C
B
A
Schematics
UM1461
Figure 26. RS-232 and IrDA
Doc ID 022138 Rev 1
D
C
B
A
1
1
CA N2_RX
CA N1_RX
CA N2_T X
CA N1_T X
3
1
3
1
PD1
PB13
PD0
PB5
JP10
2
JP3
2
2
1
2
3
4
2
3
1
+3V 3
0
Default setting: 1<->2
R3 9
8
7
6
5
JP7
3
3
1
6
2
7
3
8
4
9
5
CN 10
DB9 -male CA N connector
+3V 3
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet11 of
STM32 20-21-45-46 G-EVAL CAN
Number:MB 786
T itle:
STMicroelectronics
T
R5 6
do notfit
R3 8
120
JP9
R6 0
0
Default setting: Open
AF
10K
R3 7
RS
CA NH
CA NL
V ref
SN65HV D230
D
GND
V CC
R
U9
R
100nF
+3V 3
C32
D
2
20
D
C
B
A
UM1461
Schematics
Figure 27. CAN
53/65
D
C
B
B UTTON
User_Button
PG15
1
0
R1 50
T o IO expandor
JOY _SEL
JOY _DOWN
JOY _LEF T
JOY _RI GHT
JOY _UP
+2V 8
V CC
WC
SCL
SDA
Selection
+3V 3
MT 008-A
DWON
LEF T
RI GHT
UP
R1 43
0
2
100
100
B3
T amper
R1 42
4K 7
R1 56
Anti_Tamper
PC13
+3V 3
C118
100nF
E EPR OM
PA0 R1 39
330
R1 53
220K
+3V 3
C124
do notfit
100
R1 38
B2
WK UP
AF
Joystick
WAK EU P
R
CO MMO N
U32
D
3
1
4
6
2
5
2
R1 02
JP24
100nF
10K
8
7
PB6
6
EEP RO M_S CL
PB9
5
EEP RO M_S DA
M24C64- RMN 6T P
E0
E1
E2
V SS
U18
C130
100nF
1
2
3
4
100nF
C 121
C81
100nF
C 129
R1 60
B4
USER
R1 48
4K 7
+3V 3
2
1
100nF
C 120
100
2
A
3
4
100nF
C 128
R 149
10K
R 147
10K
R 146
10K
R 145
10K
R 144
10K
100nF
C 119
R1 59
3
4
1
4
3
1
2
Doc ID 022138 Rev 1
3
3
_SDA
_SCL
_INT 1
_INT 2
LD 1
Green
1
LD 2
Orange
R1 54
1
680
LD 3
Red
R1 41
1
680
LD 4
Blue
R1 40
1
680
510
R1 55
PF9
0
C122
10nF
R1 51
R1 52 2
1K
LI S302DL
R1 07
10K
MEMS
L EDs
Potentiometer
RV 1
3386P-103H[10%]
+3V 3
7
12
2
10
5
4
11
+2V 8
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet12 of
20
STM32 20-21-45-46 G-EVAL IO Peripherals
Number:MB 786
T itle:
2
2
2
2
+2V 8 U20
1
V DD_IO
CS
6
V DD
SDO
100nF
3
Reserved
GND
13
PB9
SDA
GND
PB6
14
SCL
GND
8
INT 1
GND
9
INT 2
Reserved
C89
PC7
PI9
PG8
PG6
STMicroelectronics
Potentiometer
T o IO expandor
T
MEMS
MEMS
MEMS
MEMS
LED 4
LED 3
LED 2
LED 1
1
54/65
3
1
D
C
B
A
Schematics
UM1461
Figure 28. I/O peripherals
Doc ID 022138 Rev 1
D
C
B
A
1
1
IO_Ex pandor_SCK
IO_Ex pandor_SDA
IO_Ex pandor_INT
PB6
PB9
PI2
2
R1 36
D
2
R1 21
10K
+2V 8
R1 31
10K
6
14
10
4
5
2
7
3
6
14
10
4
5
2
7
3
1
16
15
13
12
11
9
8
V CC
V io
GND
SCLK
SDAT
INT
Data in
A0/Data Out
U29
YXY+
X+
IN3
IN2
IN1
IN0
1
16
15
13
12
11
9
8
R1 32
100K
R1 16
100K
3
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet13 of
20
STM32 20-21-45-46 G-EVAL IO_Expandor
Number:MB 786
T itle:
STMicroelectronics
T
EX P_IO1
EX P_IO2
EX P_IO3
EX P_IO4
EX P_IO5
EX P_IO6
EX P_IO7
EX P_IO8
T ouchScreen_Y T ouchScreen_X T ouchScreen_Y +
T ouchScreen_X +
EX P_IO9
EX P_IO10
EX P_IO11
EX P_IO12
AF
YXY+
X+
IN3
IN2
IN1
IN0
ST MPE811QT R
I2C device address:0x82
V CC
V io
GND
SCLK
SDAT
INT
Data in
A0/Data Out
U24
R1 35 ST MPE811QT R
10K
I2C device address:0x88
+2V 8
C115
100nF
+2V 8
R1 17
10K
R
+2V 8
0
C99
100nF
+2V 8
3
D
C
B
A
UM1461
Schematics
Figure 29. I/O expandor
55/65
Doc ID 022138 Rev 1
D
C
B
1
Micr oSDCard_D1
Micr oSDCard_D0
Micr oSDCard_D3
Micr oSDCard_D2
Micr oSDCard_CLK
Micr oSDCard_CMD
2
D
2
R1 1
47K
R1 0
47K
+3V 3
Micr oSDCard_Detect
0
MicroSD card
PH13
R2
AF
R8
47K
CN 6
PJS008-2000
SMS 064FF or SMS 128FF
R9
47K
R
PC9
PC8
PC11
PC10
PC12
PD2
R6 5
47K
+3V 3
1
2
3
4
5
6
7
8
SW 2
SW 1
56/65
9
10
A
1
3
3
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet14 of
20
STM32 20-21-45-46 G-EVAL MicroSD card
Number:MB 786
T itle:
STMicroelectronics
T
4
D
C
B
A
Schematics
UM1461
Figure 30. MicroSD card
Doc ID 022138 Rev 1
D
C
B
A
MC_P FCsync1
MC_P FCsync2
1
R5 9 0
R5 7 0
PH11
MC_Cur rentC
0
R1 4
R7 4 0
C59
do notfit
PH10
PC3 R7 9
0
MC_Cur rentB
PC1 R7 3
0
T P4
AIN+
PI4
PC2 R7 6
0
MC_Cur rentA
T P3
AIN-
MC_Emer gencyST OP
1
SB18
C10
do notfit
R8 0 0
C63
do notfit
R7 7 0
C62
do notfit
0
R2 19
C4
1nF
R7
3.3K
+3V 3
MC_U H
MC_U L
MC_V H
MC_V L
MC_W H
MC_W L
C11
do notfit
Default setting: Open
MC_P FCpwm
MC_En A
MC_En B
2
MC_N T C
MC_D issipativeBrake
D
2
PD12
PD13
+5V
PH8
PC8
MC_co nnector
C38
do notfit
C2
10nF
SB17
C9
do notfit
C8
do notfit
EMERG EN CY STO P
MC-U H
MC_U L
MC_V H
MC_V L
MC_W H
MC_W L
CU RREN T A
CU RREN T B
CU RREN T C
NT C BY PASS RELA Y
DISSIPAT IV E BRA K E
+5V POWER
PFC SY NC
PFC PWM
Encoder A
Encoder B
CN 5
3
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
+3V 3
0
R4
0
R1 2
0
C1
do notfit
R3
C12
100nF
C3
100nF
0
R5
R6
100K
PB8
MC_En Index
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet15 of
20
STM32 20-21-45-46 G-EVAL Motor control
Number:MB 786
T itle:
MC_BusV oltage
4
MC_H eatsinkT emperature
R1 3 PC4
0
PC5
STMicroelectronics
T
GND
GND
GND
GND
GND
GND
BU S V OLT AGE
GND
GND
GND
GND
GND
Heatsink T emperature
V dd_Micro
GND
GND
Encoder Index
AF
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
Default setting: Open
R
PI5
PH13
PI6
PH14
PI7
PH15
Motor control connector
3
D
C
B
A
UM1461
Schematics
Figure 31. Motor control
57/65
58/65
Doc ID 022138 Rev 1
D
C
B
A
1
1
+5V
C126
100nF
C117
47uF
C127
C125
R1 57
4K 7
2
1
2
3
4
100nF 5
6
7
100nF 8
9
10
11
12
13
14
D
+3V 3
2
R
5
6
7
8
CN 20
C816
GND
NC
I/O
NC
V CC
RS T
CLK
NC
100nF
ST 8024CDR
C109
CLK DIV 1 AUX 2UC
CLK DIV 2 AUX 1UC
5V /3V
I/OUC
PGND
X T AL2
C1+
X T AL1
V ddp
OFF
C1GND
V up
V dd
PRES
RS T IN
PRES
CMD V CC
I/O
PORA DJ
AUX 2
V cc
AUX 1
RS T
CG ND
CLK
U31
18
17
1
2
3
4
100K
R1 58
+3V 3
R1 28
R1 26
R1 27
0
0
0
+3V 3
R1 29
10K
R1 23
10K
AF
28
27
26
25
24
23
22
21
20
19
18
17
16
15
R1 24 R1 25
10K 10K
+3V 3
3
PF7
PG12
C111
100nF
PG7
PF6
PC6
PH15
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet16 of
STM32 20-21-45-46 G-EVAL Smartcard
Number:MB 786
T itle:
STMicroelectronics
SmartCard_RS T
SmartCard_CMD V CC
+3V 3
C114
47uF
SmartCard_CLK
SmartCard_OFF
SmartCard_IO
SmartCard_3/5V
T
T P11
AUX 2
T P12
AUX 1
3
20
D
C
B
A
Schematics
UM1461
Figure 32. Smartcard
Doc ID 022138 Rev 1
D
C
B
1
T MS /SWDIO
T CK /SWCLK
T DO/SWO
T DI
T RS T
RES ET #
D8
D7
D6
Z5V 1
D5
Z5V 1
D4
Z5V 1
D3
Z5V 1
2
2
D
Z5V 1
Z5V 1
A
1
R
PA13
PA14
PB3
PA15
PB4
R9 6
[N/A]
PE6
PE5
PE4
PE3
PE2
R1 040
R1 00do notfit
R9 4 0
R9 1 do notfit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+3V 3
10K
10K
R1 06
3
4
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet17 of
20
STM32 20-21-45-46 G-EVAL JT AG & Trace
Number:MB 786
T itle:
STMicroelectronics
R9 9
10K
R9 8
do notfit
+3V 3
R1 05
JT AG connector
T
CN 14
JTA G
R9 7 R1 01 R9 5 R9 2
[N/A][N/A][N/A][N/A]
AF
K EY
T race connector
T RA CE_D 3
T RA CE_D 2
T RA CE_D 1
T RA CE_D 0
T RA CE_CK
CN 13
FT SH-110-01-L-D V
+3V 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
22
RS 7
+3V 3
3
D
C
B
A
UM1461
Schematics
Figure 33. JTAG and Trace
59/65
Doc ID 022138 Rev 1
D
C
B
+5V
+5V
3
C113
220uF
DC-10B
C96
220uF
3
1
1
V in
3
V out
2
V in
C91
10uF
+2V 5
V out
U22
LD 1086D2M33T R
U21
LD 1117S25TR
1
2
3
2
U28
ZEN 056V 130A24LS
2
T P6
2V 5
C83
10uF
3
C112
100nF
+3V 3
C82
100nF
T P7
3V 3
Z1
SMA J5.0A-T R
2
V in
V out
2
C116
10uF
+1V 8
T P10
1V 8
4
5
6
3
R
CG 1
CG 2
CG 3
CV
BN X 002-01
SG
SV
U25
U30
LD 1117S18TR
2
1
D
1
CN 18
G ND
1
2
3
U26
LD 1117STR
E5V
2
+3V 3
+2V 8
JP32
V in
R1 20
150
V out
C100
10uF
R1 14
120
3
V BU S_FS
D5V
E5V
U5V _ST _LI NK
V BU S_HS
4
R9 3
1K
LD 9
red
T P8
5V
+5V
T P13
Ground
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet18 of
STM32 20-21-45-46 G-EVAL Pow er
Number:MB 786
T itle:
2
4
6
8
10
Header 5X2
1
3
5
7
9
JP18
STMicroelectronics
T
T P9
2V 8
V DD_MCU
3
C110
10uF
AF
+5V
C106
10uF
1
A
1
1
60/65
2
1
20
D
C
B
A
Schematics
UM1461
Figure 34. Power
DDDD
CCCC
BBBB
PC15
PC15
PC15
PC15
PC14
PC14
PC14
PC14
PH1
PH1
PH1
PH1
PH0
PH0
PH0
PH0
1111
Close
Close
Close
Closeto
to
to
tocrystal
crystal
crystal
crystalon
on
on
onPCB
PCB
PCB
PCB
SB5
SB5
SB5
SB5
SB4
SB4
SB4
SB4
SB7
SB7
SB7
SB7
SB6
SB6
SB6
SB6
PB9
PB9
PB9
PB9
PE1
PE1
PE1
PE1
PI5
PI5
PI5
PI5
PI7
PI7
PI7
PI7
39
39
39
39
37
37
37
37
35
35
35
35
33
33
33
33
31
31
31
31
29
29
29
29
27
27
27
27
25
25
25
25
23
23
23
23
21
21
21
21
19
19
19
19
17
17
17
17
15
15
15
15
13
13
13
13
11
11
11
11
9999
7777
5555
3333
1111
PG15
PG15
PG15
PG15
PB4
PB4
PB4
PB4
PB6
PB6
PB6
PB6
BO
BO
BO
BOOT
OT
OT
OT
0000
PB8
PB8
PB8
PB8
PE0
PE0
PE0
PE0
PI4
PI4
PI4
PI4
PI6
PI6
PI6
PI6
EX
EX
EX
EXTTT_PC15
T_PC15
_PC15
_PC15
EX
EX
EX
EXTTT_PC14
T_PC14
_PC14
_PC14
EX
EX
EX
EXTTT_PH1
T_PH1
_PH1
_PH1
R
VVVVBU
BU
BU
BUS_FS
S_FS
S_FS
S_FS
PE
2
PE
PE 2
2
PE
2
PE
PE 4
4
PE
4
PE
4
PE 6
6
PE
6
PE
PE
6
PC 13
13
PC
13
PC
PC
13
PA15
PA15
PA15
PA15
PC11
PC11
PC11
PC11
PD0
PD0
PD0
PD0
PD2
PD2
PD2
PD2
PD3
PD3
PD3
PD3
PD5
PD5
PD5
PD5
PD7
PD7
PD7
PD7
PG10
PG10
PG10
PG10
PG12
PG12
PG12
PG12
21N22564-40S10B
21N22564-40S10B
21N22564-40S10B
21N22564-40S10B
EX
EX
EX
EXTTT_PH0
T_PH0
_PH0
_PH0
PD4
PD4
PD4
PD4
PD6
PD6
PD6
PD6
PG9
PG9
PG9
PG9
PG11
PG11
PG11
PG11
PG13
PG13
PG13
PG13
PG14
PG14
PG14
PG14
PB3
PB3
PB3
PB3
PB5
PB5
PB5
PB5
PB7
PB7
PB7
PB7
40
40
40
40
38
38
38
38
36
36
36
36
34
34
34
34
32
32
32
32
30
30
30
30
28
28
28
28
26
26
26
26
24
24
24
24
22
22
22
22
20
20
20
20
18
18
18
18
16
16
16
16
14
14
14
14
12
12
12
12
10
10
10
10
8888
6666
4444
2222
PI
2
PI
PI 2
2
PI
2
PI
PI 0
0
PI
0
PI
0
PH14
PH14
PH14
PH14
PA 13
13
PA
13
PA
PA
13
PI
1
PI 1
1
PI
1
PI
PH15
PH15
PH15
PH15
PH13
PH13
PH13
PH13
PC
PC 13
13
PC
13
PC
13
R
R
SE TTTT ####
R EEEE SE
SE
R
SE
PA 11
11
PA
11
PA
PA
11
PC 9
9
PC
9
PC
PC
9
2222
PE
PE 3
3
PE
3
PE
3
PE 5
PE
5
PE
5
PE
5
PI
8
PI
8
PI 8
8
PI
EX
X
T_
PC
14
X T_
T_ PC
PC 14
14
T_
PC
14
EEE X
EEE X
X T_
T_ PC
PC 15
15
X
T_
PC
15
EX
T_
PC
15
PI
10
PI
10
PI 10
10
PI
PF0
PF0
PF0
PF0
PF2
PF2
PF2
PF2
PI3
PI3
PI3
PI3
PA14
PA14
PA14
PA14
PC10
PC10
PC10
PC10
PC12
PC12
PC12
PC12
PD1
PD1
PD1
PD1
CX
CX
CX
CX1111
33pF
33pF
33pF
33pF
EMU
EMU
EMU
EMU_5V
_5V
_5V
_5V
3333
EMU
EMU
EMU
EMU_5V
_5V
_5V
_5V
(T
(T
(T
op)
op)
op)
op)
CN
CN
CN
CN3333(T
21N22564-50S10B
21N22564-50S10B
21N22564-50S10B
21N22564-50S10B
APP_3V
APP_3V
APP_3V
APP_3V3333
AF
VVVVREF
REF
REF
REF++++
PC 2
2
PC
2
PC
PC
2
PF5
PF5
PF5
PF5
PF7
PF7
PF7
PF7
PF9
PF9
PF9
PF9
X T_
T_ PH
PH 0
0
EEEE X
PH
0
X
T_
X
T_
PH
0
PC
PC
0
PC 0
0
PC
0
PC
PC 1
1
PC
1
PC
1
PC 3
PC
3
PC
3
PC
3
PA
0
PA
0
PA 0
0
PA
PA 2
2
PA
2
PA
PA
2
CN
CN
CN
CN4444(Lef
(Lef
(Lef
(Lef
t)t)t)t)
D
PA
PA 12
12
PA
12
PA
12
PA
10
PA
10
PA 10
10
PA
PA
8
PA 8
8
PA
8
PA
PC
PC 8
8
PC
8
PC
8
PC
7
PC
7
PC 7
7
PC
PG 8
PG
8
PG
8
PG
8
PG
PG
6
PG 6
6
PG
6
PG
4
PG 4
4
PG
4
PG
PG 2
2
PG
2
PG
PG
2
PC 6
PC
6
PC
6
PC
6
PG 7
7
PG
7
PG
PG
7
PG 5
5
PG
5
PG
PG
5
PG 3
3
PG
PG
3
PG
3
PD15
PD15
PD15
PD15
PD14
PD14
PD14
PD14
PD12
PD12
PD12
PD12
PD10
PD10
PD10
PD10
PD8
PD8
PD8
PD8
PI
PI 9
9
PI
9
PI
9
PI
11
PI
11
PI 11
11
PI
PF1
PF1
PF1
PF1
PF3
PF3
PF3
PF3
PF4
PF4
PF4
PF4
PF6
PF6
PF6
PF6
PF8
PF8
PF8
PF8
PF10
PF10
PF10
PF10
EX
X T_
T_ PH
PH 1
1
X
T_
PH
1
EEE X
T_
PH
1
EMU
EMU
EMU
EMU_3V
_3V
_3V
_3V3333
EMU
EMU
EMU
EMU_5V
_5V
_5V
_5V
3333
(Buttom)
(Buttom)
(Buttom)
CN
CN
CN
CN1111(Buttom)
21N22564-50S10B
21N22564-50S10B
21N22564-50S10B
21N22564-50S10B
APP_3V
APP_3V
APP_3V
APP_3V3333
EMU
EMU
EMU
EMU_3V
_3V
_3V
_3V3333
PB 13
13
PB
13
PB
PB
13
PH12
PH12
PH12
PH12
PA
1
PA
1
PA 1
1
PA
PH2
PH2
PH2
PH2
PH3
PH3
PH3
PH3
PH5
PH5
PH5
PH5
AAAA
2222
PD13
PD13
PD13
PD13
PD11
PD11
PD11
PD11
PD9
PD9
PD9
PD9
PB
15
PB 15
15
PB
15
PB
PB 14
14
PB
14
PB
PB
14
PB 12
12
PB
12
PB
PB
12
2
2
2
2
4
4
4
4
6
6
6
6
8
8
8
8
10
10
10
10
12
12
12
12
14
14
14
14
16
16
16
16
18
18
18
18
20
20
20
20
22
22
22
22
24
24
24
24
26
26
26
26
28
28
28
28
30
30
30
30
32
32
32
32
34
34
34
34
36
36
36
36
38
38
38
38
40
40
40
40
42
42
42
42
44
44
44
44
46
46
46
46
48
48
48
48
50
50
50
50
1
1
1
1
3
3
3
3
5
5
5
5
7
7
7
7
9
9
9
9
11
11
11
11
13
13
13
13
15
15
15
15
17
17
17
17
19
19
19
19
21
21
21
21
23
23
23
23
25
25
25
25
27
27
27
27
29
29
29
29
31
31
31
31
33
33
33
33
35
35
35
35
37
37
37
37
39
39
39
39
41
41
41
41
43
43
43
43
45
45
45
45
47
47
47
47
49
49
49
49
2
2
2
2
4
4
4
4
6
6
6
6
8
8
8
8
10
10
10
10
12
12
12
12
14
14
14
14
16
16
16
16
18
18
18
18
20
20
20
20
22
22
22
22
24
24
24
24
26
26
26
26
28
28
28
28
30
30
30
30
32
32
32
32
34
34
34
34
36
36
36
36
38
38
38
38
40
40
40
40
42
42
42
42
44
44
44
44
46
46
46
46
48
48
48
48
50
50
50
50
1
1
1
1
3
3
3
3
5
5
5
5
7
7
7
7
9
9
9
9
11
11
11
11
13
13
13
13
15
15
15
15
17
17
17
17
19
19
19
19
21
21
21
21
23
23
23
23
25
25
25
25
27
27
27
27
29
29
29
29
31
31
31
31
33
33
33
33
35
35
35
35
37
37
37
37
39
39
39
39
41
41
41
41
43
43
43
43
45
45
45
45
47
47
47
47
49
49
49
49
Doc ID 022138 Rev 1
PH4
PH4
PH4
PH4
1111
EMU
EMU
EMU
EMU_5V
_5V
_5V
_5V
T
APP_V
APP_V
APP_V
APP_VCC
CC
CC
CC
39
39
39
39
37
37
37
37
35
35
35
35
33
33
33
33
31
31
31
31
29
29
29
29
27
27
27
27
25
25
25
25
23
23
23
23
21
21
21
21
19
19
19
19
17
17
17
17
15
15
15
15
13
13
13
13
11
11
11
11
9999
7777
5555
3333
1111
PF14
PF14
PF14
PF14
PF12
PF12
PF12
PF12
PB2
PB2
PB2
PB2
PB0
PB0
PB0
PB0
PC5
PC5
PC5
PC5
PA7
PA7
PA7
PA7
PA5
PA5
PA5
PA5
PA3
PA3
PA3
PA3
PH9
PH9
PH9
PH9
PH7
PH7
PH7
PH7
PB11
PB11
PB11
PB11
PE15
PE15
PE15
PE15
PE14
PE14
PE14
PE14
PE12
PE12
PE12
PE12
PE10
PE10
PE10
PE10
PE8
PE8
PE8
PE8
PG1
PG1
PG1
PG1
21N22564-40S10B
21N22564-40S10B
21N22564-40S10B
21N22564-40S10B
40
40
40
40
38
38
38
38
36
36
36
36
34
34
34
34
32
32
32
32
30
30
30
30
28
28
28
28
26
26
26
26
24
24
24
24
22
22
22
22
20
20
20
20
18
18
18
18
16
16
16
16
14
14
14
14
12
12
12
12
10
10
10
10
8888
6666
4444
2222
CN
CN
CN
CN2222(Rig
(Rig
(Rig
(Rig
ht)
ht)
ht)
ht)
BO
BO
BO
BOOT
OT
OT
OT
0000
RES
RES
RES
RESET
ET
ET
ET####
PI[0..11]
PI[0..11]
PI[0..11]
PI[0..11]
PH[0..15]
PH[0..15]
PH[0..15]
PH[0..15]
PG[0..15]
PG[0..15]
PG[0..15]
PG[0..15]
PF[0..15]
PF[0..15]
PF[0..15]
PF[0..15]
PE[
PE[
PE[
PE[0..15]
0..15]
0..15]
0..15]
PD[0..15]
PD[0..15]
PD[0..15]
PD[0..15]
PC[
PC[
PC[
PC[
0..15]
0..15]
0..15]
0..15]
PB[
PB[
PB[
PB[0..15]
0..15]
0..15]
0..15]
PA[0..15]
PA[0..15]
PA[0..15]
PA[0..15]
RES
RES
RES
RESET
ET
ET
ET####
PI[0..11]
PI[0..11]
PI[0..11]
PI[0..11]
PH[0..15]
PH[0..15]
PH[0..15]
PH[0..15]
PG[0..15]
PG[0..15]
PG[0..15]
PG[0..15]
PF[0..15]
PF[0..15]
PF[0..15]
PF[0..15]
PE[
PE[
PE[
PE[0..15]
0..15]
0..15]
0..15]
PD[0..15]
PD[0..15]
PD[0..15]
PD[0..15]
PC[
PC[
PC[
PC[
0..15]
0..15]
0..15]
0..15]
PB[
PB[
PB[
PB[0..15]
0..15]
0..15]
0..15]
PA[0..15]
PA[0..15]
PA[0..15]
PA[0..15]
BO
BO
BO
BOOT
OT
OT
OT
0000
4444
Date:
Date:
Date:8/15/2011
Number:
Number:
Number:
Number:
Rev:
Rev:
Rev:CCCC
MB
MB
MB
MB
786
786
786
786 Rev:
.1.1.1.1
(P
(P
(P
(PCCCC
BBBB
.SC
.SC
.SC
.SCH)
H)
H)
H) Date:
8/15/2011
8/15/2011
8/15/2011
Sheet
Sheet
Sheet
Sheet
of
of
of
19
19
19
19of
20
20
20
20
STM3
STM3
STM3
STM32222 20-21-45-46
STM32
20-21-45-46
20-21-45-46
20-21-45-46
20-21-45-46 G-E
G-E
G-E
G-EVAL
VAL
VAL
VAL Extension
Extension
Extension
Extension connector
connector
connector
connector
TTTitle:
Title:
itle:
itle:
SSSTMicroelectronics
TMicroelectronics
TMicroelectronics
PC4
PC4
PC4
PC4
PA6
PA6
PA6
PA6
PA4
PA4
PA4
PA4
PE13
PE13
PE13
PE13
PE11
PE11
PE11
PE11
PE9
PE9
PE9
PE9
PE7
PE7
PE7
PE7
PG0
PG0
PG0
PG0
PF15
PF15
PF15
PF15
PF13
PF13
PF13
PF13
PF11
PF11
PF11
PF11
PB1
PB1
PB1
PB1
PH11
PH11
PH11
PH11
PH10
PH10
PH10
PH10
PH8
PH8
PH8
PH8
PH6
PH6
PH6
PH6
PB10
PB10
PB10
PB10
APP_V
APP_V
APP_V
APP_VCC
CC
CC
CC +3V
+3V
+3V
+3V
3333 APP_3V
APP_3V
APP_3V
APP_3V3333
D5V
D5V
D5V
D5V
4444
DDDD
CCCC
BBBB
AAAA
UM1461
Schematics
Figure 35. Extension connector
61/65
D
C
B
A
100K
R1 83
1
2
3
4
0
0
2
4
1
R1 92
R1 93
+3V 3
V BA T
PC13
PC14
PC15
OSC_I N
OSC_O UT
/RS T
V SSA
V DDA
PA0
PA1
U2_T X
+3V 3
1.5K
R1 94
10 US B _DM
10 US B _DP
1
2
3
SWIM_PU_CT RL
4
5
OS C _IN
OS C _OUT 6
S TM _R S T 7
8
C137
9
100nF+3V 3 AIN_1 10
11
12
+3V 3
C136
100nF
R1 87 R1 88
[N/A]10K
C133
100nF
USB- typeB connector
V CC
DD+
GND
SHELL
SHELL
CN 21
U5V _ST _LI NK
JTA G
1
3
5
CN 17
C139
20pF
C135
100nF
S TM _JTM S _S W DIO
S TM _JTC K _S W C LK
+3V 3
8MH z
C138
X5
20pF 1
2
C134
100nF
R1 91
36K
2
R1 89
10K
U5V _ST _LI NK
100K
R1 84
T2
9013
+3V 3
2
+3V 3
V DD_2
V SS_2
JTMS
PA12
PA11
PA10
PA9
PA8
S2_MOSI
S2_MI SO
S2_CK
PB12
USB
MCU
T_ JTM S
T_ JTC K
T_ S W DIO_IN
MCO
S TM _JTM S _S W DIO
US B _DP
US B _DM
T_ S W O
LE D_S TL INK
+3V 3
R
36
35
34
33
32
31
30
29
28
27
26
25
U15
ST M32F103C8T 6
2
D
100K
T _J T C K
T _J T D O
T _J T D I
T _NR S T
T _J R S T
AF
LE D_S TL INK
3
R2 01
100
+3V 3
R1 90
0
4
4K 7
R1 86
AIN_1
Rev: C .1 (P C B .SC H)
4
Date: 8/15/2011
Sheet20 of
20
JT AG
STM32 20-21-45-46 G-EVAL ST-LINK/V2
Number:MB 786
T itle:
4K 7
R1 85
T MS /SWDIO
RES ET #
T RS T
T DI
T CK /SWCLK
T DO/SWO
+3V 3
STMicroelectronics
LD 10
HSMF -A 201-A00J1
Yellow
R2 02
100
T
Red
T_ JTD O
T_ S W O
T_ S W DIO_IN
T_ JTM S
T_ NR S T
T_ JR S T
T_ JTD I
T_ JTC K
3
2
1
R1 82
S T M_J T C K _S W C LK
48
47
46
45
44
43
42
41
40
39
38
37
V DD_3
V SS _3
PB 9
PB 8
B OOT 0
PB 7
PB 6
PB 5
JN R ST
JT DO
JT DI
JT C K
U 2_R X
U 2_C K
S1_C K
S1_M I SO
S1_M OSI
PB 0
PB 1
PB 2/BOOT 1
PB 10
PB 11
V SS _1
V DD_1
13
14
15
16
17
18
19
20
21
22
23
24
3
Doc ID 022138 Rev 1
1
3
62/65
4
+3V 3
1
D
C
B
A
Schematics
UM1461
Figure 36. STLINK/V2
Doc ID 022138 Rev 1
D
C
B
A
SDO
SDI
22
23
24
25
26
27
28
29
30
1
2
3
4
5
1
XL
XR
YD
YU
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
31
32
33
34
14
15
16
17
18
19
20
21
6
7
8
9
10
11
12
13
BLVDD
XL
XR
YD
YU
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
BLGND
4.7uH(1A)
L1
D
2
8
1
7
3
9
STLD40DPMR
SW
Vo
Vi
NC
EN
GND
FB
PGND Rset
U1
STPS1L40M
Z1
4
2
6
5
2
C1
4.7uF/50V
BLGND
R7
10
36
37
38
39
10
12
32
SDO
SDI
#RESET
A
K
IM1
IM3
IM0/ID
8
9
7
YU
YD
XR
XL
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
D16
D17
5
4
3
2
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
10K
RP6
VDD
FF0245SS1
AM-240320D4TOQW-T00H(R)
LED_A
LED_K
VSS
VSS
VSS
VSS
VCC
VCC
RESET
SDO
SDI
CS
WR/SCL
RD
RS
NC
HSYNC
Enable
VSYNC
DotClk
44
43
6
42
45
1
40
41
31
34
35
33
11
CS
WR
RD
RS
VDD
VSYNC
HSYNC
DOTCLK
ENABLE
CN2
3
4K7
4K7
R2
R3
VDD
PD8
PD6
PD4
PD2
PD16
PD14
PD12
PD10
0
10K
10K
RP5
10K
RP4
10K
RP3
10K
RP2
RP1
4
Rev: A.1(PCB.SCH)
4
Date: 3/27/2009
Sheet 1
of
1
3.2" LCD module with both SPI & 16bit interface
Number:MB785
Title:
STMicroelectronics
PD7
PD5
PD3
PD1
PD17
PD15
PD13
PD11
PD9
PD0
RS
RD
R4
Soldered for Serial interface only
SDO
SDI
10K
R1
Soldered for i80-system 16-bit interface
T
YU
YD
XR
XL
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
3
C3
1uF/50V
AF
VSYNC
HSYNC
DotClk
Enable
R
BLGND
R6
100K
The 34-pin connector to mother board for both
serial & 16bit interface. Compatible with
MB694 with Touch screen signals added on
Pin 31-34.
R8
do not fit
BL_Control R5
0
BLGND
C2
2.2uF
BLVDD
3.2LCD_connector
BL_GND
BL_Control
VDD
VCI
GND
GND
BL_VDD
SDO
SDI
CS
RS
WR/SCL
RD
RESET
CN1
LCD board connector to Mother board
BLVDD
VDD
BL_Control
BLGND
CS
RS
WR
RD
#RESET
1
D
C
B
A
UM1461
Schematics
Figure 37. 3.2” LCD module with SPI and 16-bit interface
63/65
Revision history
5
UM1461
Revision history
Table 34.
Document revision history
Date
Revision
02-Sept-2011
1d
Changes
D
R
AF
T
Initial release.
64/65
Doc ID 022138 Rev 1
UM1461
Please Read Carefully:
T
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.
All ST products are sold pursuant to ST’s terms and conditions of sale.
AF
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
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.
R
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, 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.
D
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2011 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
Doc ID 022138 Rev 1
65/65