UM1057
User manual
STM3220G-EVAL evaluation board
Introduction
The STM3220G-EVAL evaluation board is a complete demonstration and development
platform for the STM32 F-2 series and includes an embedded STM32F207IGH6 highperformance ARM®Cortex™-M3 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.
STM3220G-EVAL evaluation board
D
R
Figure 1.
AF
The in-circuit ST-LINK tool can be easily used for JTAG and SWD interface debugging and
programming.
15 April 2011
Doc ID 018499 Rev 1
1/64
www.st.com
Contents
UM1057
Contents
3
2/64
1.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2
Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3
Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4
Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5
Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6
EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.7
CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.8
RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.9
Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.10
Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.11
MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.12
MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.13
Potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.14
ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.15
USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.16
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.17
USB OTG HS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.18
Camera module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.19
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.20
Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.21
Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
AF
T
2.1
R
2
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
D
1
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1
Daughter board extension connectors CN1, 2, 3 and 4 . . . . . . . . . . . . . . 20
3.2
Motor control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Doc ID 018499 Rev 1
UM1057
Contents
MicroSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.4
Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.5
USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.6
USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.7
CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2) . . . . . . . . . . 30
3.8
Audio connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.9
Trace debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.10
JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.11
Camera module connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.12
RS-232 connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.13
Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.14
TFT LCD connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.15
Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.16
ST-LINK/V2 connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.17
Camera extension connector CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
AF
T
3.3
Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
D
R
4
Doc ID 018499 Rev 1
3/64
Overview
UM1057
1
Overview
1.1
Features
1.2
STM32F207IGT6 microcontroller
■
16 Mbit SRAM
■
1 Gbyte or more MicroSD card
■
Boot from user Flash, system memory or SRAM
■
Both ISO/IEC 14443 type A and B smartcard support
■
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, SW 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
■
MCU consumption measurement circuit
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 STM3220G-EVAL demonstration software available on web:
www.st.com/mcu
1.3
Order code
To order the STM32F207IGT6 MCU evaluation board, use the order code STM3220GEVAL.
4/64
Doc ID 018499 Rev 1
UM1057
Hardware layout and configuration
R
AF
T
The STM3220G-EVAL evaluation board is designed around the STM32F207IGH6 in the
UFBGA176 package. The hardware block diagram Figure 2 illustrates the connection
between STM32F207IGH6 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.
D
2
Hardware layout and configuration
Doc ID 018499 Rev 1
5/64
Hardware layout and configuration
Figure 2.
UM1057
Hardware layout and configuration
1.8V regulator
USB power
switch
2.5V regulator
USB HS
PHY
OTG HS
2.8V regulator
ADC
3.3V regulator
USBMicro-AB
connector
Microphone
Amplifier
Audio Jack
DAC
T
I2S2
Audio DAC
LEDs,Key
GPIO
R
FSMC
DCMI
MC control
connector
EEPROM
Joystick
I/O
expander
D
SDIO
MC
Touchscreen
Camera
module
Camera extension
connector
USB Micro-AB
connector
OTG FS
USB power
switch
TFT LCD
MicroSD
card
MEMS
STM32F207IGH6
Extension
connector for
GPIOs
SRAM
AF
I2C1
MII/RMII
PHY
Integrated RJ45
connector
CAN1
CAN
transceiver
CAN
DB9 connector
RS232
transceiver
RS232
DB9 connector
CAN2
JTAG
Debug
Trace
USART3
IrDA
transceiver
ST-LINK/V2
Potentiometer
ADC
USART6
Smartcard
interface
Smartcard
connector
MS19169V1
6/64
Doc ID 018499 Rev 1
UM1057
Figure 3.
Hardware layout and configuration
STM3220G-EVAL evaluation board layout
CN6
MicroSD card
U16
STM32F207IGH6
CN5
Motor control
CN7
RJ45
connector
U11
IrDA
CN8
USB OTG FS
CN9
USB OTG HS
CN10
CAN
CN13
Trace
AF
CN1 - CN4
Extension
CONNECTOR $4"
CN14
JTAG
CN19
Color LCD
CN15
Camera module
R
CN11
Audio jack
CN23
Camera extension
connector
D
CN18
5V power jack
RV1
Potentiometer
CN21
ST-LINK/V2
T
CN16
USART
B4
B1
Reset
B2
Wakeup
CN20
Smartcard
B3
Tamper
Doc ID 018499 Rev 1
U32 User key
Joystick
MS 1917 0V2
7/64
Hardware layout and configuration
2.1
UM1057
Power supply
STM3220G-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 JP18, 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
Jumper reserved for future use (RFU). It should be left open.
Default setting: Not 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
D
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
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:
8/64
Doc ID 018499 Rev 1
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
UM1057
Hardware layout and configuration
Table 1.
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
STM3220G-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 STM3220G-EVAL evaluation board is powered by the 5V
correctly.
2.2
Boot option
D
Note:
The STM3220G-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.
Boot related jumpers
BOOT 0
BOOT 1
Boot source
0
Don’t care
1
1
STM3220G-EVAL boots from Embedded SRAM
1
0
STM3220G-EVAL boots from System Memory
STM3220G-EVAL boots from User Flash (Default setting)
Doc ID 018499 Rev 1
9/64
Hardware layout and configuration
2.3
UM1057
Clock source
Four clock sources are available on STM3220G-EVAL evaluation board for
STM32F207IGH6 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 STM32F207IGH6 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 STM3220G-EVAL evaluation board is low active and the reset sources
include:
Audio
Table 3.
D
R
The STM3220G-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 STM32F207IGH6. 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 14.
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 STM32F207IGH6.
Table 4.
EEPROM related jumper and solder bridge
Jumper
JP24
10/64
Description
The EEPROM is in Write Protection mode when JP24 is fitted.
Default Setting: Not fitted
Doc ID 018499 Rev 1
UM1057
2.7
Hardware layout and configuration
CAN
STM3220G-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 STM32F207IGH6 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 STM32F207IGH6 on
STM3220G-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.
Doc ID 018499 Rev 1
11/64
Hardware layout and configuration
Table 6.
UM1057
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.
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.
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
2.9
JP29
Motor control
AF
STM3220G-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.
12/64
Motor control solder bridges
D
Table 7.
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 018499 Rev 1
Multiplexed
peripherals
Camera module
connected to
CN15
UM1057
Hardware layout and configuration
Table 7.
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
Smartcard
STMicroelectronics smartcard interface chip ST8024 is used on STM3220G-EVAL board for
asynchronous 3V and 5V smartcards. It performs all supply protection and control functions
based on the connections with STM32F207IGH6 listed in Table 8:
Table 8.
R
2.10
MicroSD card must be removed from CN6 for motor control application.
Connection between ST8024 and STM32F207IGH6
Connect to
D
2
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
Description
Start activation sequence input (Active
Low), share same pin with I2S DAC and
Motor control
Doc ID 018499 Rev 1
STM32F207IGH6
PG12
13/64
Hardware layout and configuration
UM1057
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 STM32F207IGH6 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 STM32F207IGH6 on the board.
Potentiometer
There is one 10K ohm potentiometer RV1 connected to PF9 of STM32F207IGH6 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 STM32F207IGH6. 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 to be configured as output low during
analog precision measurement.
14/64
Doc ID 018499 Rev 1
UM1057
2.15
Hardware layout and configuration
USB OTG FS
STM3220G-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 STM3220G-EVAL functions as
a USB host or that the VBUS is powered by another USB host while STM3220G-EVAL
functions as a USB device. The LED LD5 indicates an over-current.
2.16
Ethernet
STM3220G-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:
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
(Default setting).
SB1 is used to select clock source only for RMII mode.
To connect the clock from MCO to RMII_REF_CLK, close SB1.
The resistor R212 has to be removed in this case.
Default setting: Open
1
A test point (TP2) is available on the board for the PTP_PPS feature test.
2
The Ethernet PHYU5 can be powered down by regulating PB14.
Doc ID 018499 Rev 1
15/64
Hardware layout and configuration
2.17
UM1057
USB OTG HS
The STM3220G-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 STM3220G-EVAL is working as a
USB host or that VBUS is powered by another USB host when STM3220G-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
D
R
AF
T
JP31
16/64
Doc ID 018499 Rev 1
UM1057
2.18
Hardware layout and configuration
Camera module
A 1.3 megapixel camera module is connected to DCMI bus of STM32F207IGH6 and shares
the same I/Os with the motor control connector. SB16 must be kept open for camera module
application.
Table 13.
Camera module related jumpers
Jumper
JP26
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.
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).
T
1
Pin 1 camera plug
R
Figure 4.
AF
It is not recommended to remove it in order to avoid false contact later.
D
Note:
Description
The camera extension connector CN23 is available on the boards to connect the ST camera
plug-in board.
Doc ID 018499 Rev 1
17/64
Hardware layout and configuration
2.19
UM1057
SRAM
The 16 Mbit SRAM is connected to FSMC bus of STM32F207IGH6 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
T
Connect PE3 to trace connector CN13 as TRACE_D0 by setting
JP2 as shown:
1 2 3
1 2 3
1 2 3
Development and debug support
AF
2.20
1 2 3
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.
R
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).
Note:
18/64
D
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 power-on before USB initialization
●
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
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 018499 Rev 1
UM1057
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 15.
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 018499 Rev 1
19/64
Connectors
UM1057
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 STM3220G-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 STM3220G-EVAL evaluation board. Please refer to
Table 16 and Table 19 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
20/64
How to disconnect with
function block on
STM3220G-EVAL board
Alternative function
T
Table 16.
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 018499 Rev 1
UM1057
Connectors
Table 16.
Daughter board extension connector CN1 (continued)
Pin
Description
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
-
-
Table 17.
Pin
How to disconnect with
function block on
STM3220G-EVAL board
Alternative function
Daughterboard extension connector CN2
Descripti
on
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
1
GND
-
-
3
PA3
ULPI_D0
-
5
PA5
ULPI_CLK
Remove R69
7
PA7
MII_RX_DV
Remove RS2, JP8 open
Doc ID 018499 Rev 1
21/64
Connectors
UM1057
Table 17.
Pin
Descripti
on
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
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
-
4
PA4
6
PA6
8
PC4
R
AF
T
9
-
-
Audio_DAC_OUT
Remove R115
DCMI_PIXCK
Remove camera module from CN15
MII_RXD0
Remove RS2
D
10
GND
-
-
PB1
ULPI_D2
-
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
-
28
PE13
FSMC_D10
-
30
GND
-
-
32
PB10
ULPI_D3
-
34
PH6
MII_RXD2
Remove RS5
12
14
22/64
Daughterboard extension connector CN2 (continued)
Doc ID 018499 Rev 1
UM1057
Connectors
Table 17.
Daughterboard extension connector CN2 (continued)
Pin
Descripti
on
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.
Table 18.
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
Daughter board extension connector CN3
How to disconnect with function block on
STM3220G-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
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
-
37
PD8
FSMC_D13
-
39
GND
-
-
41
PB13
ULPI_D6 & CAN2_TX -
D
R
AF
T
Description Alternative Function
Pin
Doc ID 018499 Rev 1
-
23/64
Connectors
UM1057
Table 18.
Daughter board extension connector CN3 (continued)
Description Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
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
-
-
48
APP_3V3
-
-
50
GND
-
-
AF
-
R
D
24/64
T
Pin
Doc ID 018499 Rev 1
UM1057
Connectors
Table 19.
Pin
Daughter board extension connector CN4
Description
Alternative Function
How to disconnect with function block on
STM3220G-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
MII_TXD3 & MC
Remove RS5
SB10 open
Disconnect motor control board from CN5.
11
BOOT0
BOOT0
-
13
PB6
I2C1_SCL
15
PB4
TRST
17
PG15
User button
19
GND
21
PG12
23
PG10
25
PD7
27
PD5
29
PD3
31
PD2
33
PD0
AF
T
1
-
-
Remove R150
-
Smartcard_CMDVCC &
Remove R128
CLD_VSYNC
FSMC_NE3
Remove LCD board MB785 from CN19
FSMC_NE1
Remove R52
FSMC_NWE
-
R
D
Remove R103
FSMC_CLK
-
MicroSDCard_CMD
-
FSMC_D2 & CAN1_RX JP10 open
PC11
MicroSDCard_D3 &
RS232/IrDA_RX
JP22 open
Remove MicroSD card from CN6
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
6
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
-
35
37
Doc ID 018499 Rev 1
25/64
Connectors
UM1057
Table 19.
Daughter board extension connector CN4
Pin
How to disconnect with function block on
STM3220G-EVAL board
Alternative Function
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
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
Remove MicroSD card from CN6
38
PA14
TCK/SWCLK
-
40
PI3
I2S_DIN
T
18
-
AF
3.2
Description
Motor control connector CN5
Figure 5.
Motor Control connector CN5
D
R
Table 20.
Motor Control connector CN5
Description
26/64
6IEWEDFROMABOVE0#"
STM32F207IGH6
pin
Pin
number
of CN5
Pin
number
of CN5
STM32F207IGH6
pin
Description
EMERGENCY
STOP
PI4
1
2
GND
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
Doc ID 018499 Rev 1
UM1057
Connectors
Table 20.
Motor Control connector CN5 (continued)
pin
Pin
number
of CN5
Pin
number
of CN5
STM32F207IGH6
pin
Description
PC4
BUS
VOLTAGE
PWM-WL
PH15
13
14
PHASE A
CURRENT
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
+5V power
+5V
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
24
25
26
GND
Heatsink
temperature
PC5
Encoder
Index
PB8
R
AF
23
MicroSD connector CN6
Figure 6.
MicroSD connector CN6
D
3.3
STM32F207IGH6
T
Description
'SPOUWJFX
-3
Table 21.
MicroSD connector CN6
Pin number
Description
Pin number
Description
1
SDIO_D2 (PC10)
5
SDIO_CLK (PC12)
2
SDIO_D3 (PC11)
6
Vss/GND
Doc ID 018499 Rev 1
27/64
Connectors
UM1057
Table 21.
MicroSD connector CN6 (continued)
Pin number
3.4
Description
Pin number
Description
3
SDIO_CMD (PD2)
7
SDIO_D0 (PC8)
4
+3V3
8
SDIO_D1 (PC9)
10
MicroSDcard_detect (PH13)
Ethernet RJ45 connector CN7
Figure 7.
Ethernet RJ45 connector CN7
8
AF
T
1
Front view
Table 22.
RJ45 connector CN7
Pin
number
Description
TxData+
3
Pin
number
TxData-
RxData+
4
Shield
5
Shield
6
RxData-
7
Shield
8
Shield
D
28/64
Description
2
R
1
MS19171V1
Doc ID 018499 Rev 1
UM1057
3.5
Connectors
USB OTG FS Micro-AB connector CN8
Figure 8.
USB OTG FS Micro-AB connector CN8
&RONTVIEW
Table 23.
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
MS19172V1
Table 24.
&RONTVIEW
MS19172V1
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 018499 Rev 1
29/64
Connectors
3.7
UM1057
CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2)
Figure 10. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
1 2 3 4 5
6 7 8 9
Front view
MS19173V1
Table 25.
Description
Pin number
Description
1,4,8,9
NC
7
CANH
3,5,6
GND
T
Pin number
2
CANL
Audio connector CN11
AF
3.8
CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
A 3.5mm Stereo audio jack CN11 is available on STM3220G-EVAL board to support
headset (headphone & microphone integrated).
3.9
Trace debugging connector CN13
R
Figure 11. Trace debugging connector CN13
D
19 17
Table 26.
30/64
20
15
18
13
16
14
11
9
12 10
7
8
5
3
6
4
1
2
Viewed from above PCB
MS19143V2
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
Doc ID 018499 Rev 1
UM1057
Connectors
Table 26.
Pin number
Description
Pin number
Description
15
GND
16
TraceD1/PE4 or nTRST/PB4
17
GND
18
TraceD2/PE5
19
GND
20
TraceD3/PE6
JTAG debugging connector CN14
Figure 12. JTAG debugging connector CN14
20
15
18
13
16
14
11
9
7
5
3
T
19 17
12 10
8
6
4
1
2
Table 27.
AF
Viewed from above PCB
MS19143V2
JTAG debugging connector CN14
Pin number
Description
Pin number
Description
3.3V power
2
3.3V power
PB4
4
GND
PA15
6
GND
PA13
8
GND
PA14
10
GND
RTCK
12
GND
PB3
14
GND
15
RESET#
16
GND
17
DBGRQ
18
GND
19
DBGACK
20
GND
1
3
7
9
11
R
5
13
D
3.10
Trace debugging connector CN13 (continued)
Doc ID 018499 Rev 1
31/64
Connectors
3.11
UM1057
Camera module connector CN15
Figure 13. Camera module connector CN15
&RONTVIEW
Camera module connector CN15
Pin number
Description
Pin number
Description
1
DGND
13
XCLK1
2
DGND
3
SIO_D (PB9)
T
Table 28.
4
Y6(PI6)
15
DGND
AVDD (2.8V)
16
Y5(PI4)
SIO_C (PB6)
17
PCLK (PA6)
RESET
18
Y4(PH14)
VSYNC (PI5)
19
Y0 (PH9)
PWDN
20
Y3(PH12)
HREF (PH8)
21
Y1(PH10)
DVDD (1.8V)
22
Y2(PH11)
DOVDD (2.8V)
23
AGND
Y7(PI7)
24
AGND
AF
5
6
7
8
R
9
10
11
D
12
3.12
14
RS-232 connector CN16
Figure 14. RS-232 connector CN16 with ISP support
1 2 3 4 5
6 7 8 9
Front view
Table 29.
RS-232 connector CN16 with ISP support
Pin number
32/64
Description
Pin number
Description
1
NC
6
Bootloader_BOOT0
2
RS232_RX (PC11)
7
NC
3
RS232_TX (PC10)
8
Bootloader_RESET
Doc ID 018499 Rev 1
UM1057
Connectors
Table 29.
RS-232 connector CN16 with ISP support (continued)
Pin number
3.13
Description
4
NC
5
GND
Pin number
9
Description
NC
Power connector CN18
Your STM3220G-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
3.14
AF
T
'.$
-36
TFT LCD connector CN19
Smartcard connector CN20
Figure 16. Smartcard connector CN20
D
3.15
R
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.
&RONTVIEW
Table 30.
Smartcard connector CN20
Pin number
Description
Pin
number
Description
1
VCC
5
GND
2
RST
6
NC
3
CLK
7
I/O
Doc ID 018499 Rev 1
33/64
Connectors
UM1057
Table 30.
Smartcard connector CN20 (continued)
Pin number
3.16
Pin
number
Description
Description
4
NC
8
NC
17
Card presence detection pin
18
Card presence detection pin
ST-LINK/V2 connector CN21
The USB type B connector CN21 is for ST-LINK/V2 connected between the STM3220GEVAL evaluation board and the PC for board debugging.
Camera extension connector CN23
Table 31.
T
3.17
Camera extension connector CN23
Pin number
Description
+1V8
3
+1V8
GND
4
GND
5
NC
6
NC
7
GND
8
GND
9
NC
10
NC
11
GND
12
GND
13
SCL
14
SDA
Camera_Plug
16
GND
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
32
VSYSC
33
PIXCLK
34
NC
35
NC
36
NC
37
GND
38
GND
39
+2V8
40
+2V8
D
17
R
15
34/64
Description
2
AF
1
Pin number
Doc ID 018499 Rev 1
UM1057
Schematic diagrams
The following schematic diagrams are listed:
Figure 17: STM3220G-EVAL on page 36
●
Figure 18: MCU on page 37
●
Figure 19: Camera on page 38
●
Figure 20: Ethernet on page 39
●
Figure 21: Audio on page 40
●
Figure 22: USB_OTG_FS on page 41
●
Figure 23: USB_OTG_HS on page 42
●
Figure 24: SRAM and OneNAND on page 43
●
Figure 25: LCD on page 44
●
Figure 26: 3.2" LCD module with both SPI & 16bit interface on page 45
●
Figure 27: RS-232 and IrDA on page 46
●
Figure 28: CAN on page 47
●
Figure 29: I/O peripherals on page 48
●
Figure 30: I/O expander on page 49
●
Figure 31: MicroSD card on page 50
●
Figure 32: Motor control on page 51
●
Figure 33: Smartcard on page 52
●
Figure 34: JTAG and Trace on page 53
●
Figure 35: Power on page 54
●
Figure 36: Extension connector on page 55
●
Figure 37: ST-LINK/V2 on page 56
R
AF
T
●
D
4
Schematic diagrams
Doc ID 018499 Rev 1
35/64
Schematic diagrams
UM1057
Figure 17. STM3220G-EVAL
!UDIO?) .
)3?#+ ) .
- #/
)3?-#+
!UDIO?234
!UDIO?3$!
!UDIO?3#,
)3?3# +
)3?3$
)3?73
!UDIO?$!#?/54
5?%XTENSION#ONNECTOR
%XTENSION#ONNECTOR3CH$OC
"//4 5,0 )?$;=
5,0 )?34 0
)3?3# +
)3?3$
)3?73
!UDIO?$!#?/54
5,0 )?.84
5,0 )?$)2
5,0 )?#,+
#AMERA?0,5 '$#-)?0)8#+
$#- ) ?639.#
$#- ) ?(39.#
)#?3$!
)#?3#,
#AMERA?83$.
#AMERA?234
$#-) ?$;=
0OTENTIOMETER
!NTI?4A MPER
7!+%50
5SER?"UTTON
2
)#?3#,
)#?3$!
)/?%XPANDOR?) .4
#!.?48
#!.?48
#!.?28
#!.?28
$#-) ?$;=
-# /
-) ) ?-$)/
-) ) ?-$#
-) ) ?48?%.
-) ) ?48$ R
5?3 MART#ARD
3MART#ARD3CH$OC
D
3MART#ARD?/&
&
3MART#ARD?#-$6##
3MART#ARD?#,+
3MART#ARD?234
3MART#ARD?)/
3MART#ARD?6
36/64
5?#!.
#!.3CH$OC
&3-#?.%
&3-#?.%
-#?0 & #PWM
-#?$ISSIPATIV E"RAKE
-#?.4#
-#?7(
-#?5 ,
-#?5 (
-#?6 ,
-#?6 (
-#?7 ,
-#?0& #SYNC
-#?0& #SYNC
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
0OTENTIOMETER
!NTI?4A MPER
7!+ %50
5SER?"UTTON
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
%80 ?)/
&3-#?",.
&3-#?",.
&3-#?#,+
&3-#?.,
-#?%MERGENCY34/0
/NE.!.$?).4
-#?#URRENT!
&3-#?.7!)4
-#?#URRENT"
-#?#URRENT#
-#?%N!
-#?%N"
-#?(EATSINK4EMPERATURE
-#?"US6OLTAGE
-#?%N) NDEX
-#?%M ERGENCY34/0
-#?#URRENT!
-#?#URRENT"
-#?#URRENT#
-#?%N!
-#?%N"
-#?(EATSINK4EMPERATURE
-#?"US6OLTAGE
-#?%N ) NDEX
,%$
*/9?3%,
,%$
*/9?$/7.
,%$
*/9?,%&4
,%$
*/9?2)'(4
%%0 2/-?3#,
*/9?5 0
%%0 2/-?3$! -%-3?) .4
-%-3?3#, -%-3?) .4
-%-3?3$!
)/?%XPANDOR?3#+
)/?%XPANDOR?3$!
)/?%XPANDOR?)
.4
2 AF
-) ) ?48?#,+
,#$?639.#
-) ) ?28$ ,#$?(39.#
-) ) ?28?% 2
,#$?# 3
-) ) ?28?$62-)) ?#23$ 6
-) ) ?28?#,+2-)) ?2%& ?#,+
$;=
-) ) ?#/,
!;=
-) ) ?#23
&3-#?.7%
-) ) ?28$ &3-#?./ %
-) ) ?28$ &3-#?.%
-) ) ?28$ -) ) ?).4
-) ) ?48$ -) ) ?48$ -) ) ?48$ 5?-OTOR#ONTROL
-OTOR#ONTROL3CH$OC
5?) /?%XPANDOR
)/?%XPANDOR3CH$OC
5?) / 0ERIPHERALS
)/ 0ERIPHERALS3CH$OC
$#-) ?0)8#+
$#-) ?639. #
$#-) ?(39. #
-)) ?48?#,+
-)) ?28$ -)) ?28?% 2
-)) ?28?$62-)) ?#23$ 6
-)) ?28?#,+2-)) ?2%& ?#, +
-)) ?#/ ,
-)) ?#23
-)) ?28$ -)) ?28$ -)) ?28$ -)) ?).4
-)) ?48$ -)) ?48$ -)) ?48$ 2%3%4 - #/
-)) ?-$)/
-)) ?-$#
-)) ?48?%.
-)) ?48$ /4'?&3?0OWER3WITCH/N
/4'?&3?$/4'?&3?$ 0
/4'?&3?) $
/4'?&3?/VER#URRENT
,%$
,%$
,%$
,%$
5?%THERNET
%THERNET3CH$OC
-#?0 & #PWM
-#?$ISSIPATIV E"RAKE
-#?.4 #
-#?7(
-#?5 ,
-#?5 (
-#?6 ,
-#?6 (
-#?7 ,
-#?0 & #SYNC
-#?0 & #SYNC
5,0 )?.84
5,0 )?$)2
5,0 )?#,+
5?53"?/4'?&3
53"?/4'?&33CH$OC
"//4
2%3%4
0 );=
0 (;=
0 ';=
0 &;=
0 %;=
0 $;=
0 #;=
0 ";=
0 !;=
2%3%4 0 );=
0 (;=
0 ';=
0 &;=
0 %;=
0 $;=
0 #;=
0 ";=
0 !;=
5?53"?/4'?(3
53"?/4'?(33CH$O C
5,0 ) ?$;=
5,0 ) ?34 0
5?-#5
-#53CH$OC
/4'?&3?0OWER3WITCH/N
23)R$!?28
/4'?&3?$"OOTLOADER?"//4
/4'?&3?$0
"OOTLOADER?2%3%4
/4'?&3?)$
23)R$!?48
/4'?&3?/VER#URRENT
23) R$!?28
"OOTLOADER?"//4
"OOTLOADER?2%3%4
23) R$!?48
5?53!24)R$!
53!24)R$!3CH$OC
5?#AMERA CONNECTOR
#AMERA CONNECTOR3CH$OC
)3?-#+
!UDIO?) .
)3?#+ ) .
T
5?!UDIO
!UDIO3CH$OC
42!#%?$
42!#%?$
42!#%?$
42!#%?$
42!#%?#+
4$/37/
4#+ 37#,+
4-337$)/
4234
4$)
-ICRO3$#ARD?#,+
3MART#ARD?/&
&
-ICRO3$#ARD?#-$
3MART#ARD?#-$6## -ICRO3$#ARD?$
3MART#ARD?#,
+
-ICRO3$#ARD?$
3MART#ARD?234
-ICRO3$#ARD?$
3MART#ARD?)/
-ICRO3$#ARD?$
3MART#ARD?6
-ICRO3$#ARD?$ETECT
#!.?48
#!.?48
#!.?28
#!.?28
22
+ +
,#$?639.#
,#$?(39.#
,#$?# 3
2%3%4
4OUCH3CREEN?9
$;=
4OUCH3CREEN?9
!;=
4OUCH3CREEN?8
&3-#?.7% 4OUCH3CREEN?8
&3-#?./%
& 3-#?.%
0 #;=
6
4OUCH3CREEN?9
4OUCH3CREEN?9
4OUCH3CREEN?8
4OUCH3CREEN?8
5?, #$
,#$3CH$OC
5?32!-/NE.!.$
32!-/NE.!.$3CH$OC
!;=
$;=
& 3-#?.%
& 3-#?.%
& 3-#?.7%
&3-#?./ %
& 3-#?",. & 3-#?",. & 3-#?#,+
&3-#?.,
/NE.!.$?).4
& 3-#?.7!)4
4-337$)/
4$/37/
4$)
4234
4#+ 37#,+
5?34?, ) . +
34?,) . + 3#($/ #
2%3%4
5?*4!'4RACE
*4!'4RACE3CH$OC
42!#%?$
42!#%?$
42!#%?$
42!#%?$
42!#%?#+
4$/37/
4#+37#,+
4-337$)/
4234
2%3%4
4$)
5?0OWER
0OWER3CH$OC
5?-ICRO3$#ARD
-ICRO3$#ARD3CH$OC
-ICRO3$#ARD?#,+
-ICRO3$#ARD?#-$
-ICRO3$#ARD?$
-ICRO3$#ARD?$
-ICRO3$#ARD?$
-ICRO3$#ARD?$
-ICRO3$#ARD?$ETECT
4ITLE
34- '%6!,
.UMBER-"
Doc ID 018499 Rev 1
2EV "0#"3#(
-36
R205
[N/A]
R58
I2S_CK
IN
MicroSDCard_D1
CAN1_TX
CAN1_R
X
R86
390
JP16
2
C72
20pF
C73
20pF
1
3
4
BOOT0
C71
6.8pF
R85
0
D[0..15]
A[0..20]
A16
A17
A18
100nF
C123
RESET
RESET#
4
3
do not fit
+3V3
R137
MC306- G-06Q-32.768 (manufacturer JF
VNY)
B1
1
2
X3
D[0..15]
A[0..20]
C70 2
6.8pF
R84
0
SB15
SB14
25MHz (with socket)
X4
MC_EnA
3
1
MicroSDCard_CMD
FSMC_CL
K
FSMC_NOE
FSMC_NWE
FSMC_NWAIT
FSMC_NE1
MCO2
MicroSDCard_CLK
Anti_Tamper
TP15
JP21
LED4
ULPI _STP
[N/A]
0
SB12
RS232/IrDA_RX
MC_EnB
R66
R51
MII _INT
OneNAND_INT
SB11
I2C1_SD
A
I2C1_SCL
FSMC_NL
Audio_DAC_OUT
ULPI _CLK
DCMI _PIXCK
MII _RX_DV/RMII_CRSD
V
MCO
VBUS_FS
OTG_FS_ID
OTG_FS_DM
OTG_FS_DP
TMS/SWDIO
TCK /SWCLK
+3V3
TDI
1 SW1
2
3
R88
10K
09.03290.01
TDO/SWO
TRST
MicroSDCard_D2
RS232/IrDA_TX
MicroSDCard_D3
I2S_MCK
SmartCard_IO
MicroSDCard_D0
MC_Dissipativ eBrake
MC_CurrentB
MII _TXD2
MC_CurrentC
MII _TX_CLK
0
0
SB10
R204
[N/A]
R34
MC_CurrentA
MII _MDC
CAN2_TX
MC_HeatsinkTemperature
MII _RXD1
MC_BusVoltage
MII _RXD0
MII _TXD3
MC_EnI ndex
CAN2_R
X
MCO1
WAK EUP
MII _RX_CLK/RMII _REF _CLK
MII _MDIO
ULPI _D[0..7]
2
M2
M3
M4
M5
N5
P5
H15
G15
G14
F14
B14
B13
A12
D1
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
JP34
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
STM32F 207IGH6
STM32F 217IGH6
STM32F 457IGH6
STM32F 467IGH6
NRST
BOOT0
PC14
PC15
PH0
PH1
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
Bootloader_RESET
E4
E3
D3
D2
C2
C3
C4
D4
C13
C14
D14
E14
D13
E13
E12
K12
L12
L13
M13
M12
N12
M11
J4
H4
G4
F4
B7
A7
A8
B8
B9
B10
C10
H14
J14
J15
K13
K14
K15
L15
M7
N7
P7
R7
N6
P6
R6
L1
L2
L3
K1
K2
K3
J3
J2
H2
H3
E2
R11
P11
N11
R10
P10
R9
P9
P8
R8
B3
B2
B1
A1
A2
A3
A4
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
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
PE2
PE1
PE0
PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
R
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
U16A
Bootloader_BOOT0
D1
BAT60JF
ILM
JP29
E1
F1
PC14
PC15
J1
D6
G1
H1
B12
C12
D12
D11
D10
C11
B11
A11
P15
P14
N15
N14
N13
M15
M14
L14
PH0
PH1
CPUCK
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
TP16
SW2
09.03290.01
BAT60JF
ILM
D2
+3V3
D0
D1
D13
D14
D15
D2
D3
ULPI _D3
ULPI _D4
ULPI _D5
ULPI _D6
ULPI _D7
BOOT0
R89
10K
R5
R4
M6
A10
A9
A6
B6
B5
A5
B4
R12
R13
P12
P13
R14
R15
PA10
PA11
PA12
PA13
PA14
PA15
D
ULPI _D1
ULPI _D2
ULPI _D0
N3
N2
P2
R2
N4
P4
P3
R3
F15
E15
D15
C15
B15
A15
A14
A13
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
A19
A20
DCMI _D5
DCMI _D7
DCMI _D6
DCMI _D3
DCMI _D2
DCMI _D1
DCMI _D0
DCMI _D4
A15
A14
A13
A12
A11
A10
DCMI _D[0..7]
I2S_SD
IO_Expandor_I
NT
I2S_SC
K
I2S_WS
ULPI _DIR
MII _RX_E
R
LED3
LCD_HSYN
C
MII _RXD3
MII _RXD2
OTG_FS_PowerSwitchOn
ULPI _NXT
MII _COL
MII _CRS
MII _TX_EN
FSMC_NE3
FSMC_NE2
LED2
SmartCard_CL
K
LED1
User_Button
MII _TXD1
MII _TXD0
OTG_FS_OverCurrent
Audio_IN
Potentiometer
LCD_CS
SmartCard_RST
SmartCard_OF
F
TRACE_CK
FSMC_B
L N1
FSMC_B
L N0
TRACE_D
3
TRACE_D
2
1
PE3
PE4
TRACE_D
0
TRACE_D
1
T
DCMI _D[0..7]
MC_EmergencySTOP
MC_WH
MC_VH
MC_UH
DCMI _VSYN
C
MC_VL
MC_UL
MicroSDCard_Detect
MC_PF Cpwm
MC_PF Csync1
MC_PF Csync2
MC_NTC
DCMI _HSYNC
MC_WL
SmartCard_3/5V
SmartCard_CMDVCC
LCD_VSYN
C
JP2
1
JP1
3
SB16
2
2
3
IOs Multiplexed
AF
A5
A4
A3
A2
A1
A0
A9
A8
A7
A6
D12
D11
D10
D9
D8
D7
D6
D5
D4
VDDA
C75
1uF
C69
100nF
VREF
+
+3V3
STM32F 207IFT6
CR1220holder
BT1
JP19
P1
R1
C1
VDD_SA
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD VSS_S
A
VDD
VREF
VDD
BYP ASS_RE
G
RFU
VREF
+ VSSA
VDDA VCAP
VBAT VCAP
U16B
L4
C6
M1
F13
M10
F2
G2
M8
M9
H12
G12
F12
D9
D8
D7
D5
N1
C50
2.2uF
C33
2.2uF
R71
10K
JP4
Optional
R81
10K
+3V3
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
Rev: B.1(PCB.SCH)
C58
4.7uF
-36
STM32 20-21-45-46 G-EVALMCU
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]
C34
C67
C54
C60
C48
C37
C35
100nF 100nF 100nF 100nF 100nF 100nF 100nF
VDD_MCU
C65
C49
C53
C57
C56
C36
C61
C66
100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF
VDD_MCU
- RFU means Reserved for Future Use.
- As an option, RFU could be tied to VDD or VSSfor forward
compatibility with future STM32Fproducts. However, user may leave
RFU pin connected to VDD, or VSS,or NC for STM32F2xx exclusiv e
use.
- JP4 should be fitted for future backward com patibility with sTM32F2xx.
C74
1uF
47
R87
L3
BEAD TP5
VREF
VDD_MCU
C5
C7
C8
C9
G13
H13
C68
J13
100nF J12
N10
N8
N9
K4
F3
G3
VDD_MCU
2
ULPI _D[0..7]
TP14
1
TP2
PTP_PPS
3
IOs Multiplexed
1
Doc ID 018499 Rev 1
3
UM1057
Schematic diagrams
Figure 18. MCU
37/64
Schematic diagrams
UM1057
Figure 19. Camera
+2V5
U27
4
1
R130
10K
DCMI_PIXCK
DCMI_VSYNC
DCMI_HSYNC
DCMI_D[0..7]
VCC
EN
Camera_CLK
3
2
OUT
GND
SM7745HEW- 24.0M
PIXCLK
PA6
VSYSC
PI5
HSYS C
PH8
DCMI _D[0..7]
+2V8
R108
10K
I2C1_SCL
I2C1_SDA
PH9
PH10
PH11
PH12
PH14
PI4
PI6
PI7
DCMI_D0
DCMI_D1
DCMI_D2
DCMI_D3
DCMI_D4
DCMI_D5
DCMI_D6
DCMI_D7
Camera_RST
Camera_RST
6
8
SCL
SDA
PB6
PB9
+2V8
CN15
13
17
7
9
19
21
22
20
18
16
14
12
5
3
XCLK1 AVDD(2.8V)
PCLK DVDD(1.8V)
VSYNC DOVDD(2.8V)
HREF
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
RESET
PWDN
SI O_C
SI O_D
DGND
DGND
DGND
AGND
AGND
4
10
11
+1V8
+2V8
C90
0.1uF
C85
0.1uF
C8 4
0.1uF
15
2
1
24
23
T
24-5805-024-000- 829+
R109
10K
JP26
AF
+2V8
C149
0.1uF
+2V8
+1V8
R213
10K
SCL
R
Cam era_P LUG
Camera_RST
D
Camera_XSD N
DCMI_D0
DCMI_D2
DCMI_D4
DCMI_D6
HSYSC
PIXCL K
+2V8
CN23
CLM -120-02-L-D
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
C151
0.1uF
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
C150
0.1uF
+1V8
SDA
Camera_CLK
DCMI_D1
DCMI_D3
DCMI_D5
DCMI_D7
VSYSC
+2V8
C152
0.1u F
STM32 20-21-45-46 G-EVALCamera
Number: M B786 Rev:B.1(PCB.SCH)
38/64
-36
Doc ID 018499 Rev 1
2K2
R40
Doc ID 018499 Rev 1
MCO
MII _RX_CLK/RMII _REF _CLK
+3V3
+3V3
JP6
1
3
C14
22pF
C15
22pF
2
PC5
PC4
PA7
PG11
PG13
PG14
PH2
PI10
PH3
PH7
PH6
PB8
PC2
PC3
U3
R208
51
150
R24
R212
MII _MDC
MII _MDIO
RESET
#
SB1
PA8
3
JP5
1
2
PC1
PA2
0
TP1
X1
25MHz
25MHz (with socket)
51
51
RS2
RS6
MII _INT
R44
RS5
51
0
R43
1.5K
+3V3
1
2
3
4
5
6
4.87K
R25
2K2
R41
0
R42
TD+
TDRD+
RDNC
NC
NC
NC
NC
AF
C17
0.1uF
DP83848CVV
RBI AS
PFBI N2
PFBI N1
PFBOUT
X2
X1
25MHz_OUT
C13
10uF
+3V3
C16
0.1uF
AGND
AGND
IOGND
IOGND
DGND
AVDD3 3
IOVDD33
IOVDD33
NC
NC
LED_LIN K/AN0
LED_SPEED/AN1
LED_ACT/COL/AN_EN
C19
0.1uF
RESET_
N
PWR_DOWN/INT
MDC
MDIO
COL /PHYAD0
CRS/CRS_DV/LED_CFG
RXD_0/P HYAD1
RXD_1/P HYAD2
RXD_2/P HYAD3
RXD_3/P HYAD4
RX_ER/MDIX_EN
RX_DV/MII _MODE
RX_CLK
TX_CLK
TX_EN
TXD_0
TXD_1
TXD_2
TXD_3/SNI_MODE
C21
0.1uF
24
37
18
23
33
34
25
29
7
31
30
42
40
43
44
45
46
41
39
38
Rev: B.1(PCB.SCH)
2K2
2K2
19
15
47
35
36
22
48
32
C27
0.1uF
+3V3
+3V3
2K2
RS1
C20
0.1uF
T
21 R30
20 R33
28
27
26
17
16
14
13
12
11
10
9
8
C7
0.1uF
+3V3
STM32 20-21-45-46 G-EVALEthernet
U5
R
RS3
51
PB14
+3V3
D
4
3
VCC OUT
1
2
EN
GND
R26
10K SM7745HEV-50.0M (do not fit)
JP8
PA1
MII _RXD1
MII _RXD0
MII _RX_DV/RMII_CRSD
V
MII _TX_EN
MII _TXD0
MII _TXD1
Unused in RMII mode
MII _CRS
MII _RX_E
R
MII _COL
MII _RXD3
MII _RXD2
MII _TXD3
MII _TXD2
MII _TX_CLK
+3V3
RS4
51
C6
0.1uF
R22 R1
240 240
7
8
13
14
9
10
12
11
3
5
6
1
4
2
-36
J0011D21B
Second source: SI-60116-F
NC
CHS GND
Shield
Shield
LED(green)_A
LED(green)_K
LED(Yellow)_A
LED(Yellow)_K
RD+
RCT
RD-
TD+
TCT
TD-
CN7
UM1057
Schematic diagrams
Figure 20. Ethernet
39/64
40/64
[N/A]
C155
[N/A]
C154
I2S_CK I N
PC9
X6
[N/A]
CS2200-CP
Doc ID 018499 Rev 1
10
9
8
7
6
C98
0.1uF
R198
0
1K
R197
C103
0.1uF
I2S_MCK
I2S_SCK
I2S_SD
I2S_WS
0
SD A
SC L
A0
U23
20
36
33
35
0
13
16
34
12
10
11
37
38
39
40
32
5
2
4
22
100nF
C144
100nF
10
8
C143
T S472 IQT
IN BYP
GND
GND
BIAS
IN +
U33
CS43L22
I2C address 0x94
4
6
7
9
8
5
1
2
VCC
C1
C2
OUT+
OUTSTBY
GS
20
14
15
17
16
21
9
1uF
R195
10K
100pF
C145
19
28
27
18
17
R200
47
JP33
C140+3V3
VQ
AFIL T B
AFIL T A
FIL T +
AGND
AI N1B
AI N1 A
AI N2 B
AI N2 A
AI N3 B
AI N3 A
AI N4 B
AI N4 A
30
29
26
25
24
23
22
21
+3V3
100pF
C146
22nF
C147
R115PA 4
0
0
R196
C107
150pF(COG)
R199
100K
C101
1uF(X5R)
R113
100K
T
1uF(X7R)
C94
0.1uF
C105
C102
1uF(X5R)
100
R122
C93
0.1uF
+5V
KSS-1508 or KSSG1708
U19
C97
0.022u F
51
C86
0.022uF
R112
51
R110
AF
SP K R_OUTA +
SP K R_OUTASP K R_OUTB+
SP K R_OUTBVP
VP
TSTO
TSTO
VL
DGND
GND/Thermal Pad
+VHP
VA
VD
FL Y P
-VHPFILT
FLY N
MCLK
SCLK
SDIN
LRC K
RESET
H P/LI NE_OUT A
H P/LI NE_OUT B
SPK R/HP
15
14
31
2EV "0#"3#(
34- '%6!, !UDIO
R
1
2
3
C142
1u F
C104
0.1uF
+3V3
C141
1u F
C95
1u F
C87
1u F (X7R)
P C6
PI 1
PI 3
PI 0
P B9
P B6
R221
10 K
R209
0
PA 8
MCO
+3V3
D
R211
Audio_SDA
Audio_SCL
C88
1u F(X7R)
U34
KECG2740TBL[N/A]
2
1
C92
0.1uF
+2V5
10 K
R134
VD
SDA/CDIN
GND
SC L /CCLK
CLK _OUT
AD0/CS
AUX_OUT XTI /REF_CLK
TST_IN
XTO
Audio_RST
1
2
3
4
5
U36
From IO expandor
+3V3
1u F
C158 0.1uF
C159
PF10
C108
150pF(COG)
Audio_IN
Audio_DAC_OUT
R215
0
R216
0
PJ3028B-3
-36
Fit for Iphone headset
4
2
3 CN11
6
R218
[N/A]
Fit for Nokia headset
R217
[N/A]
Schematic diagrams
UM1057
Figure 21. Audio
VBUS_FS
OTG_ F S_DM
OTG_ F S_DP
OTG_ F S_ID
OTG_ F S_PowerSwitchOn
PA9
PA11
PA12
PA10
PH5
R21
R18
D
0
GND FAULT
IN
OUT
EN
U1
3
1
Vbus
D+out
D-out
Dz
Pup
U2
ID
D+in
D -in
Pd1
Pd2
22
22
GND
R17
R19
LD 5
Re d
R15
20-21-45-46
T
C5
4.7uF
Rev: B.1(PCB.SCH)
STM32
D2
A3
C1
D1
B1
C2
STMP S2141STR@54
AF
2
5
4
EM I F 02- USB03F2
B3
C3
D3
A2
B2
+5V
R
0
R20
10 K
R16
47K
1
2
+3V 3
R23
620
0
G-EVAL
R181
[N/A]
2
-36
T1
9013
R27
330
LD 6
Green
475900001
Shield
VBUS
DM
DP
ID
GND
CN 8
+3V3
0
1
2
3
4
5
USB_OTG_FS
47K
R180
PF11
OTG_F S_OverCurrent
1
2
Doc ID 018499 Rev 1
3
53"?-ICRO!"RECEPTACLE
1
+3V3
UM1057
Schematic diagrams
Figure 22. USB_OTG_FS
41/64
PH4
PI11
P C0
PA 5
Doc ID 018499 Rev 1
C41
33p F
+3V3
ISP1705AET
C29
C43
0.1uF 0.1uF
0.1uF
Rev: B.1(PCB.SCH)
47 K
T
R206
[N/A]
R207
U10
USBULC6 -2F3
STM32 20-21-45-46 G-EVAL USB _OTG_HS
C42
0.1uF
B1
C40
33p F
+3V3
R72
100K
4.7uF
0.1uF
C39
B2
26MHz
JP R70
31 100K
C44
2K2
AF
R46
STMP S2141STR@54
C25
4.7uF
A2
C26
R
D4
E2
C 2 R50
12K[1%]
F4
C1
D1
D3
+3V3
B2
B5
F3
E3
E6
F1
C31
F2
4.7uF
E1
B4
+3V3
B3
C5
C24
D2
0.1uF
E4
Red
A1
C3
C4
VBUS
DM
DP
ID
VCC(I/O)
VCC(I/O)
VC C
REG_3V 3
REG1V 8
NC
NC
XTAL2
CFG 0
XTAL1
CFG 1
CFG 2
GND
CHIP_SEL_ N
GND
RESET_ N
GND
D7
D6
D5
D4
D3
D2
D1
D0
P SW_N
FAULT
RREF
3
1
T3
9013
0.1uF
0.1uF
0.1uF
C64
Shield
C131
0.1uF
-36
C47
C46
0
CN9
VBUS_HS 475900001
1
VBUS
2
DM
3
DP
4
ID
5
GND
LD7
Green
U12
ESDA14V2- 2BF3
2
B2
F6
F5
C6
B6
A6
A5
A3
A2
A1
B1
NXT
DIR
ST P
CLOCK
GND FAULT
IN
OUT
EN
U4
B1
1M
ULPI_D7
ULPI_D6
ULPI_D5
ULPI_D4
ULPI_D3
ULPI_D2
ULPI_D1
ULPI_D0
D5
E5
D6
A4
2
5
4
620
R29
A1
A2
X2
0
R69
PB5
PB13
PB12
PB11
PB10
PB1
PB0
PA 3
0
0
R61
R62
+5V
1
R2 8
330
USB_M icro-AB receptacle
R55
ULPI _D[0..7]
ULPI _D[0..7]
ULPI_NXT
ULPI_DIR
ULPI_STP
ULPI_CL K
U8
D
R31
10 K
R32
10 K
LD8
2
1
2
3
42/64
1
+3V3
+3V3
Schematic diagrams
UM1057
Figure 23. USB_OTG_HS
Doc ID 018499 Rev 1
R47 0
A2 0
A1 9
A1 8
A1 7
A1 6
A1 5
A1 4
A1 3
A1 2
A1 1
A1 0
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
CE
WE
OE
BLE
BHE
U6
R49
10 K
VS S
VS S
CE2
VC C
VC C
D1
E6
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
+3V3
FSMC_NE1
100nF
100nF
C30
PD7
E2
A1
B4
E1
F3
H1
A2
G1
D4
F1
F2
D2
F5
G5
E6
F6
F4
G6
H3
H2
H5
H4
G3
G2
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
DQ6
DQ7
DQ8
DQ9
DQ10
DQ11
DQ12
DQ13
DQ14
DQ15
G4
H6
E5
E4
A5
A4
C6
B6
+3V3 +3V3
10 K
R48
R53 0 P B15
NOTFITTED
C22
100nF
OneNAND_INT
+3V3
D 3 D0
B3 D1
E3 D2
C5 D3
C2 D4
D 5 D5
D 6 D6
C1 D7
B2 D8
B5 D9
C4 D10
C3 D11
B1 D12
A 6 D13
A 3 D14
D 1 D15
KF G1216U2A- DI B6
VccI O
CE VccCore
WE
OE
NC
CLK
NC
AVD
NC
RDY
NC
RP
Vss
INT
Vss
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
U7
R36
C28
100nF 10 K
T
R45
10 K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
C18
100nF
Rev: B.1(PCB.SCH)
-36
STM32 20-21-45-46 G-EVAL SRAM and OneNAND
R52 0
AF
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
+3V3 C23
IS61WV102416BLL- 10MLI
CY7C1071DV33-12BAXI
D
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
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
+3V3
0
R35
10K
+3V3
PD 5
PD 4
PD 3
PB7
PD 6 R54
PE0
PE1
PG9
FSMC_NWE
FSMC_NOE
FSMC_CLK
FSMC_N L
FSMC_NWAIT
FSMC_BLN 0
FSMC_BLN 1
FSMC_NE2
D[0..15]
A[0..20]
UM1057
Schematic diagrams
Figure 24. SRAM and OneNAND
43/64
44/64
Doc ID 018499 Rev 1
R67
R68
0
[N/A]
L1
BEAD
L2
BEAD
R
C148
10uF
Rev: B.1(PCB.SCH)
R78
R119
R162
R164
150
150
150
150
LCD_VSYN C
LCD_HSYNC
LCD_C S
+3V3
AF
C153
100nF
A0
STM32 20-21-45-46 G-EVALLCD
+5 V
+3V3
FSMC_NWE
FSMC_NOE
RESET#
PD 5
PD 4
PG10
A[0..20]
D[0..15]
D
FSMC_NE3
A[0..20]
D[0..15]
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
R170
R171
R172
R173
R174
R175
R176
R177
R82
R161
R163
R165
R166
R167
R168
R169
150
150
150
150
150
150
150
150
150
150
150
150
150
150
150
150
D8
D9
D10
D11
D12
D13
D14
D15
D0
D1
D2
D3
D4
D5
D6
D7
2
4
6
PC10
PC11
PC12
PC[0..15]
Header 3X2H
Reserved f or LCD connector
1
3
5
CN22
PC[0..15]
To I/O expandor
-36
TouchScreen_XTouchScreen_X+
TouchScreen_YTouchScreen_Y+
3.2" LCD_connector (MB785 with AM-240320D4TOQW-T00H(R))
BL _GN D
BL _Control
VDD
VCI
GND
GND
BL _VDD
SDO
SD I
CS
RS
WR/SCL
RD
RESET
CN19
T
22
23
24
25
26
27
28
29
30
1
2
3
4
5
Schematic diagrams
UM1057
Figure 25. LCD
3$/
3$)
8,
82
9$
95
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
8,
82
9$
95
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
D
R
.UMBER-"
Doc ID 018499 Rev 1
",6$$
,
",'.$
U(!
2
DO NOT FIT
",?#ONTROL 2
",'.$
#
U&
",6$$
34,$$0-2
37
6O
6I
.#
%.
'.$
&"
0'.$ 2SET
5
3403,-
:
639.#
(39.#
$OT#LK
%NABLE
2
",'.$
2
+
",'.$
#
U&6
!
+
6$$
2%3%4
3$/
3$)
#3
72
2$
23
AF
2EV !0#"3#(
95
9$
82
8,
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
)-
)-
)-)$
+
20
6$$
&&33
!- $4/174(2
,%$?!
,%$?+
633
633
633
633
(39.#
%NABLE
639.#
$OT#LK
6##
6##
2%3%4
3$/
3$)
#3
723#,
2$
23
.#
639.#
(39.#
$/4#,+
%.!",%
#.
T
,#$MODULEWITHBOTH30)BITINTERFACES
4HEPINCONNECTORTOANOTHERBOARDFORBOTH
SERIALANDBITINTERFACE#OMPATIBLEWITH
-"WITHTOUCHSCREENSIGNALSADDEDONPINS
,#$?CONNECTOR
",?'.$
",?#ONTROL
6$$
6#)
'.$
'.$
",?6$$
3$/
3$)
#3
23
723#,
2$
2%3%4
#.
,#$ BOARD CONNECTOR TO -OTHER BOARD
",6$$
6$$
",?#ONTROL
",'.$
#3
23
72
2$
2%3%4
#
U&6
95
9$
82
8,
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
2 +
2 +
6$$
0$
0$
0$
0$
0$
0$
0$
0$
0$
0$
23
2$
0$
0$
0$
0$
0$
0$
0$
0$
+
+
20
+
20
+
20
+
20
20
2 -36
3OLDERED FOR 3ERIAL INTERFACE ONLY
3$/
3$)
2 +
3OLDERED FOR ISYSTEM BIT INTERFACE
UM1057
Schematic diagrams
Figure 26. 3.2" LCD module with both SPI & 16bit interface
45/64
46/64
RS232/IrDA_RX
RS232/IrDA_TX
PC11
PC10
2
JP22
3
1
Doc ID 018499 Rev 1
C45
4.7uF
+3V3
C51
0.1uF
Bootloader_RESET
47
R63
21
20
19
18
17
16
15
14
13
12
28
24
1
2
C55
4.7uF
5
C52
0.1uF
1
2
6
7
8
3
4
5
nSHDN
R1IN
R2IN
R3IN
R4IN
R5IN
T1OUT
T2OUT
T3OUT
VCC
GND
V+
VC77
100nF
C79
100nF
+3V3
TXD
CTS
DSR
RXD
1
6
2
7
3
8
4
9
5
CN16
DB9-m ale UART3or 4
-36
'%6!, 23AND)R$!
IrDA 34-
Rev: B.1(PCB.SCH
)
TFDU6300
C76
100nF
T
Anode (VCC2)
Cathode
VCC1
NC
GND
TxD
RxD
SD
U11
22
4
5
6
7
8
9
10
11
26
25
27
3
+3V3
AF
ST3241EBP
R
nEN
R1OUTB
R2OUTB
R1OUT
R2OUT
R3OUT
R4OUT
R5OUT
T1IN
T2IN
T3IN
C1+
C1C2+
C2-
U17
R64
23
R
Bootloader_BOOT0
D
C80
100nF
100nF
C78
Schematic diagrams
UM1057
Figure 27. RS-232 and IrDA
CAN2_R
X
CAN1_R
X
CAN2_TX
CAN1_TX
3
1
3
1
PD1
PB13
PD0
PB5
JP10
2
JP3
2
1
2
3
4
3
1
+3V3
8
7
6
5
JP7
T
0
Default setting: 1<>2
R39
AF
10K
RS
CANH
CANL
Vref
SN65HVD23
0
D
GND
VCC
R
U9
R
100nF
C32
R37
2
Doc ID 018499 Rev 1
Rev: B.1(PCB.SCH
)
STM32 20-21-45-46 G-EVALCAN
+3V3
D
+3V3
R56
do not fit
R60
0
Default setting: Open
1
6
JP9
2
7
3
8
R38
4
120
9
5
-36
CN10
DB9-m ale CAN connector
UM1057
Schematic diagrams
Figure 28. CAN
47/64
Schematic diagrams
UM1057
Figure 29. I/O peripherals
+2V8
+3V3
MEMS_SDA
MEMS_SCL
MEMS_I NT1
MEMS_I NT2
1
7
12
2
10
5
4
11
R152 2
1K
0
C122
10nF
RV1
3386P-103H[10%]
0OTENTIOMETER
LI S302DL
To I O expandor
R151
PF9
Potentiometer
3
+2V8 U20
1
VDD_IO
CS
6
VD D
SDO
100nF
3
Reserved GND
PB9
13
SDA
GND
PB6
14
SCL
GND
8
INT1
GND
9
INT2
Reserved
R107
10 K
C89
-%-S
LED1
PG8
LED2
PI9
LED3
PC7
LED4
LD1
Green
R155
1
510
LD2
Orange
R154
1
680
LD3
Red
R141
1
680
LD4
Blue
R140
1
680
2
2
2
T
PG6
2
"UTTONS
R149
10K
R147
10K
R146
10K
R145
10K
R144
10K
Selection
100nF
100nF
100nF
100nF
100nF
C120
C128
C119
DWON
LEFT
RIGHT
UP
MT008-A
*OYSTICK
+3V3
R138
R142
4K7
1
B2
WK UP
C118
100n F
R160
R156
100
100
WAKEUP
PA0 R139
330
2
C124
do not fit
B3
Tamper
C130
100n F
1
4
100
R143
0
3
Anti_Tamper
PC13
2
3
4
1
B4
USER
3
1
4
6
+3V3
R148
4K7
PG15 R150
0
2
User_Button
D
+3V3
COMMON
2
C129
%%02/-
+2V8
C121
M24C64- RMN6TP
5
100
3
E0
E1
E2
VSS
U32
R159
To IO expandor
JOY_SEL
JOY_DOW
N
JOY_LEFT
JOY_RIGHT
JOY_UP
100nF
R102
JP24
10K
8
VCC
7
WC
PB6
6
SCL
EEP ROM_SCL
PB9
5
SDA
EEP ROM_SD
A
R
U18
1
2
3
4
+3V3
4
C81
AF
,%$S
R153
220K
STM32 20-21-45-46 G-EVALI/O Peripherals
Rev: B.1(PCB.SCH)
-36
48/64
Doc ID 018499 Rev 1
UM1057
Schematic diagrams
Figure 30. I/O expander
+2V8
C99
100nF
PB6
IO_Expandor_SCK
PB9
IO_Expandor_SDA
PI2
IO_Expandor_INT
U24
6
14
10
4
5
2
7
3
R136 0
R117
10K
VCC
Vio
GND
SCLK
SDAT
INT
Data in
A0/Data Out
YXY+
X+
IN3
IN2
IN1
IN0
1
16
15
13
12
11
9
8
STMP E811QTR
I2C device address:0x82
TouchScreen_YTouchScreen_XTouchScreen_Y+
TouchScreen_X+
EXP _IO 9
EXP _IO10
EXP _IO11
EXP _IO12
R116
100K
+2V8
+2V8
U29
T
C115
100nF
VCC
Vio
GND
SCLK
SDAT
INT
Data in
A0/Data Out
AF
6
14
10
4
5
2
7
3
R121
10K
R131
10K
YXY+
X+
IN3
IN2
IN1
IN0
1
16
15
13
12
11
9
8
R135 STMPE811QTR
I2C device address:0x8
8
10K
+2V8
EXP _IO1
EXP _IO2
EXP _IO3
EXP _IO4
EXP _IO5
EXP _IO6
EXP _IO7
EXP _IO8
R132
100K
+2V8
R
34- '%6!, )/?%XPANDER
-36
D
2EV "0#"3#(
Doc ID 018499 Rev 1
49/64
Schematic diagrams
UM1057
Figure 31. MicroSD card
+3V3
R65
47K
R9
47K
R8
47K
R11
47K
R10
47K
+3V3
1
2
3
4
5
6
7
8
MicroSDCard_D1
MicroSDCard_D0
MicroSDCard_D3
MicroSDCard_D2
MicroSDCard_CLK
MicroSDCard_CMD
PC9
PC8
PC11
PC10
PC12
PD2
CN 6
PJS 008-2000
SMS064FF or SMS128FF
-ICRO3$CARD
AF
PH13
D
R
MicroSDCard_Detect
50/64
Doc ID 018499 Rev 1
9
10
SW2
SW1
T
Rev: B.1(PCB.SCH)
R2
0
-36
Doc ID 018499 Rev 1
MC_PF Csync1
0
R14
R59 0
R57 0
PH11
R74 0
C59
do not fit
PH10
PC3 R79
0
MC_CurrentC
MC_PF Csync2
PC2 R76
0
PC1 R73
0
TP4
AI N+
PI 4
MC_CurrentB
MC_CurrentA
TP3
AIN-
MC_Emer gencySTOP
C10
do not fit
SB18
R80 0
C63
do not fit
R77 0
C62
do not fit
0
R219
C4
1nF
R7
3.3K
+3V3
D
C11
do not fit
Default setting: Open
MC_PFCpwm
MC_EnA
MC_EnB
PD12
PD13
+5V
PH8
P C8
PI 5
P H13
PI 6
PH14
PI 7
PH15
EMERGENCY STOP
MC- UH
MC_U L
MC_VH
MC_VL
MC_W H
MC_W L
CURRENTA
CURRENTB
CURRENTC
NTC BYP ASS RELAY
DI SSIPAT IVE BRAKE
+5V POWER
PFC SYNC
PFC PW M
Encoder A
Encoder B
CN5
MC_connector
C2
10nF
SB17
C9
do not fit
+3V3
0
R4
0
R12
0
C1
do not fit
R3
C12
100nF
Rev: B.1(PCB.SCH
)
R13 PC4
0
MC_BusVoltage
PB8
MC_En Index
-36
R5 PC5
MC_HeatsinkTemperature
0
C3
R6
100nF 100K
STM32 20-21-45-46 G-EVALMotor control
C8
do not fit
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
T
GND
GND
GND
GND
GND
GND
BUS VOL TAGE
GND
GND
GND
GND
GND
Heatsink Temperature
Vdd_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
C38
do not fit
R
MC_NTC
MC_Dissipati veBrake
MC_U H
MC_U L
MC_VH
MC_VL
MC_W H
MC_W L
Motor control connector
UM1057
Schematic diagrams
Figure 32. Motor control
51/64
52/64
+5V
C126
100nF
C117
47uF
C127
C125
R157
4K7
D
+3V3
Doc ID 018499 Rev 1
CN20
C816
GND VCC
NC
RST
I/O
CLK
NC
NC
100nF
ST8024CDR
C109
5
6
7
8
28
27
26
25
24
23
22
21
20
19
18
17
16
15
R127
R125
10K
18
17
1
2
3
4
100K
R158
+3V3
0
0
0
+3V3
TP11
AUX2
TP12
AUX1
PF7
PG12
C111
100nF
PG7
PF6
PC6
PH15
SmartCard_RST
SmartCard_CMDVCC
+3V3
C114
47uF
SmartCard_CLK
SmartCard_OFF
Sm artCard_I O
SmartCard_3/5V
Rev: B.1(PCB.SCH )
-36
STM32 20-21-45-46 G-EVALSmartcard
R129
10K
R123
10K
T
R128
R126
AF
CLK DI V1 AUX 2 UC
CLK DI V2 AUX 1UC
5 V/3V
I/OUC
PGND
XTAL2
C1+
XTAL1
Vddp
OFF
C1GND
Vup
Vdd
PRES
RSTI N
PRES CMDVCC
I /O
PORADJ
AUX 2
Vcc
AUX 1
RST
CGND
CLK
R
1
2
3
4
100nF 5
6
7
100nF 8
9
10
11
12
13
14
U31
R124
10K
+3V3
Schematic diagrams
UM1057
Figure 33. Smartcard
TMS/SWDIO
TCK /SWCLK
TDO/SWO
TDI
TRST
RESET#
D8
Z5V1
D7
Z5V1
D6
Z5V1
D5
Z5V1
D4
Z5V1
D3
Z5V1
R
22
Doc ID 018499 Rev 1
+%9
PA13
PA14
PB3
PA15
PB4
PE6
PE5
PE4
PE3
PE2
R1040
R100do not fit
R94 0
R91 do not fit
AF
4RACECONNECTOR
TRACE_D 3
TRACE_D 2
TRACE_D 1
TRACE_D 0
TRACE_CK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+3V3
#.
&43(,$6
D
RS7
R95 R92
#.
*4!'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+3V3
*4!'CONNECTOR
R106 10K
R105 10K
R99
10K
R9 8
do not fit
+3V3
Rev: B.1(PCB.SCH)
-36
STM32 20-21-45-46 G-EVAL JTAG and Trace
T
R96
[N/A]
R101
[N/A][N/A] [N/A] [N/A]
R97
+3V3
UM1057
Schematic diagrams
Figure 34. JTAG and Trace
53/64
Schematic diagrams
UM1057
Figure 35. Power
U28
ZEN056V130A24 LS
U25
CN18
1
2
3
1
3
1
SV
2
Z1
SMAJ5.0A-TR
2
DC- 10B
E5 V
CV
SG CG1
CG2
CG3
C112
100nF
3
C106
10uF
4
5
6
BNX002-01
+3V3
3V3
Vout
3
C83
10uF
Vin
Vout
C110
10u F
TP 8
5V
+5V
JP18
VBUS_FS
R114
120
D5V
E5V
U5V_ST_LIN K
1
3
5
7
9
2
4
6
8
10
TP13
Ground
Header 5X2
C100
10uF
R93
1K
2
1
D
R120
150
C116
10uF
VBUS_H S
+2V8
2
R
Vout
1
Vin
+1V8
2
TP 9
2V 8
U26
LD1117STR
3
+2V 5
Vout
C91
10uF
1
3
AF
+5V
+5V
TP 6
2V 5
U21
LD1117S25TR
Vin
C82
100nF
2
T
Vin
C96
220uF
1V8
U30
LD1117S18T R
+3V3
2
1
C113
220uF
GND
3
1
U22
LD1086D2M33TR
+5V
VDD_ MCU
JP32
LD 9
red
STM32 20-21-45-46 G-EVALPower
-36
Rev: B.1(PCB.SCH)
54/64
Doc ID 018499 Rev 1
Doc ID 018499 Rev 1
PC15
PC14
Close to crystal on C P B
SB5
T
APP_3V3
PI2
PI0
PH14
PA13
PA12
PA10
PA8
PC8
PC7
PG8
PG6
PG4
PG2
PD13
PD11
PD9
PB15
PB14
PB12
CN3 (Top)
21N22564- 50S10B
Rev: B.1(PCB.SCH)
STM32 20-21-45-46 G-EVALExtension connector
EXT_P C15
EXT_P C14
EXT_P H1
VBUS_FS
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
SB4
PB13
PH12
PH1
PC6
PG7
PG5
PG3
PD15
PD14
PD12
PD10
PD8
EXT_P H0
EMU_5V
PC9
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
SB7
EMU_3V3
PI9
PI11
PF1
PF3
PF4
PF6
PF8
PF10
EXT_PH1
PI1
PH15
PH13
PC13
RESET #
PA11
SB6
PC2
VREF+
PA1
PH2
PH3
PH5
AF
CN1 (Buttom)
21N22564 -50S10B
EMU_5 V
APP_3V3
PE2
PE4
PE6
PC13
21N22564 -40S10B
R
PG15
PB4
PB6
BOOT0
PB8
PE0
PI4
PI6
PH4
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
PH0
PA15
PC11
PD0
PD2
PD3
PD5
PD7
PG10
PG12
EMU_5 V
EMU_3V3
PF5
PF7
PF9
EXT_PH0
PC0
PC1
PC3
PA0
PA2
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
PB9
PE1
PI5
PI7
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
D
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
CN4 (Left)
PE3
PE5
PI8
EXT_PC14
EXT_PC15
PI10
PF0
PF2
PD4
PD6
PG9
PG11
PG13
PG14
PB3
PB5
PB7
PI3
PA14
PC10
PC12
PD1
PC4
PA6
PA4
PE13
PE11
PE9
PE7
PG0
PF15
PF13
PF11
PB1
PH11
PH10
PH8
PH6
PB10
+3V3
EMU_5V
APP_VCC
APP_VCC
D5V
PI[0..11]
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
PF14
PF12
PB2
PB0
PC5
PA7
PA5
PA3
-36
21N22564-40S10B
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
CN2 (Right)
RESET#
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]
BOOT0
PH 9
PH 7
PB11
PE15
PE14
PE12
PE10
PE8
PG1
PH[0..15]
PG[0..15]
PF[0..15]
PE[0..15]
PD[0..15]
PC[0..15]
RESET#
APP_3V3
PB[0..15]
PA[0..15]
BOOT0
UM1057
Schematic diagrams
Figure 36. Extension connector
55/64
Doc ID 018499 Rev 1
USB- typeB connector
1
2
3
4
0
0
R192
R193
1.5K
R194
10 USB_ DM
10USB_DP
R191
36K
2
R189
10K
U5V_ST_LINK
+3V3
53"
T2
9013
-#5
+3V3
VDD_2
VSS_2
JTMS
PA12
PA11
PA10
PA 9
PA 8
S2_MOSI
S2_MISO
S2_CK
PB12
36
35
34
33
32
31
30
29
28
27
26
25
LED_STL INK
T_ JTM S
T_ JTCK
T_SW DIO_ IN
AF
MCO
STM_ JTMS_SW DIO
USB_DP
USB_ DM
T_SW O
LED_STL INK
+3V3
U15
STM32F103C8T6
R
3
VCC
DD+
GND
SHELL
SHELL
CN21
+3V3
100K
R184
T_JRST
T_NRST
T_JT D I
T_JT D O
T_JT CK
JTAG
2
4
D
VBAT
PC13
PC14
PC15
OSC_IN
OSC_OUT
/RST
VSSA
VDDA
PA0
PA1
U2_TX
24
23
22
21
20
19
18
17
16
15
14
13
1
3
5
CN17
1
2
3
SWI M_PU_CTRL 4
5
OSC_ IN
OSC_O UT 6
7
STM_ RST
8
C137
9
+3V3
100nF
10
AIN_1
11
12
R187 R188
[N/A] 10K
+3V3
VDD_1
VSS_1
PB11
PB10
PB2 /BOOT1
PB1
PB0
S1_MOSI
S1_MISO
S1_CK
U2_CK
U2_RX
U5V_ST_LINK
STM_ JTMS_SW DIO
STM_ JTCK
_SW CLK
100K
R183
C139
20pF
J TCK
JTDI
JTDO
JNRST
PB5
PB6
PB7
BOOT0
PB8
PB9
VSS_ 3
VDD_ 3
+3V3
2
8MHz
X5
+3V3
100K
R201
100
R190
0
4K7
4K7
TMS/SWDI O
RESET#
TRST
TDI
TCK/SWCLK
Rev: B.1(PCB.SCH)
AIN_1
-36
R186
R185
TDO/SWO
+3V3
STM32 20-21-45-46 G-EVALST-LINK/V2
*4!'
LD10
HSMF- A201-A00J1
Yellow
R202
100
+3V3
T
T_ JTDO
T_SWO
T_SW DIO_ IN
T_ JTMS
T_ NRST
T_ JRS
T
T_ JTDI
T_ JTCK
Red
2
1
C136
100nF
37
38
39
40
41
42
43
44
45
46
47
48
20pF 1
C138
C133
100nF
3
56/64
4
C135
100nF
STM_JTCK_SWCLK
1
C134
100nF
Schematic diagrams
UM1057
Figure 37. ST-LINK/V2
UM1057
Schematic diagrams
Table 32.
STM3220G-EVAL pinout
Pin no.
Pin Name
A2
PE2
TRACE_CLK / FSMC_A23
A1
PE3
TRACE_D0 / FSMC_A19
B1
PE4
TRACE_D1 / FSMC_A20
B2
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
E3
PI10
E4
PI11
F2
VSS_13
F3
VDD_13
E2
PF0
FSMC_A0
H3
PF1
FSMC_A1
H2
PF2
FSMC_A2
K3
G2
G3
K2
T
VBAT
LED2
AF
ETHER_RX_ER
USB_HS_DIR
R
J3
D
J2
Description
PF3
FSMC_A3
PF4
FSMC_A4
PF5
FSMC_A5
VSS_5
VDD_5
PF6
SmartCard_OFF
K1
PF7
SmartCard_RESET
L3
PF8
LCD_CS
L2
PF9
POTENTIOMETER
L1
PF10
Audio_IN
G1
PH0 - OSC_IN
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)
OSC_OUT
RESET_BUTTON
Doc ID 018499 Rev 1
57/64
Schematic diagrams
Pin no.
Pin Name
Description
M5
PC3
ETHER_TX_CLK / MC_ADC123_13 pin 19 (Current C)
M1
VSSA
N1
VREF-
P1
VREF+
R1
VDDA
N3
PA0-WKUP
N2
PA1
ETHER_RX_CLK
P2
PA2
ETHER_MDIO
F4
PH2
ETHER_CRS
G4
PH3
ETHER_COL
H4
PH4
J4
PH5
R2
PA3
L4
BYPASS
K4
VDD_4
N4
PA4
Audio_DAC_OUT
P4
PA5
USB_HS_CK
P3
PA6
CAM_PIXCK
R3
PA7
ETHER_DV
PC4
ETHER_RXD0 / MC_ADC12_14 pin 14 (Bus voltage)
PC5
ETHER_RXD1 / MC_ADC12_15 pin 26 (Heatsink
temperature)
PB0
USB_HS_D1
PB1
USB_HS_D2
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
R5
R4
M6
WAKEUP_BUTTON
USB_HS_NXT
USB_FS_POWER_ON
AF
USB_HS_D0
R
P5
D
N5
58/64
STM3220G-EVAL pinout (continued)
T
Table 32.
UM1057
BYPASS
Doc ID 018499 Rev 1
UM1057
Schematic diagrams
Table 32.
STM3220G-EVAL pinout (continued)
Pin Name
P8
PE8
FSMC_D5
P9
PE9
FSMC_D6
M9
VSS_7
N9
VDD_7
R9
PE10
FSMC_D7
P10
PE11
FSMC_D8
R10
PE12
FSMC_D9
N11
PE13
FSMC_D10
P11
PE14
FSMC_D11
R11
PE15
FSMC_D12
R12
PB10
R13
PB11
M10
VCAP1
N10
VDD_1
M11
PH6
ETHER_RXD2
N12
PH7
ETHER_RXD3
M12
PH8
CAM_HSYNC / MC_NTC_bypass
M13
PH9
CAM_D0
L13
PH10
CAM_D1 / MC_TIM5_ETR pin 27 (PFC SYNC)
PH11
CAM_D2 / MC_TIM3_CH2 pin 27 (PFCSYNC)
PH12
CAM_D3 / TIM5_CH3 pin 29 (PFCPWM)
H12
J12
P12
USB_HS_D3
ULPI_D4
VCAP / 1.2V
AF
R
K12
VSS_14
D
L12
Description
T
Pin no.
VDD_14
PB12
ULPI_D5
P13
PB13
ULPI_D6 / CAN2_TX
R14
PB14
ETHER_INT
R15
PB15
OneNAND_INT
P15
PD8
FSMC_D13
P14
PD9
FSMC_D14
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
Doc ID 018499 Rev 1
59/64
Schematic diagrams
Table 32.
STM3220G-EVAL pinout (continued)
Pin Name
L14
PD15
FSMC_D1
L15
PG2
FSMC_A12
K15
PG3
FSMC_A13
K14
PG4
FSMC_A14
K13
PG5
FSMC_A15
J15
PG6
LED0
J14
PG7
SmartCard_CK
H14
PG8
LED1
G12
VSS_9
H13
VDD_9
H15
PC6
G15
PC7
G14
PC8
F14
PC9
SDIO_D1 I2S_CKIN
F15
PA8
MCO
E15
PA9
USB_FS_VBUS
D15
PA10
USB_FS_ID
C15
PA11
USB_FS_DM
B15
PA12
USB_FS_DP
PA13
JTAG_TMS
VCAP2
VCAP / 1.2V
F12
G13
E12
SmartCard_IO / Audio_I2S_ MCK
LED3
AF
SDIO_D0/ MC_TIM3_CH3 pin23 (Dissipative Brake)
R
D
F13
Description
T
Pin no.
A15
60/64
UM1057
VSS 2
VDD_2
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
Audio_I2S_WS
D14
PI1
Audio_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
Doc ID 018499 Rev 1
UM1057
Schematic diagrams
Table 32.
STM3220G-EVAL pinout (continued)
Pin Name
B13
PC11
SDIO_D3 / RS232_RX
A12
PC12
SDIO_CK
B12
PD0
FSMC_D2 / CAN1_RX
C12
PD1
FSMC_D3 / CAN1_TX
D12
PD2
SDIO_CMD
D11
PD3
FSMC_CLK
D10
PD4
FSMC_NOE
C11
PD5
FSMC_NWE
D8
VSS_10
C8
VDD_10
B11
PD6
A11
PD7
C10
PG9
B10
PG10
FSMC_NE3
B9
PG11
ETHER_TXEN
B8
PG12
SmartCard_CMDVCC
A8
PG13
ETHER_TXD0
A7
PG14
ETHER_TXD1
D7
VSS_11
B7
FSMC_NE1
AF
FSMC_NE2
VDD_11
PG15
USER_BUTTON
PB3
JTAG_TDO
PB4
JTAG_TRST
PB5
CAN2_RX / ETHER_PPS_OUT / ULPI_D7
B6
PB6
I2C1_SCL
B5
PB7
FSMC_NL
D6
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
C5
VDD_SA
D4
PI4
A9
A6
D
A10
FSMC_NWAIT
R
C7
Description
T
Pin no.
BOOT0
POR Disable
CAM_D5 / MC_TIM8_BKIN pin 1 (Stop)
Doc ID 018499 Rev 1
61/64
Schematic diagrams
Table 32.
UM1057
STM3220G-EVAL pinout (continued)
Pin Name
Description
C4
PI5
CAM_VSYNC / MC_TIM8_CH1 pin 3 (UH)
C3
PI6
CAM_D6 / MC_TIM8_CH2 pin 7 (VH)
C2
PI7
CAM_D7 / MC_TIM8_CH3 pin 11 (WH)
D
R
AF
T
Pin no.
62/64
Doc ID 018499 Rev 1
UM1057
Revision history
Table 33.
Document revision history
Date
1
Changes
Initial release.
R
AF
T
15-Apr-2011
Revision
D
5
Revision history
Doc ID 018499 Rev 1
63/64
UM1057
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 AN AUTHORIZED ST REPRESENTATIVE, 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
64/64
Doc ID 018499 Rev 1