STMicroelectronics STM3220G-EVAL User Manual

Add to My manuals
68 Pages

advertisement

STMicroelectronics STM3220G-EVAL User Manual | Manualzz
UM1057
User manual
STM3220G-EVAL evaluation board
Introduction
The STM3220G-EVAL evaluation board is a complete demonstration and development
platform for the STM32F2 Series and includes an embedded STM32F207IGH6 highperformance ARM®Cortex®-M3 32-bit microcontroller.
The full range of hardware features on the board is described to evaluate all peripherals
(such as USB OTG HS, USB OTG FS, Ethernet, motor control, CAN, microSD™ card,
smartcard, USART, Audio DAC, RS-232, IrDA up to version C07 of the board, SRAM, ST
MEMS, EEPROM) before developing applications. Extension headers are used to easily
connect a daughterboard or a wrapping board for any specific application.
The in-circuit ST-LINK tool provides easy JTAG and SWD interface debugging and
programming.
Figure 1. STM3220G-EVAL evaluation board
1. Picture is not contractual.
November 2016
DocID018499 Rev 6
1/68
www.st.com
1
Contents
UM1057
Contents
1
2
3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4
Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.2
Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3
Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4
Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5
Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.6
EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.7
CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.8
RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.9
Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.10
Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.11
microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.12
ST MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.13
Potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.14
ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.15
USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.16
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.17
USB OTG HS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.18
Camera module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.19
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.20
Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.21
Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1
2/68
Daughterboard extension connectors CN1, 2, 3 and 4 . . . . . . . . . . . . . . 25
DocID018499 Rev 6
UM1057
Contents
3.2
Motor control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3
microSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.4
Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.5
USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.6
USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.7
CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2) . . . . . . . . . . 34
3.8
Audio connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.9
Trace debug connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.10
JTAG debug connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.11
Camera module connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.12
RS-232 connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.13
Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.14
TFT LCD connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.15
Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.16
ST-LINK/V2 connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.17
Camera extension connector CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.18
STM3221G-EVAL pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Appendix A Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
DocID018499 Rev 6
3/68
3
List of tables
UM1057
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Table 28.
Table 29.
Table 30.
Table 31.
Table 32.
Table 33.
Table 34.
Table 35.
4/68
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Power related jumpers and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Boot related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Audio related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
EEPROM related jumper and solder bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
CAN-related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
RS-232 and IrDA related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Motor control solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Connection between ST8024 and STM32F207IGH6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Smartcard related jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
microSD card related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Ethernet related jumpers and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
microSD card related jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Camera module related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SRAM related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Third-party toolchain support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
LCD modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Daughterboard extension connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Daughterboard extension connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Daughterboard extension connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Daughterboard extension connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Motor Control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
microSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
CAN D-type 9-pin male connector CN10 (CAN1 or CAN2) . . . . . . . . . . . . . . . . . . . . . . . . 34
Trace debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
JTAG debug connector CN14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Camera module connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
RS-232 connector CN16 with ISP support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Camera extension connector CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
STM3220G-EVAL pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
DocID018499 Rev 6
UM1057
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Figure 26.
Figure 27.
Figure 28.
Figure 29.
Figure 30.
Figure 31.
Figure 32.
Figure 33.
Figure 34.
Figure 35.
Figure 36.
Figure 37.
STM3220G-EVAL evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
STM3220G-EVAL evaluation board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Pin 1 camera plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Motor Control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
microSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
CAN D-type 9-pin male connector CN10 (CAN1 or CAN2) . . . . . . . . . . . . . . . . . . . . . . . . 34
Trace debug connector CN13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
JTAG debug connector CN14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Camera module connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
RS-232 connector CN16 with ISP support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Power supply connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
STM3220G-EVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
USB OTG HS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
LCD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
I/O peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
I/O expander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
JTAG and trace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Extension connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
STLINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.2” LCD module with SPI and 16-bit interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DocID018499 Rev 6
5/68
5
Overview
UM1057
1
Overview
1.1
Features
• STM32F207IGH6 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 Kbyte EEPROM, ST 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 (only supported up to C07 version of the board, no more supported from
C08 version)
• 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
1.2
Demonstration software
Demonstration software is preloaded in the board-mounted 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 at the
www.st.com/mcu website.
1.3
Ordering information
To order the STM3220G-EVAL 0evaluation board, refer to Table 1:
6/68
DocID018499 Rev 6
UM1057
Overview
Table 1. Ordering information
1.4
Order code
Target STM32
STM3220G-EVAL
STM32F207IGH6
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 25 MHz crystal (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).
The plastic protection on the camera should be removed carefully as the connection is very
fragile.
DocID018499 Rev 6
7/68
67
Hardware layout and configuration
2
UM1057
Hardware layout and configuration
The STM3220G-EVAL evaluation board is designed around the STM32F207IGH6
microcontroller in the UFBGA176 package. The hardware block diagram Figure 2 illustrates
the connection between STM32F207IGH6 and peripherals (Camera module, LCD, SRAM,
EEPROM, ST MEMS, USART, IrDA up to version C07 of the board, USB OTG HS, USB
OTG FS, Ethernet, Audio, CAN bus, smartcard, microSD card and motor control) and
Figure 3 locates these features on the evaluation board.
Note that for every figure (layouts and schematics) of this user manual, whenever IrDA is
indicated it is only significant for board version up to C07, since IrDA has not been
populated on latest versions of the board (so IrDA is not present from the C08 board
onwards).
8/68
DocID018499 Rev 6
UM1057
Hardware layout and configuration
Figure 2. Hardware layout and configuration
9UHJXODWRU
86%SRZHU
VZLWFK
9UHJXODWRU
27*+6
9UHJXODWRU
$'&
9UHJXODWRU
86%+6
3+<
86%0LFUR$%
FRQQHFWRU
0LFURSKRQH
$PSOLILHU
$XGLR-DFN
'$&
,6
,&
$XGLR'$&
0(06
((3520
/('V.H\
,2
H[SDQGHU
*3,2
670),*+
([WHQVLRQ
FRQQHFWRUIRU
*3,2V
-R\VWLFN
7RXFKVFUHHQ
'&0,
65$0
)60&
&DPHUD
PRGXOH
&DPHUDH[WHQVLRQ
FRQQHFWRU
86%0LFUR$%
FRQQHFWRU
27*)6
86%SRZHU
VZLWFK
7)7/&'
0LFUR6'
FDUG
6',2
0&FRQWURO
FRQQHFWRU
0&
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
1. IrDA is not populated on the board from version C08 of the board.
DocID018499 Rev 6
9/68
67
Hardware layout and configuration
UM1057
Figure 3. STM3220G-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
67/,1.9
&1
86$57
&1
7UDFH
&1&1
([WHQVLRQ
CONNECTOR $4"
&1
-7$*
&1
&RORU/&'
&1
$XGLRMDFN
&1
&DPHUDPRGXOH
&1
9SRZHUMDFN
&1
&DPHUDH[WHQVLRQ
FRQQHFWRU
59
3RWHQWLRPHWHU
%
%
5HVHW
%
:DNHXS
&1
6PDUWFDUG
%
7DPSHU
1. IrDA is not populated on the board from version C08 of the board.
10/68
DocID018499 Rev 6
8 8VHUNH\
-R\VWLFN
06 9
UM1057
2.1
Hardware layout and configuration
Power supply
The STM3220G-EVAL evaluation board is designed to be powered by 5 V DC power supply
and to be protected by PolyZen from a wrong power plug-in event. It is possible to configure
the evaluation board to use any of following five sources for the power supply:
•
5 V DC power adapter connected to JP18, the power jack on the board
•
5 V DC power with 500 mA limitation from CN8, the USB OTG FS Micro-AB connector
•
5 V DC power with 500 mA limitation from CN9, the USB OTG HS Micro-AB connector
•
5 V DC power with 500 mA limitation from CN21, the ST-LINK/V2 USB connector
•
5 V 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 in Table 2.
Table 2. Power related jumpers and solder bridges
Jumper
Description
JP4
Jumper reserved for future use (RFU).
Default setting: Fitted
JP32
MCU_VDD is connected to 3.3 V power when JP32 is closed and MCU current
consumption measurement can be done manually by multi-meter when JP32 is open.
Default setting: Fitted
JP18 selects one of the five possible power supply sources.
Selects the ST-LINK/V2 USB connector (CN21) power supply,
set JP18 as shown:
(Default setting)
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:
DocID018499 Rev 6
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
HS
FS
DTB
PSU
STlk
11/68
67
Hardware layout and configuration
UM1057
Table 2. Power related jumpers and solder bridges (continued)
Jumper
Description
To select USB OTG FS (CN8) power supply, set JP18 as shown:
HS
FS
DTB
PSU
STlk
To select USB OTG HS (CN9) power supply, set JP18 as shown:
HS
FS
DTB
PSU
STlk
JP18
(cont.)
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
To connect Vbat to the battery, set JP19 as shown:
JP19
1 2 3
To connect Vbat to 3.3 V power, set JP19 as shown: (Default setting)
1 2 3
Note:
LED LD9 is lit when the STM3220G-EVAL evaluation board is powered by 5 V correctly.
2.2
Boot option
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 3. Boot related jumpers
12/68
BOOT 0
BOOT 1
Boot source
0
1 or 0
1
1
STM3220G-EVAL boots from Embedded SRAM
1
0
STM3220G-EVAL boots from System Memory
STM3220G-EVAL boots from User Flash (Default setting)
DocID018499 Rev 6
UM1057
2.3
Hardware layout and configuration
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
The reset signal of STM3220G-EVAL evaluation board is low active and the reset sources
include:
2.5
•
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
Audio
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 the I2S2 port and the DAC channel and a microphone amplifier is connected
to ADC of the STM32F207IGH6. The CS43L22 can be configured via I2C1 and the external
PLL (U36) can provide an external clock which is connected to the I2S_CKIN pin (PC9).
Note:
To avoid speaker damage it is mandatory to connect the headphone to the board on CN11
during debug of audio code. When the program is stopped on a breakpoint, a DC voltage
may be applied to the speaker which induces power consumption incompatible with the
speaker.
Warning:
Signal I2S_SD (PI3) is close to signal TCK/SWCLK of the
JTAG/SWD interface, so to avoid possible communication
issues on JTAG/SWD when the I2S interface is used the
recommendations are to:
1) Prefer usage of embedded ST-LINK/V2 to external tool
connected on CN14.
2) Configure PI3 GPIO in low speed (2 MHz or 10 MHz).
DocID018499 Rev 6
13/68
67
Hardware layout and configuration
UM1057
Table 4. Audio related jumpers
Jumper
2.6
Description
JP16
Description of JP16 is in Table 11 on page 18.
JP33
The microphone amplifier can be disabled when JP33 is fitted. Default setting: Not fitted.
EEPROM
A 64 Kbit EEPROM is connected to the I2C1 bus of STM32F207IGH6.
Table 5. EEPROM related jumper and solder bridge
Jumper
JP24
2.7
Description
EEPROM is in Write Protection mode when JP24 is not fitted.
Default setting: Not fitted.
CAN
The STM3220G-EVAL evaluation board enables two channels of CAN2.0A/B compliant
CAN bus communication based on a 3.3 V CAN transceiver on one DB9 connector (CN10).
The two CAN buses can be disconnected by jumpers from the relevant STM32F207IGH6
I/Os which are shared with FSMC and USB OTG HS.
JP3 and JP10 must be refitted to enable CAN1 or CAN2 as listed in Table 6.
High-speed, Standby and Slope Control modes can be selected by setting jumper JP7.
Table 6. CAN-related jumpers
Jumper
Description
To connect CAN1_TX to CAN transceiver, set JP3 as shown:
JP3
To connect CAN2_TX to CAN transceiver, set JP3 as shown:
To connect CAN1_RX to CAN transceiver, set JP10 as shown:
JP10
1 2 3
1 2 3
1 2 3
To connect CAN2_RX to CAN transceiver, set JP10 as shown:
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).
14/68
DocID018499 Rev 6
1 2 3
UM1057
Hardware layout and configuration
Table 6. CAN-related jumpers (continued)
Jumper
Description
To enable the selected CAN transceiver to work in Standby mode, set JP7 as
shown:
JP7
To enable the selected CAN transceiver to work in High-speed mode, set JP7 as
shown (Default setting):
1 2 3
1 2 3
To enable the selected CAN transceiver to work in Slope Control mode, do not fit JP7.
JP9
To enable the terminal resistor for the selected CAN, fit a jumper on JP9.
(Default setting: Not fitted).
DocID018499 Rev 6
15/68
67
Hardware layout and configuration
2.8
UM1057
RS-232 and IrDA
Both RS-232 and IrDA communication is enabled by D-type 9-pin RS-232 connector (CN16)
and IrDA transceiver U11 which are connected to USART3 of STM32F207IGH6 on the
STM3220G-EVAL evaluation board.
The IrDA transceiver (TFDU6300) is not populated on the STM3220G-EVAL evaluation
board from version C08. The version of the board is written on sticker placed on bottom side
of the board (ex: MB786-C08). For boards version C08 or newer it is possible to solder
manually the TDFU6300 on U11 footprint to support IRDA feature.
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 JP22 (note that jumper JP22 position 2-3 is
unused from version C08), and ISP can be enabled by setting JP29 and JP34 as shown in
Table 7.
Table 7. RS-232 and IrDA related jumpers
Jumper
Description
To connect USART3_RX to IrDA transceiver and enable IrDA communication,
1 2 3
set JP22 as shown (this configuration is useless on the board from version C08):
JP22
To connect USART3_RX to RS-232 transceiver and enable RS-232
communication, set JP22 as shown (Default setting):
1 2 3
To enable microSD card, which shares same I/Os with RS-232, JP22 is not fitted.
16/68
JP29
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.
DocID018499 Rev 6
UM1057
2.9
Hardware layout and configuration
Motor control
The STM3220G-EVAL evaluation board enables a three-phase brushless motor control via
a 34-pin connector (CN5), which provides all required control and feedback signals to and
from the motor power-driving board. Available signals on this connector include emergency
stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature (coming from
the motor driving board) and 6 channels of PWM control signal going to the motor driving
circuit.
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.
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 8. Motor control solder bridges
Note:
1
Solder
bridge
Description
Multiplexed
peripherals
SB18
When closed, SB18 redirects the PFC synchronized signal to 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
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
Camera module
connected to
CN15
Ethernet
FSMC
Some 0 ohm resistors have to be removed or soldered to enable motor control application
except the solder bridges configurations mentioned above:
– R34, R58 & R51 to be removed
– R66, R204 & R205 to be soldered
2
microSD card must be removed from CN6 for motor control application.
DocID018499 Rev 6
17/68
67
Hardware layout and configuration
2.10
UM1057
Smartcard
STMicroelectronics smartcard interface chip ST8024 is used on STM3220G-EVAL board for
asynchronous 3 V and 5 V smartcards. It performs all supply protection and control
functions based on the connections with STM32F207IGH6 listed in Table 9:
Table 9. Connection between ST8024 and STM32F207IGH6
ST8024 signals
Description
Connect to
STM32F207IGH6
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
OFF
RSTIN
CMDVCC
Start activation sequence input (Active Low), share
same pin with I2S DAC and Motor control
PG12
Smartcard shares some I/Os with I2S bus for Audio. Some jumper settings need to be
reconfigured to enable smartcard as indicated below:
Table 10. Smartcard related jumper
Jumper
JP21
2.11
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.
microSD card
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.
Table 11. microSD card related jumpers
Jumper
JP22
Description
Description of JP22 is in Section 2.8: RS-232 and IrDA
PC9 is connected to microSD card_D1 when JP16 is set as shown to the right:
(Default setting):
JP16
18/68
PC9 is connected to I2S_CKIN when JP16 is set as show to the right:
DocID018499 Rev 6
1 2 3
1 2 3
UM1057
2.12
Hardware layout and configuration
ST MEMS
The ST MEMS device LIS302DL is connected to I2C1 bus of STM32F207IGH6 on the
board.
2.13
Potentiometer
There is one 10 kΩ 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.
2.15
USB OTG FS
The 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 5 V DC with a 500 mA current
limitation.
LED LD6 indicates that either:
•
Power switch (U1) is ON and the STM3220G-EVAL functions as a USB host or
•
VBUS is powered by another USB host while the STM3220G-EVAL functions as a USB
device.
LED LD5 indicates an over-current.
2.16
Ethernet
The 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:
DocID018499 Rev 6
19/68
67
Hardware layout and configuration
UM1057
Table 12. Ethernet related jumpers and solder bridges
Jumper
JP8
Description
JP8 selects MII or RMII interface mode.
To enable MII, JP8 is not fitted.
To enable RMII interface mode, JP8 is fitted.
Default setting: Not fitted.
To enable MII interface mode, set JP6 as shown (Default setting):
JP6
To enable RMII interface mode, set JP6 as shown:
To provide 25 MHz clock for MII or 50 MHz clock for RMII by MCO at PA8, set
JP5 as shown (Default setting):
JP5
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
Note:
20/68
SB1 selects 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 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.
DocID018499 Rev 6
UM1057
2.17
Hardware layout and configuration
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
5 V DC with a 500 mA current limitation.
LED LD7 indicates that power switch (U4) is ON and the STM3220G-EVAL is working as a
USB host or that VBUS is powered by another USB host when the STM3220G-EVAL is
working as a USB device. LD8 indicates an over-current.
The USB ULPI bus is shared with CAN2 bus, JP10 and JP3 must be kept open for USB
OTG HS.
Table 13. microSD card related jumper
Jumper
JP31
Description
To disable USB OTG PHY U8, JP31 is not fitted.
Default setting: Fitted.
Note:
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.
2.18
Camera module
A 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 (default setting) 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 14. Camera module related jumpers
Jumper
Note:
Description
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.
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 plug it into the right position as
shown on the picture below (pin 1 dot on top left corner of the socket).
It is not recommended to remove it in order to avoid false contact later.
DocID018499 Rev 6
21/68
67
Hardware layout and configuration
UM1057
Figure 4. Pin 1 camera plug
1. Picture is not contractual
The camera extension connector CN23 is available on the boards to connect the ST camera
plug-in board.
2.19
SRAM
The 16 Mbit SRAM is connected to FSMC bus of the STM32F207IGH6 which shares the
same I/Os with CAN1 bus. JP3 and JP10 must not be fitted for SRAM and LCD application.
Table 15. 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
22/68
Connect PE3 to trace connector CN13 as TRACE_D0 by setting JP2 as shown:
DocID018499 Rev 6
1 2 3
1 2 3
1 2 3
1 2 3
UM1057
2.20
Hardware layout and configuration
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
the 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 16. Third-party toolchain support
Manufacturer
Toolchain
Version
Atollic
TrueSTUDIO
2.1
IAR
EWARM
6.20.4
Keil
MDK-ARM
4.20
Tasking
VX-Toolset
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:
Note:
•
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
1
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).
2
If the I2S interface is used, refer to the warning in Chapter 2.5.
DocID018499 Rev 6
23/68
67
Hardware layout and configuration
2.21
UM1057
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 17. LCD modules
Pin on
CN19
Pin name
Pin connection
Pin on
CN19
Pin name
Pin connection
1
CS
FSMC_NE3 (PG10)
18
PD14
FSMC_D12
2
RS
FSMC_A0
19
PD15
FSMC_D13
3
WR/SCL
FSMC_NWE
20
PD16
FSMC_D14
4
RD
FSMC_NOE
21
PD17
FSMC_D15
5
RESET
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
FSMC_D11
34
YU
I/O expander U24
24/68
DocID018499 Rev 6
UM1057
Connectors
3
Connectors
3.1
Daughterboard extension connectors CN1, 2, 3 and 4
Four male headers, CN1, 2, 3 and 4, can be used to connect with a daughterboard or
standard wrapping board to 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 the STM3220G-EVAL evaluation board. Please refer to
tables from Table 18 to Table 21 for details.
Table 18. Daughterboard extension connector CN1
Pin
Description
Alternative function
How to disconnect with function block on
STM3220G-EVAL board
1
GND
-
-
3
PE3
Trace_D0 and FSMC_A19
Keep JP2 on 2<->3
5
PE5
Trace_D2
-
7
PI8
LCD_HSYNC
-
9
PC14
OSC32_IN
Remove R84, SB4 closed
11
PC15
OSC32_OUT
Remove R85, SB5 closed
13
PI10
MII_RX_ER
Remove RS3
15
PF0
FSMC_A0
-
17
PF2
FSMC_A2
-
19
GND
-
-
21
PF5
FSMC_A5
-
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
-
-
49
EMU_5V
-
-
DocID018499 Rev 6
25/68
67
Connectors
UM1057
Table 18. Daughterboard extension connector CN1 (continued)
Pin
Description
Alternative function
How to disconnect with function block on
STM3220G-EVAL board
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
LCD_CS
-
26
PF10
Audio_IN
Remove R196
28
PH1
OSC_OUT
Remove R86, SB7 closed
30
GND
-
-
32
PC2
MII_TXD2 & MC
SB12 open
34
VREF+
-
-
36
PA1
MII_RX_CLK
JP6 open
38
PH2
MII_CRS
Remove RS3
40
PH3
MII_COL
Remove RS3
42
PH5
OTG_FS_PowerSwitchOn
Remove R18
44
NC
-
-
46
NC
-
-
48
APP_3V3
-
-
50
GND
-
-
Table 19. Daughterboard extension connector CN2
Pin
26/68
Description
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
9
PC5
MII_RXD1
Remove R58
DocID018499 Rev 6
UM1057
Connectors
Table 19. Daughterboard extension connector CN2 (continued)
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
Pin
Description
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_VCC
-
-
4
PA4
Audio_DAC_OUT
Remove R115
6
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
-
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.
DocID018499 Rev 6
27/68
67
Connectors
UM1057
Table 19. Daughterboard extension connector CN2 (continued)
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
Pin
Description
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 20. Daughterboard extension connector CN3
Pin
28/68
Description
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
1
GND
-
-
3
PI1
I2S_CK
-
5
PH15
Smartcard_3/5V & MC
Disconnect motor control board from CN5
7
PH13
microSDCard_detect & 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
-
43
PH12
DCMI_D3 & MC
Remove camera module from CN15.
Disconnect motor control board from CN5.
45
NC
-
-
47
EMU_3V3
-
-
DocID018499 Rev 6
UM1057
Connectors
Table 20. Daughterboard extension connector CN3 (continued)
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
Pin
Description
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
-
-
DocID018499 Rev 6
29/68
67
Connectors
UM1057
Table 21. Daughterboard extension connector CN4
Pin
30/68
Description
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
1
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
Remove R103
15
PB4
TRST
-
17
PG15
User button
Remove R150
19
GND
-
-
21
PG12
Smartcard_CMDVCC &
CLD_VSYNC
Remove R128
23
PG10
FSMC_NE3
Remove LCD board MB785 from CN19
25
PD7
FSMC_NE1
Remove R52
27
PD5
FSMC_NWE
-
29
PD3
FSMC_CLK
-
31
PD2
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
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
-
DocID018499 Rev 6
UM1057
Connectors
Table 21. Daughterboard extension connector CN4 (continued)
3.2
Alternative Function
How to disconnect with function block on
STM3220G-EVAL board
Pin
Description
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
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
-
Motor control connector CN5
Figure 5. Motor Control connector CN5
6IEWEDFROMABOVE0#"
-36
Table 22. Motor Control connector CN5
Description
STM32F207IGH6
pin
CN5 pin CN5 pin
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
PWM-WL
PH15
13
14
PC4
BUS voltage
DocID018499 Rev 6
31/68
67
Connectors
UM1057
Table 22. Motor Control connector CN5 (continued)
Description
3.3
STM32F207IGH6
pin
CN5 pin CN5 pin
STM32F207IGH6
pin
Description
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
23
24
-
GND
+5V power
+5V
25
26
PC5
Heatsink
temperature
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
PB8
Encoder Index
microSD connector CN6
Figure 6. microSD connector CN6
Table 23. microSD connector CN6
32/68
Pin number
Description
Pin number
Description
1
SDIO_D2 (PC10)
5
SDIO_CLK (PC12)
2
SDIO_D3 (PC11)
6
Vss/GND
3
SDIO_CMD (PD2)
7
SDIO_D0 (PC8)
4
+3V3
8
SDIO_D1 (PC9)
-
-
10
microSDCard_detect (PH13)
DocID018499 Rev 6
UM1057
3.4
Connectors
Ethernet RJ45 connector CN7
Figure 7. Ethernet RJ45 connector CN7
)URQWYLHZ
06Y9
Table 24. RJ45 connector CN7
3.5
Pin
number
Description
Pin
number
Description
1
TxData+
2
TxData-
3
RxData+
4
Shield
5
Shield
6
RxData-
7
Shield
8
Shield
USB OTG FS Micro-AB connector CN8
Figure 8. USB OTG FS Micro-AB connector CN8
&ƌŽŶƚǀŝĞǁ
06Y9
Table 25. USB OTG FS Micro-AB connector CN8
Pin number
Description
Pin number
Description
1
VBUS (PA9)
4
ID (PA10)
2
D- (PA11)
5
GND
3
D+ (PA12)
-
-
DocID018499 Rev 6
33/68
67
Connectors
3.6
UM1057
USB OTG HS Micro-AB connector CN9
Figure 9. USB OTG HS Micro-AB connector CN9
&ƌŽŶƚǀŝĞǁ
06Y9
Table 26. USB OTG HS Micro-AB connector CN9
3.7
Pin number
Description
Pin number
Description
1
VBUS
4
ID
2
D-
5
GND
3
D+
-
-
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
06Y9
Table 27. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
3.8
Pin number
Description
Pin number
Description
1,4,8,9
NC
7
CANH
3,5,6
GND
2
CANL
Audio connector CN11
A 3.5 mm stereo audio jack CN11 is available on the STM3220G-EVAL board to support a
headset (headphone & microphone integrated).
34/68
DocID018499 Rev 6
UM1057
3.9
Connectors
Trace debug connector CN13
Figure 11. Trace debug connector CN13
ϭϵϭϳϭϱϭϯϭϭϵϳϱϯϭ
ϮϬϭϴϭϲϭϰϭϮϭϬϴϲϰϮ
sŝĞǁĞĚĨƌŽŵĂďŽǀĞW
06Y9
Table 28. Trace debugging connector CN13
3.10
Pin number
Description
Pin number
Description
1
3.3 V 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
JTAG debug connector CN14
Figure 12. JTAG debug connector CN14
ϭϵϭϳϭϱϭϯϭϭϵϳϱϯϭ
ϮϬϭϴϭϲϭϰϭϮϭϬϴϲϰϮ
sŝĞǁĞĚĨƌŽŵĂďŽǀĞW
06Y9
Table 29. JTAG debug connector CN14
Pin number
Description
Pin number
Description
1
3.3 V power
2
3.3 V power
3
PB4
4
GND
5
PA15
6
GND
7
PA13
8
GND
DocID018499 Rev 6
35/68
67
Connectors
UM1057
Table 29. JTAG debug connector CN14 (continued)
3.11
Pin number
Description
Pin number
Description
9
PA14
10
GND
11
RTCK
12
GND
13
PB3
14
GND
15
RESET#
16
GND
17
DBGRQ
18
GND
19
DBGACK
20
GND
Camera module connector CN15
Figure 13. Camera module connector CN15
)URQWYLHZ
06Y9
Table 30. Camera module connector CN15
36/68
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)
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
DocID018499 Rev 6
UM1057
3.12
Connectors
RS-232 connector CN16
Figure 14. RS-232 connector CN16 with ISP support
)URQWYLHZ
06Y9
Table 31. RS-232 connector CN16 with ISP support
3.13
Pin number
Description
Pin number
Description
1
NC
6
Bootloader_BOOT0
2
RS232_RX (PC11)
7
NC
3
RS232_TX (PC10)
8
Bootloader_RESET
4
NC
9
NC
5
GND
-
-
Power connector CN18
The STM3220G-EVAL evaluation board can be powered from a 5 V 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
нϱs
'E
06Y9
3.14
TFT LCD connector CN19
One 34-pin male header CN19 is available on the board for connecting LCD module board
MB785. Please refer to Section 2.21: Display and input devices for details.
DocID018499 Rev 6
37/68
67
Connectors
3.15
UM1057
Smartcard connector CN20
Figure 16. Smartcard connector CN20
)URQWYLHZ
06Y9
Table 32. Smartcard connector CN20
3.16
Pin number
Description
Pin
number
Description
1
VCC
5
GND
2
RST
6
NC
3
CLK
7
I/O
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
STM3220G-EVAL evaluation board and the PC for board debugging.
3.17
Camera extension connector CN23
Table 33. Camera extension connector CN23
38/68
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
11
GND
12
GND
13
SCL
14
SDA
15
Camera_Plug
16
GND
17
Camera_RST
18
NC
DocID018499 Rev 6
UM1057
Connectors
Table 33. Camera extension connector CN23 (continued)
3.18
Pin number
Description
Pin number
Description
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
STM3221G-EVAL pinout
Table 34. STM3220G-EVAL pinout
Pin no.
Pin name
Description
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
LED2
E3
PI10
ETHER_RX_ER
E4
PI11
USB_HS_DIR
F2
VSS_13
-
F3
VDD_13
-
E2
PF0
FSMC_A0
H3
PF1
FSMC_A1
H2
PF2
FSMC_A2
J2
PF3
FSMC_A3
VBAT
DocID018499 Rev 6
39/68
67
Connectors
UM1057
Table 34. STM3220G-EVAL pinout (continued)
40/68
Pin no.
Pin name
Description
J3
PF4
FSMC_A4
K3
PF5
FSMC_A5
G2
VSS_5
-
G3
VDD_5
-
K2
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)
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
USB_HS_NXT
J4
PH5
USB_FS_POWER_ON
R2
PA3
USB_HS_D0
L4
BYPASS
K4
VDD_4
N4
PA4
Audio_DAC_OUT
P4
PA5
USB_HS_CK
P3
PA6
CAM_PIXCK
R3
PA7
ETHER_DV
N5
PC4
ETHER_RXD0 / MC_ADC12_14 pin 14 (Bus voltage)
OSC_OUT
RESET_BUTTON
WAKEUP_BUTTON
BYPASS
-
DocID018499 Rev 6
UM1057
Connectors
Table 34. STM3220G-EVAL pinout (continued)
Pin no.
Pin name
Description
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
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
USB_HS_D3
R13
PB11
ULPI_D4
M10
VCAP1
VCAP / 1.2V
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)
L12
PH11
CAM_D2 / MC_TIM3_CH2 pin 27 (PFCSYNC)
DocID018499 Rev 6
41/68
67
Connectors
UM1057
Table 34. STM3220G-EVAL pinout (continued)
42/68
Pin no.
Pin name
Description
K12
PH12
H12
VSS_14
-
J12
VDD_14
-
P12
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
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
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
D15
PA10
USB_FS_ID
C15
PA11
USB_FS_DM
B15
PA12
USB_FS_DP
A15
PA13
JTAG_TMS
CAM_D3 / TIM5_CH3 pin 29 (PFCPWM)
-
DocID018499 Rev 6
UM1057
Connectors
Table 34. STM3220G-EVAL pinout (continued)
Pin no.
Pin name
Description
F13
VCAP2
VCAP / 1.2V
F12
VSS 2
-
G13
VDD_2
-
E12
PH13
MC_TIM8_CH1N pin 5 (UL) / microSDCard_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
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
FSMC_NWAIT
A11
PD7
FSMC_NE1
C10
PG9
FSMC_NE2
B10
PG10
FSMC_NE3
B9
PG11
ETHER_TXEN
B8
PG12
SmartCard_CMDVCC
A8
PG13
ETHER_TXD0
A7
PG14
ETHER_TXD1
D7
VSS_11
-
C7
VDD_11
-
DocID018499 Rev 6
43/68
67
Connectors
UM1057
Table 34. STM3220G-EVAL pinout (continued)
44/68
Pin no.
Pin name
Description
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
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
CAM_D5 / MC_TIM8_BKIN pin 1 (Stop)
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)
USER_BUTTON
BOOT0
POR Disable
-
DocID018499 Rev 6
UM1057
Schematics
Appendix A
Schematics
Appendix A contains the schematic diagrams listed below:
•
Figure 17: STM3220G-EVAL on page 46
•
Figure 18: MCU on page 47
•
Figure 19: USB OTG HS on page 48
•
Figure 20: Camera on page 49
•
Figure 21: Ethernet on page 50
•
Figure 22: Audio on page 51
•
Figure 23: USB OTG FS on page 52
•
Figure 24: SRAM on page 53
•
Figure 25: LCD on page 54
•
Figure 26: RS-232 and IrDA on page 55
•
Figure 27: CAN on page 56
•
Figure 28: I/O peripherals on page 57
•
Figure 29: I/O expander on page 58
•
Figure 30: microSD card on page 59
•
Figure 31: Motor control on page 60
•
Figure 32: Smartcard on page 61
•
Figure 33: JTAG and trace on page 62
•
Figure 34: Power on page 63
•
Figure 35: Extension connector on page 64
•
Figure 36: STLINK/V2 on page 65
•
Figure 37: 3.2” LCD module with SPI and 16-bit interface on page 66
DocID018499 Rev 6
45/68
67
U_Audio
Audio.SchDoc
2
Audio_IN
I2S_CKIN
MCO
I2S_MCK
Audio_RST
Audio_SDA
Audio_SCL
I2S_SCK
I2S_SD
I2S_WS
Audio_DAC_OUT
A
U_ExtensionConnector
ExtensionConnector.SchDoc
B
ULPI_NXT
ULPI_DIR
ULPI_CLK
LED4
LED3
LED1
LED2
EEPROM_SCL
EEPROM_SDA
MEMS_SCL
MEMS_SDA
Potentiometer
Anti_Tamper
WAKEUP
User_Button
DocID018499 Rev 6
I2C1_SCL
I2C1_SDA
IO_Expandor_INT
CAN1_TX
CAN2_TX
CAN2_RX
CAN1_RX
MCO
MII_MDIO
MII_MDC
MII_TX_EN
MII_TXD0
U_MotorControl
MotorControl.SchDoc
MC_EmergencySTOP
MC_CurrentA
MC_CurrentB
MC_CurrentC
MC_EnA
MC_EnB
MC_HeatsinkTemperature
MC_BusVoltage
MC_EnIndex
MC_PFCpwm
MC_DissipativeBrake
MC_NTC
MC_WH
MC_UL
MC_UH
MC_VL
MC_VH
MC_WL
MC_PFCsync2
MC_PFCsync1
MC_PFCpwm
MC_DissipativeBrake
MC_NTC
MC_WH
MC_UL
MC_UH
MC_VL
MC_VH
MC_WL
MC_PFCsync2
MC_PFCsync1
R103
R111
EXP_IO1
EXP_IO2
EXP_IO3
EXP_IO4
EXP_IO5
EXP_IO10
EXP_IO9
IO_Expandor_SCK
IO_Expandor_SDA
IO_Expandor_INT
U_CAN
CAN.SchDoc
CAN1_TX
CAN2_TX
CAN2_RX
CAN1_RX
B
R118 R133
1K5 1K5
LCD_VSYNC
LCD_HSYNC
LCD_CS
RESET#
TouchScreen_YD[0..15]
TouchScreen_Y+
A[0..20]
TouchScreen_XFSMC_NWETouchScreen_X+
FSMC_NOE
FSMC_NE3
PC[0..15]
+2V8
TouchScreen_YTouchScreen_Y+
TouchScreen_XTouchScreen_X+
U_LCD
LCD.SchDoc
U_SRAM&OneNAND
SRAM&OneNAND.SchDoc
A[0..20]
D[0..15]
FSMC_NE1
FSMC_NE2
FSMC_NWE
FSMC_NOE
FSMC_BLN0
FSMC_BLN1
FSMC_CLK
FSMC_NL
OneNAND_INT
FSMC_NWAIT
FSMC_NE1
FSMC_NE2
FSMC_BLN0
FSMC_BLN1
FSMC_CLK
FSMC_NL
OneNAND_INT
FSMC_NWAIT
TMS/SWDIO
TDO/SWO
TDI
TRST
TCK/SWCLK
U_Power
Power.SchDoc
C
U_ST_LINK
ST_LINK.SCHDOC
RESET#
U_JTAG&Trace
JTAG&Trace.SchDoc
TRACE_D3
TRACE_D2
TRACE_D1
TRACE_D0
TRACE_CK
TDO/SWO
TCK/SWCLK
TMS/SWDIO
TRST
TRACE_D3
TRACE_D2
TRACE_D1
TRACE_D0
TRACE_CK
TDO/SWO
TCK/SWCLK
TMS/SWDIO
TRST
RESET#
TDI
Modifications on PCB rev.C.1:
1. Add capacitor CX1.
2. Add RESET# connection on pin C4 of U8.
3. Add SB1&R212 related configuration table.
4. Change F4 MCU partnumber.
5. Remove PC12 from LCD extention connector CN22
Modifications on PCB rev.C.2:
1. Add note to highlight capacitors C33 & C50 are ceramic capacitor with low ESR.
U_MicroSDCard
MicroSDCard.SchDoc
D
Modifications on PCB rev.C.3:
1. Add note to remove TFDU6300 (U11) on board by default.
MicroSDCard_CLK
MicroSDCard_CMD
MicroSDCard_D0
MicroSDCard_D1
MicroSDCard_D2
MicroSDCard_D3
MicroSDCard_Detect
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL
Number:MB786
1
2
3
4
5
6
Rev: C.3(PCB.SCH) Date: 7/20/2016
7
Sheet 1
8
of
20
UM1057
MicroSDCard_CLK
SmartCard_OFF
MicroSDCard_CMD
SmartCard_CMDVCC
MicroSDCard_D0
SmartCard_CLK
MicroSDCard_D1
SmartCard_RST
MicroSDCard_D2
SmartCard_IO
MicroSDCard_D3
SmartCard_3/5V
MicroSDCard_Detect
SmartCard_OFF
SmartCard_CMDVCC
SmartCard_CLK
SmartCard_RST
SmartCard_IO
SmartCard_3/5V
EXP_IO6
EXP_IO11
EXP_IO12
EXP_IO8
EXP_IO7
0
0
TDI
U_SmartCard
SmartCard.SchDoc
D
U_IO_Expandor
IO_Expandor.SchDoc
JOY_SEL
JOY_DOWN
JOY_LEFT
JOY_RIGHT
JOY_UP
MEMS_INT1
MEMS_INT2
Potentiometer
Anti_Tamper
WAKEUP
User_Button
MII_TX_CLK
LCD_VSYNC
MII_RXD0
LCD_HSYNC
MII_RX_ER
LCD_CS
MII_RX_DV/RMII_CRSDV
MII_RX_CLK/RMII_REF_CLK
D[0..15]
MII_COL
A[0..20]
MII_CRS
FSMC_NWE
MII_RXD1
FSMC_NOE
MII_RXD2
FSMC_NE3
MII_RXD3
MII_INT
MII_TXD3
MII_TXD2
MII_TXD1
MC_EmergencySTOP
MC_CurrentA
MC_CurrentB
MC_CurrentC
MC_EnA
MC_EnB
MC_HeatsinkTemperature
MC_BusVoltage
MC_EnIndex
A
OTG_FS_PowerSwitchOn
OTG_FS_DM
OTG_FS_DP
OTG_FS_ID
OTG_FS_OverCurrent
LED4
LED3
LED1
LED2
DCMI_D[0..7]
MII_TX_CLK
MII_RXD0
MII_RX_ER
MII_RX_DV/RMII_CRSDV
MII_RX_CLK/RMII_REF_CLK
MII_COL
MII_CRS
MII_RXD1
MII_RXD2
MII_RXD3
MII_INT
MII_TXD3
MII_TXD2
MII_TXD1
RESET#
MCO
MII_MDIO
MII_MDC
MII_TX_EN
MII_TXD0
8
U_USB_OTG_HS
USB_OTG_HS.SchDoc
U_IO Peripherals
IO Peripherals.SchDoc
BOOT0
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]
DCMI_PIXCK
DCMI_VSYNC
DCMI_HSYNC
7
U_USB_OTG_FS
USB_OTG_FS.SchDoc
OTG_FS_PowerSwitchOn
RS232/IrDA_RX
OTG_FS_DM
Bootloader_BOOT0
OTG_FS_DP
Bootloader_RESET
OTG_FS_ID
RS232/IrDA_TX
OTG_FS_OverCurrent
Camera_PLUG DCMI_PIXCK
DCMI_VSYNC
DCMI_HSYNC
I2C1_SDA
I2C1_SCL
Camera_XSDN
Camera_RST
DCMI_D[0..7]
6
ULPI_D[0..7]
ULPI_STP
RESET#
U_MCU
MCU.SchDoc
ULPI_NXT
ULPI_DIR
ULPI_CLK
U_Ethernet
Ethernet.SchDoc
C
5
ULPI_D[0..7]
ULPI_STP
I2S_SCK
I2S_SD
I2S_WS
Audio_DAC_OUT
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
4
I2S_MCK
Audio_IN
I2S_CKIN
RS232/IrDA_RX
Bootloader_BOOT0
Bootloader_RESET
RS232/IrDA_TX
U_USART&IrDA
USART&IrDA.SchDoc
U_Camera connector
Camera connector.SchDoc
3
Schematics
46/68
Figure 17. STM3220G-EVAL
1
2
3
U16A
MII_RXD0
MC_BusVoltage
MII_RXD1
R34
0
R204
[N/A]
R58
R5
R4
M6
A10
A9
A6
B6
B5
A5
B4
R12
R13
P12
P13
R14
R15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
M2
M3
M4
M5
N5
P5
H15
G15
G14
F14
B14
B13
A12
D1
CPUCK
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
B12
C12
D12
D11
D10
C11
B11
A11
P15
P14
N15
N14
N13
M15
M14
L14
ULPI_D7
I2C1_SDA
SB11
ULPI_D3
ULPI_D4
ULPI_D5
ULPI_D6
MII_INT
OneNAND_INT
MC_CurrentA
MII_MDC
SB12
DocID018499 Rev 6
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
ULPI_D1
ULPI_D2
CAN2_TX
MC_CurrentB
MII_TXD2
MC_CurrentC
MII_TX_CLK
PA10
PA11
PA12
PA13
PA14
PA15
N3
N2
P2
R2
N4
P4
P3
R3
F15
E15
D15
C15
B15
A15
A14
A13
I2C1_SCL
FSMC_NL
0
R205
MC_HeatsinkTemperature
[N/A]
B
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
ULPI_D0
Audio_DAC_OUT
ULPI_CLK
DCMI_PIXCK
MII_RX_DV/RMII_CRSDV
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
SB10
R66
R51
I2S_MCK
SmartCard_IO
MicroSDCard_D0
MC_DissipativeBrake
ULPI_STP
[N/A]
0
LED4
JP21
MicroSDCard_D2
RS232/IrDA_TX
MicroSDCard_D3
MicroSDCard_CLK
Anti_Tamper
TP15
D2
D3
CAN1_RX
MicroSDCard_CMD
FSMC_CLK
FSMC_NOE
FSMC_NWE
FSMC_NWAIT
FSMC_NE1
CAN1_TX
D13
D14
D15
1
MicroSDCard_D1
2
C
A16
A17
A18
3
I2S_CKIN
A[0..20]
A[0..20]
JP16
SB14
MC_EnB
SB15
D0
D1
D[0..15]
D[0..15]
MC_EnA
PH0
PH1
G1
H1
PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PG15
PG14
PG13
PG12
PG11
PG10
PG9
PG8
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PH15
PH14
PH13
PH12
PH11
PH10
PH9
PH8
PH7
PH6
PH5
PH4
PH3
PH2
PH0
PH1
PI11
PI10
PI9
PI8
PI7
PI6
PI5
PI4
PI3
PI2
PI1
PI0
PC14
PC15
E1
F1
R86
390
X4
25MHz (with socket)
C72
20pF
C73
20pF
X3
R84
0
R85
0
1
4
C70 2
6.8pF
3
J1
D6
C71
6.8pF
R89
10K
JP29
100nF
P7
R7
N6
P6
R6
L1
L2
L3
K1
K2
K3
J3
J2
H2
H3
E2
PF15
PF14
PF13
PF12
PF11
PF10
PF9
PF8
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
B7
A7
A8
B8
B9
B10
C10
H14
J14
J15
K13
K14
K15
L15
M7
N7
PG15
PG14
PG13
PG12
PG11
PG10
PG9
PG8
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
D13
E13
E12
K12
L12
L13
M13
M12
N12
M11
J4
H4
G4
F4
PH15
PH14
PH13
PH12
PH11
PH10
PH9
PH8
PH7
PH6
PH5
PH4
PH3
PH2
E4
E3
D3
D2
C2
C3
C4
D4
C13
C14
D14
E14
PI11
PI10
PI9
PI8
PI7
PI6
PI5
PI4
PI3
PI2
PI1
PI0
D12
D11
D10
D9
D8
D7
D6
D5
D4
U16B
C75
1uF
TRACE_D3
TRACE_D2
3
VDD_MCU
PE4
2
1
PE2
PE1
PE0
TRACE_CK
FSMC_BLN1
FSMC_BLN0
JP1
3
TRACE_D1
L3
BEAD TP5
VREF
PE3
1
R87
TRACE_D0
JP2
VREF+
VDDA
C74
1uF
OTG_FS_OverCurrent
Audio_IN
Potentiometer
LCD_CS
SmartCard_RST
SmartCard_OFF
C69
100nF
R81
10K
L4
C6
M1
F13
M10
R71
10K
C50
2.2uF
C33
2.2uF
CR1220 holder
Ceramic capacitor (Low ESR)
MII_TX_EN
FSMC_NE3
FSMC_NE2
LED2
SmartCard_CLK
LED1
SmartCard_CMDVCC
LCD_VSYNC
MC_WL
SmartCard_3/5V
VDD_MCU
MC_VL
MC_UL
MicroSDCard_Detect
MC_PFCpwm
MC_PFCsync1
MC_PFCsync2
MC_NTC
DCMI_HSYNC
DCMI_D3
DCMI_D2
DCMI_D1
DCMI_D0
B
- RFU means Reserved for Future Use.
- As an option, RFU could be tied to VDD or VSS for forward
compatibility with future STM32F products. However, user may leave
RFU pin connected to VDD, or VSS, or NC for STM32F2xx exclusive
use.
- JP4 should be fitted for future backward compatibility with sTM32F2xx.
C65
C49
C53
C57
C56
C36
C61
C66
100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF
VDD_MCU
MII_RXD3
MII_RXD2
OTG_FS_PowerSwitchOn
ULPI_NXT
MII_COL
MII_CRS
C58
4.7uF
C34
C67
C54
C60
C48
C37
C35
100nF 100nF 100nF 100nF 100nF 100nF 100nF
MC_WH
MC_VH
MC_UH
DCMI_VSYNC
DCMI_D5
I2S_SD
IO_Expandor_INT
I2S_SCK
I2S_WS
PA[0..15]
PB[0..15]
SB16
PC[0..15]
MC_EmergencySTOP
PD[0..15]
DCMI_D[0..7]
DCMI_D[0..7]
PF[0..15]
PH[0..15]
PI[0..11]
PA[0..15]
PB[0..15]
PC[0..15]
PD[0..15]
PE[0..15]
PF[0..15]
PG[0..15]
PH[0..15]
D
PI[0..11]
+3V3
do not fit
STMicroelectronics
Bootloader_BOOT0
JP34
Bootloader_RESET
47/68
Title:
BAT60JFILM
STM32 20-21-45-46 G-EVAL MCU
Number:MB786
3
4
C
ULPI_DIR
MII_RX_ER
LED3
LCD_HSYNC
R137
D2
2
A
JP4
Optional
STM32F207IFT6
+3V3
D1
BAT60JFILM
RESET#
1
+3V3
JP19
PE[0..15]
STM32F207IGH6
STM32F217IGH6
STM32F407IGH6
STM32F417IGH6
F2
G2
M8
M9
H12
G12
F12
D9
D8
D7
D5
N1
BT1
DCMI_D4
DCMI_D7
DCMI_D6
P1
R1
C1
47
User_Button
MII_TXD1
MII_TXD0
A15
A14
A13
A12
A11
A10
VDD_SA
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD VSS_SA
VDD VREFVDD
BYPASS_REG
RFU
VREF+ VSSA
VDDA VCAP
VBAT VCAP
2
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
C5
C7
C8
C9
G13
H13
J13
C68
100nF J12
N10
N8
N9
K4
F3
G3
VDD_MCU
A19
A20
PG[0..15]
3
1
+3V3
PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
SW2
09.03290.01
RESET
C123
NRST
BOOT0
R11
P11
N11
R10
P10
R9
P9
P8
R8
B3
B2
B1
A1
A2
A3
A4
5
6
Rev: C.3(PCB.SCH) Date: 7/20/2016
7
Sheet 2
8
of 20
Schematics
D
3
2
MC306-G-06Q-32.768 (manufacturer JFVNY)
B1
1
2
4
PC14
PC15
BOOT0
BOOT0
IOs Multiplexed
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
TP16
MCO2
RS232/IrDA_RX
8
2
MII_TXD3
MC_EnIndex
7
3
MCO1
WAKEUP
MII_RX_CLK/RMII_REF_CLK
MII_MDIO
CAN2_RX
A
6
1
TP2
PTP_PPS
5
ULPI_D[0..7]
ULPI_D[0..7]
TP14
IOs Multiplexed
4
UM1057
Figure 18. MCU
1
1
2
3
Schematics
48/68
Figure 19. USB OTG HS
4
+3V3
A
A
R28
330
+3V3
+3V3
1
LD7
Green
R29
2
10K
LD8
2
1
R32
620
0
PB5
PB13
PB12
PB11
PB10
PB1
PB0
PA3
ULPI_D7
ULPI_D6
ULPI_D5
ULPI_D4
ULPI_D3
ULPI_D2
ULPI_D1
ULPI_D0
C6
B6
A6
A5
A3
A2
A1
B1
F6
F5
R70
100K
R55
JP31
D7
D6
D5
D4
D3
D2
D1
D0
PSW_N
FAULT
RREF
VBUS
DM
DP
ID
VCC(I/O)
VCC(I/O)
VCC
REG_3V3
REG1V8
NC
NC
XTAL2
CFG0
XTAL1
CFG1
CFG2
GND
CHIP_SEL_N
GND
RESET_N
GND
D4
E2
C2 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
E4
0.1uF
STMPS2141STR@54
R206
[N/A]
R46
U10
USBULC6-2F3
C26
0.1uF
C44
4.7uF
CN9
VBUS_HS 475900001
1
VBUS
2
DM
3
DP
4
ID
5
GND
2K2
C42
0.1uF
C39
0.1uF
C29
0.1uF
C43
0.1uF
U12
ESDA14V2-2BF3
0
Shield
C46
0.1uF
C47
0.1uF
C64
0.1uF
B
C131
0.1uF
R72 ISP1705AET
[N/A]
1M
C
C3
C4
NXT
DIR
STP
CLOCK
A2
A1
ULPI_D[0..7]
R69
D5
E5
D6
A4
T3
9013
2
47K
B2
B1
DocID018499 Rev 6
ULPI_D[0..7]
0
0
R207
C25
4.7uF
A2
A1
B
R61
R62
Red
B2
B1
PH4
PI11
PC0
PA5
ULPI_NXT
ULPI_DIR
ULPI_STP
ULPI_CLK
3
1
1
U8
GND FAULT
IN
OUT
EN
3
U4
2
5
4
+5V
USB_Micro-AB receptacle
R31
10K
C
X2
+3V3
+3V3
26MHz
C40
33pF
C41
33pF
RESET#
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL USB OTG HS
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 3
of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 20. Camera
4
A
A
+2V5
U27
4
1
R130
10K
B
VCC OUT
EN
GND
3
2
Camera_CLK
CN15
SM7745HEW-24.0M
DCMI_PIXCK
DCMI_VSYNC
DCMI_HSYNC
DCMI_D[0..7]
PIXCLK
PA6
VSYSC
PI5
HSYSC
PH8
DCMI_D[0..7]
DocID018499 Rev 6
+2V8
R108
10K
Camera_RST
PB6
PB9
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
13
17
7
9
19
21
22
20
18
16
14
12
Camera_RST
6
8
SCL
SDA
5
3
C149
0.1uF
+2V8
XCLK1 AVDD(2.8V)
PCLK
DVDD(1.8V)
VSYNC DOVDD(2.8V)
HREF
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
RESET
PWDN
DGND
DGND
DGND
AGND
AGND
SIO_C
SIO_D
4
10
11
+1V8
+2V8
+1V8
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
+2V8
C90
0.1uF
C85
0.1uF
C84
0.1uF
R213
10K
SCL
Camera_PLUG
Camera_RST
Camera_XSDN
DCMI_D0
DCMI_D2
DCMI_D4
DCMI_D6
HSYSC
PIXCLK
15
2
1
24
23
24-5805-024-000-829+
R109
10K
CN23
CLM-120-02-L-D
+2V8
C151
0.1uF
JP26
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
C150
0.1uF
+1V8
B
SDA
Camera_CLK
DCMI_D1
DCMI_D3
DCMI_D5
DCMI_D7
VSYSC
+2V8
C152
0.1uF
C
C
+2V8
D
D
Title:
STM32 20-21-45-46 G-EVAL Camera
Number:MB786
49/68
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 4
of
20
Schematics
STMicroelectronics
1
2
PH2
PI10
PH3
PH7
PH6
PB8
PC2
PC3
MII_CRS
MII_RX_ER
MII_COL
MII_RXD3
MII_RXD2
MII_TXD3
MII_TXD2
MII_TX_CLK
A
3
A
+3V3
R43
1.5K
RS5
51
C7
0.1uF
RS3
51
1
2
3
4
5
6
PG11
PG13
PG14
51
RS2
DocID018499 Rev 6
+3V3
R40
43
44
45
46
41
39
38
PC5
PC4
PA7
MII_RXD1
MII_RXD0
MII_RX_DV/RMII_CRSDV
JP8
51
2K2
42
40
3
MII_RX_CLK/RMII_REF_CLK
2
PA1
1
Board configuration
STM324xG-EVAL
STM322xG-EVAL
SB1
Close
Open
PC1
PA2
MII_MDC
MII_MDIO
RESET#
SB1
JP6
R212
Not fitted
150ohm
R44
31
30
0
+3V3
MII_INT
R212
PB14
R42
33
34
25
0
TP1
X1
25MHz
25MHz (with socket)
C15
22pF
C14
22pF
R25
4.87K
JP5
1
2
R208
MCO
PA8
29
7
2K2
R41
0
150
R24
C
3
24
37
18
23
TD+
TDRD+
RDNC
NC
NC
NC
NC
RXD_0/PHYAD1
RXD_1/PHYAD2
RXD_2/PHYAD3
RXD_3/PHYAD4
RX_ER/MDIX_EN
RX_DV/MII_MODE
RX_CLK
R22 R1
240 240
17
16
14
13
12
11
10
9
8
1
4
2
3
5
6
9
10
12
11
COL/PHYAD0
CRS/CRS_DV/LED_CFG
MDC
MDIO
RS1
LED_LINK/AN0
LED_SPEED/AN1
LED_ACT/COL/AN_EN
RESET_N
PWR_DOWN/INT
NC
NC
AVDD33
IOVDD33
IOVDD33
X2
X1
25MHz_OUT
AGND
AGND
IOGND
IOGND
DGND
RBIAS
PFBIN2
PFBIN1
PFBOUT
7
8
13
14
+3V3
TD+
TCT
TDRD+
RCT
RDLED(green)_A
LED(green)_K
LED(Yellow)_A
LED(Yellow)_K
B
NC
CHS GND
Shield
Shield
J0011D21B
Second source: SI-60116-F
28
27
26
21 R30
20 R33
22
48
32
2K2
2K2
2K2
+3V3
+3V3
C
19
15
47
35
36
DP83848CVV
+3V3
U3
4
1
R26
10K
C6
0.1uF
CN7
TX_CLK
TX_EN
TXD_0
TXD_1
TXD_2
TXD_3/SNI_MODE
51
+3V3
RS4
51
U5
RS6
B
4
+3V3
Unused in RMII mode
MII_TX_EN
MII_TXD0
MII_TXD1
Schematics
50/68
Figure 21. Ethernet
VCC OUT
EN
GND
C21
0.1uF
3
2
C17
0.1uF
C19
0.1uF
C13
10uF
C16
0.1uF
C27
0.1uF
C20
0.1uF
SM7745HEV-50.0M (do not fit)
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL Ethernet
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 5
of
20
UM1057
Number:MB786
1
C159
2
3
UM1057
Figure 22. Audio
4
+3V3
+3V3
1uF
C158 0.1uF
A
I2S_CKIN
U36
1
2
3
4
5
PC9
VD
GND
CLK_OUT
AUX_OUT
TST_IN
SDA/CDIN
SCL/CCLK
AD0/CS
XTI/REF_CLK
XTO
10
9
8
7
6
R221
10K
R209
PA8
R211
0
0
A
MCO
R110
51
R112
51
CS2200-CP
C154
C86
0.022uF
U23
[N/A]
Audio_SDA
Audio_SCL
X6
[N/A]
1
2
3
PB9
PB6
C155
I2S_MCK
I2S_SCK
I2S_SD
I2S_WS
R134
[N/A]
10K
PC6
PI1
PI3
PI0
37
38
39
40
32
Audio_RST
From IO expandor
10
11
B
DocID018499 Rev 6
C88
1uF(X7R)
C87
1uF (X7R)
12
SDA
SCL
A0
HP/LINE_OUTA
HP/LINE_OUTB
SPKR/HP
C92
0.1uF
C98
0.1uF
C103
0.1uF
C95
1uF
+3V3
C104
0.1uF
20
36
33
35
0
3 CN11
6
4
2
U19
MCLK
SCLK
SDIN
LRCK
RESET
SPKR_OUTA+
SPKR_OUTASPKR_OUTB+
SPKR_OUTBVP
VP
-VHPFILT
FLYN
AIN1B
AIN1A
AIN2B
AIN2A
AIN3B
AIN3A
AIN4B
AIN4A
FLYP
+2V5
13
16
34
C97
0.022uF
15
14
31
+VHP
VA
VD
TSTO
TSTO
VL
DGND
GND/Thermal Pad
VQ
AFILTB
AFILTA
FILT+
AGND
4
6
7
9
8
5
30
29
26
25
24
23
22
21
1
2
PJ3028B-3
KSS-1508 or KSSG1708
+5V
C93
0.1uF
R122
100
R215
0
C94
0.1uF
C105
1uF(X7R)
R115 PA4
0
R216
0
R217
[N/A]
R218
[N/A]
B
Audio_DAC_OUT
Fit for Iphone headset
R113
100K
Fit for Nokia headset
19
28
27
18
17
CS43L22
I2C address 0x94
C102
1uF(X5R)
C101
1uF(X5R)
C107
150pF(COG)
C108
150pF(COG)
C
C
C140 +3V3
R197
1K
C141
1uF
1uF
C145
C146
100pF
100pF
0ohm resistor mounted for DC coupling
+3V3
C147
0ohm
U33
C143
10
8
100nF
C144
5
2
4
22
2
1
U34
KECG2740TBL[N/A]
R198
0
D
100nF
C142
1uF
BIAS
IN+
INBYP
GND
GND
TS472IQT
VCC
C1
C2
OUT+
OUTSTBY
GS
20
14
15
17
16
21
9
R196
PF10
0
R195
10K
R200
JP33
47
51/68
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 6
of
20
Schematics
STM32 20-21-45-46 G-EVAL Audio
Number:MB786
2
D
STMicroelectronics
Title:
1
Audio_IN
R199
100K
1
2
3
Schematics
52/68
Figure 23. USB OTG FS
4
A
A
+3V3
R23
620
R18
U1
2
5
4
+5V
0
GND FAULT
IN
OUT
EN
3
1
STMPS2141STR@54
LD5
Red
R15
PF11
0
CN8
1
2
3
4
5
C5
4.7uF
VBUS
DM
DP
ID
GND
0
Shield
B
USB_Micro-AB receptacle
DocID018499 Rev 6
OTG_FS_PowerSwitchOn
PH5
R16
47K
2
R20
10K
B
OTG_FS_OverCurrent
1
+3V3
475900001
VBUS_FS
OTG_FS_DM
OTG_FS_DP
OTG_FS_ID
PA9
PA11
PA12
PA10
+3V3
R17
R19
R21
22
22
0
R27
330
C
1
C
GND
A3
C1
D1
B1
C2
LD6
Green
3
ID
D+in
D-in
Pd1
Pd2
R180
T1
9013
2
47K
1
Vbus
D+out
D-out
Dz
Pup
2
U2
B3
C3
D3
A2
B2
D2
R181
[N/A]
EMIF02-USB03F2
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL USB_OTG_FS
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 7
of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 24. SRAM
4
A
A
D[0..15]
A[0..20]
D[0..15]
A[0..20]
U7
U6
B
DocID018499 Rev 6
+3V3
R35
10K
FSMC_NE2
R47 0
PG9
FSMC_BLN0
FSMC_BLN1
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
PE0
PE1
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
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
BHE
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
CE2
VCC
VCC
VSS
VSS
G1
F1
F2
E2
D2
C2
C1
B1
G6
F6
F5
E5
D5
C6
C5
B6
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
+3V3 C23
A6
D6
E1
100nF
C30
D1
E6
100nF
+3V3
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
R45
10K
R52 0
E2
A1
B4
E1
F3
H1
A2
G1
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
DQ6
DQ7
DQ8
DQ9
DQ10
DQ11
DQ12
DQ13
DQ14
DQ15
VccIO
CE
VccCore
WE
OE
NC
CLK
NC
AVD
NC
RDY
NC
RP
Vss
INT
Vss
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
C6
B6
B
+3V3
G4
H6
E5
E4
A5
A4
C22
100nF
C18
100nF
KFG1216U2A-DIB6
Not fitted
IS61WV102416BLL-10MLI
CY7C1071DV33-12BAXI
C
FSMC_NWE
FSMC_NOE
FSMC_CLK
FSMC_NL
FSMC_NWAIT
PD5
PD4
PD3
PB7
PD6 R54
FSMC_NE1
PD7
C
R53 0 PB15
OneNAND_INT
0
C28 R36
100nF 10K
R49
10K
+3V3
R48
10K
+3V3
+3V3
D
D
Title:
STM32 20-21-45-46 G-EVAL SRAM & OneNAND
Number:MB786
53/68
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 8
of
20
Schematics
STMicroelectronics
1
2
3
Schematics
54/68
Figure 25. LCD
4
A
A
D[0..15]
A[0..20]
D[0..15]
A[0..20]
CN19
B
FSMC_NE3
DocID018499 Rev 6
FSMC_NWE
FSMC_NOE
RESET#
R78
R119
R162
R164
PG10
A0
PD5
PD4
150
150
150
150
L1
BEAD
+3V3
+5V
+3V3
R67
R68
0
[N/A]
L2
C153
100nF
C148
10uF
BEAD
1
2
3
4
5
22
23
24
25
26
27
28
29
30
CS
RS
WR/SCL
RD
RESET
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
BL_GND
BL_Control
VDD
VCI
GND
GND
BL_VDD
SDO
SDI
XL
XR
YD
YU
C
6
7
8
9
10
11
12
13
R82
R161
R163
R165
R166
R167
R168
R169
150
150
150
150
150
150
150
150
D0
D1
D2
D3
D4
D5
D6
D7
14
15
16
17
18
19
20
21
R170
R171
R172
R173
R174
R175
R176
R177
150
150
150
150
150
150
150
150
D8
D9
D10
D11
D12
D13
D14
D15
B
31
32
33
34
TouchScreen_XTouchScreen_X+
TouchScreen_YTouchScreen_Y+
C
To IO expandor
3.2" LCD_connector (MB785 with AM-240320D4TOQW-T00H(R))
PC[0..15]
CN22
LCD_VSYNC
LCD_HSYNC
LCD_CS
1
3
5
2
4
6
PC10
PC11
PC[0..15]
Header 3X2H
Reserved for LCD connector
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL LCD
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 9
of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 26. RS-232 and IrDA
4
A
A
+3V3
100nF
C78
C80
100nF
RS232/IrDA_TX
B
DocID018499 Rev 6
1
PC11
C1+
C1C2+
C2-
2
Bootloader_RESET
3
T1IN
T2IN
T3IN
21
20
19
18
17
16
15
Bootloader_BOOT0
RS232/IrDA_RX
28
24
1
2
14
13
12
PC10
JP22
C76
100nF
U17
R1OUTB
R2OUTB
R1OUT
R2OUT
R3OUT
R4OUT
R5OUT
23
nEN
VCC
GND
V+
VT1OUT
T2OUT
T3OUT
R1IN
R2IN
R3IN
R4IN
R5IN
nSHDN
26
25
27
3
CN16
DB9-male UART3 or 4
C77
100nF
C79
100nF
9
10
11
DSR
RXD
TXD
CTS
1
6
2
7
3
8
4
9
5
4
5
6
7
8
B
+3V3
22
ST3241EBPR
Note:
TFDU6300 (U11) is not populated
on boards manufactured starting from
middle 2016 (schematics revision C.3)
C
C
U11
5
3
4
+3V3
R64
5
R63
47
1
2
6
7
8
SD
TxD
RxD
Anode (VCC2)
Cathode
VCC1
NC
GND
TFDU6300
C45
4.7uF
D
C51
0.1uF
C55
4.7uF
C52
0.1uF
STM32 20-21-45-46 G-EVAL RS232&IrDA
Number:MB786
55/68
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 10 of
20
Schematics
Title:
1
D
STMicroelectronics
IrDA
1
2
3
Schematics
56/68
Figure 27. CAN
4
A
A
+3V3
0
Default setting: 1<->2
3
R39
10K
1
R37
2
+3V3
C32
100nF
B
CAN1_TX
DocID018499 Rev 6
CAN2_TX
PD1
3
1
PD0
3
1
2
3
4
JP3
CAN1_RX
CAN2_RX
1
6
2
7
3
8
4
9
5
U9
2
PB13
JP7
CN10
DB9-male CAN connector
Default setting: Open
D
GND
VCC
R
RS
CANH
CANL
Vref
SN65HVD230
8
7
6
5
JP9
R38
120
2
PB5
B
1
R56
do not fit
JP10
R60
0
+3V3
C
C
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL CAN
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 11 of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 28. I/O peripherals
4
U32
R159
5
100
COMMON
+2V8
2
R149
10K
R147
10K
R146
10K
R145
10K
R144
10K
A
To IO expandor
JOY_SEL
JOY_DOWN
JOY_LEFT
JOY_RIGHT
JOY_UP
Selection
100nF
100nF
100nF
100nF
100nF
C121
C129
C120
C128
C119
DWON
LEFT
RIGHT
UP
LD1
Green
1
2
A
510
LD2
Orange
R154
1
680
LD3
Red
R141
1
680
LD4
Blue
R140
1
680
PG8
LED2
3
1
4
6
R155
PG6
LED1
PI9
LED3
MT008-A
PC7
LED4
2
2
2
Joystick
LEDs
B
B
DocID018499 Rev 6
+2V8
C81
+3V3
+2V8 U20
1
VDD_IO
CS
6
VDD
SDO
100nF
3
Reserved
GND
13
PB9
SDA
GND
14
PB6
SCL
GND
8
INT1
GND
9
INT2
Reserved
R107
10K
C89
U18
1
2
3
4
E0
E1
E2
VSS
VCC
WC
SCL
SDA
R102
JP24
100nF
8
10K
7
6
PB6
EEPROM_SCL
PB9
5
EEPROM_SDA
MEMS_SDA
MEMS_SCL
MEMS_INT1
MEMS_INT2
M24C64-RMN6TP
7
12
2
10
5
4
11
LIS302DL
To IO expandor
C
C
EEPROM
+3V3
+3V3
+3V3
1
+3V3
MEMS
R138
4
R156
100
100
C122
10nF
D
STMicroelectronics
R153
220K
Title:
STM32 20-21-45-46 G-EVAL IO Peripherals
Number:MB786
57/68
2
RV1
3386P-103H[10%]
Potentiometer
PA0 R139
330
BUTTON
1
R152 2
1K
3
0
1
4
WAKEUP
R151
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 12 of
20
Schematics
R160
C118
100nF
PF9
B2
WKUP
C124
do not fit
B3
Tamper
C130
100nF
Potentiometer
3
2
3
100
R143
0
1
1
4
B4
USER
D
PC13
3
Anti_Tamper
0
2
User_Button
R142
4K7
R150
2
R148
4K7
PG15
1
2
3
Schematics
58/68
Figure 29. I/O expander
4
A
A
+2V8
C99
100nF
IO_Expandor_SCK
IO_Expandor_SDA
IO_Expandor_INT
PB6
PB9
PI2
R136
U24
6
14
10
4
5
2
7
3
0
B
DocID018499 Rev 6
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
STMPE811QTR
I2C device address:0x82
TouchScreen_YTouchScreen_XTouchScreen_Y+
TouchScreen_X+
EXP_IO9
EXP_IO10
EXP_IO11
EXP_IO12
B
R116
100K
+2V8
+2V8
C115
100nF
R121
10K
C
U29
6
14
10
4
5
2
7
3
R131
10K
+2V8
R135
10K
VCC
Vio
GND
SCLK
SDAT
INT
Data in
A0/Data Out
YXY+
X+
IN3
IN2
IN1
IN0
STMPE811QTR
I2C device address:0x88
1
16
15
13
12
11
9
8
EXP_IO1
EXP_IO2
EXP_IO3
EXP_IO4
EXP_IO5
EXP_IO6
EXP_IO7
EXP_IO8
C
R132
100K
+2V8
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL IO_Expandor
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 13 of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 30. microSD card
4
A
A
+3V3
R65
47K
R9
47K
R8
47K
R11
47K
R10
47K
+3V3
PC9
PC8
PC11
PC10
PC12
PD2
MicroSDCard_D1
MicroSDCard_D0
MicroSDCard_D3
MicroSDCard_D2
MicroSDCard_CLK
MicroSDCard_CMD
B
DocID018499 Rev 6
1
2
3
4
5
6
7
8
B
SW2
SW1
CN6
PJS008-2000
SMS064FF or SMS128FF
C
9
10
C
MicroSDCard_Detect
PH13
R2
0
MicroSD card
D
D
Title:
STM32 20-21-45-46 G-EVAL MicroSD card
Number:MB786
59/68
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 14 of
20
Schematics
STMicroelectronics
1
2
3
Schematics
60/68
Figure 31. Motor control
4
A
A
+3V3
Motor control connector
R7
3.3K
MC_EmergencySTOP
TP3
AIN-
B
0
TP4
AIN+
DocID018499 Rev 6
PC1 R73
0
MC_CurrentA
C4
1nF
R219
R74 0
C59
do not fit
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
PI5
PH13
PI6
PH14
PI7
PH15
MC_UH
MC_UL
MC_VH
MC_VL
MC_WH
MC_WL
0
MC_NTC
MC_DissipativeBrake
PH8
PC8
+5V
PC2 R76
0
MC_CurrentB
CN5
R14
PI4
R77 0
C62
do not fit
MC_PFCpwm
MC_EnA
MC_EnB
PD12
PD13
EMERGENCY STOP
MC-UH
MC_UL
MC_VH
MC_VL
MC_WH
MC_WL
CURRENT A
CURRENT B
CURRENT C
NTC BYPASS RELAY
DISSIPATIVE BRAKE
+5V POWER
PFC SYNC
PFC PWM
Encoder A
Encoder B
GND
GND
GND
GND
GND
GND
BUS VOLTAGE
GND
GND
GND
GND
GND
Heatsink Temperature
Vdd_Micro
GND
GND
Encoder Index
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
R12
R13 PC4
0
0
C3
100nF
R4
+3V3
R5
0
MC_BusVoltage
B
R6
100K
PC5
0
MC_HeatsinkTemperature
C12
100nF
MC_connector
PC3 R79
0
MC_CurrentC
R3
R80 0
C63
do not fit
Default setting: Open
PB8
0
C1
do not fit
MC_EnIndex
SB17
C
PH10
MC_PFCsync2
PH11
MC_PFCsync1
C9
do not fit
R59 0
R57 0
SB18
C10
do not fit
C
Default setting: Open
C38
do not fit
C11
do not fit
C2
10nF
C8
do not fit
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL Motor control
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 15 of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 32. Smartcard
4
A
A
+3V3
+3V3
R124 R125
10K 10K
R157
4K7
PH15
TP11
AUX2
TP12
AUX1
U31
+5V
B
C125
DocID018499 Rev 6
C126
100nF
C117
47uF
C127
1
2
3
4
100nF 5
6
7
100nF 8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
CLKDIV1 AUX2UC
CLKDIV2 AUX1UC
5V/3V
I/OUC
PGND
XTAL2
C1+
XTAL1
Vddp
OFF
C1GND
Vup
Vdd
PRES
RSTIN
PRES
CMDVCC
I/O
PORADJ
AUX2
Vcc
AUX1
RST
CGND
CLK
R127
0
R126
0
R128
0
PC6
PG7
PF6
C111
100nF
SmartCard_3/5V
SmartCard_IO
SmartCard_CLK
SmartCard_OFF
B
+3V3
C114
47uF
+3V3
ST8024CDR
C109
PF7
PG12
R123
10K
SmartCard_RST
SmartCard_CMDVCC
100nF
R129
10K
5
6
7
8
C
GND VCC
NC
RST
I/O
CLK
NC
NC
CN20
C816
1
2
3
4
C
17
18
R158
100K
+3V3
D
D
Title:
STM32 20-21-45-46 G-EVAL Smart card
Number:MB786
61/68
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 16 of
20
Schematics
STMicroelectronics
1
2
3
Schematics
62/68
Figure 33. JTAG and trace
4
+3V3
A
A
R97 R101 R95 R92
[N/A][N/A][N/A][N/A]
RS7
PA13
PA14
PB3
PA15
PB4
D4
D5
D6
D7
D8
Z5V1
Z5V1
Z5V1
Z5V1
Z5V1
B
D3
Z5V1
TMS/SWDIO
TCK/SWCLK
TDO/SWO
TDI
TRST
RESET#
22
DocID018499 Rev 6
CN13
FTSH-110-01-L-DV
+3V3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
C
TRACE_D3
TRACE_D2
TRACE_D1
TRACE_D0
TRACE_CK
R96
[N/A]
B
CN14
JTAG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
KEY
R104 0
R100 do not fit
R94 0
R91 do not fit
PE6
PE5
PE4
PE3
PE2
+3V3
+3V3
R98
do not fit
R99
10K
R105
10K
R106
10K
C
JTAG connector
Trace connector
D
D
STMicroelectronics
Title:
STM32 20-21-45-46 G-EVAL JTAG & Trace
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 17 of
20
UM1057
Number:MB786
1
2
3
UM1057
Figure 34. Power
4
A
A
U28
ZEN056V130A24LS
U25
CN18
1
2
3
1
1
3
2
Z1
SMAJ5.0A-TR
2
DC-10B
C112
100nF
B
SV
E5V
CV
SG CG1
CG2
CG3
+3V3
3
VDD_MCU
JP32
C106
10uF
4
5
6
JP18
DocID018499 Rev 6
VBUS_FS
3
C83
10uF
C82
100nF
Vin
Vout
U26
LD1117STR
+5V
2
+1V8
C116
10uF
3
Vin
Vout
U21
LD1117S25TR
+5V
3
Vin
Vout
TP13
Ground
Header 5X2
+2V8
2
R93
1K
R114
120
R120
150
TP6
2V5
B
2
4
6
8
10
1
2
1
3
5
7
9
C110
10uF
C100
10uF
2
C96
220uF
U30
LD1117S18TR
+3V3
Vout
D5V
E5V
U5V_ST_LINK
TP9
2V8
1
C113
220uF
Vin
1
3
GND
U22
LD1086D2M33TR
+5V
TP10
1V8
1
TP7
3V3
TP8
5V
+5V
VBUS_HS
BNX002-01
LD9
red
+2V5
2
C
1
C
C91
10uF
D
D
Title:
STM32 20-21-45-46 G-EVAL Power
Number:MB786
63/68
1
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 18 of
20
Schematics
STMicroelectronics
1
2
3
Schematics
64/68
Figure 35. Extension connector
4
A
A
D5V
EMU_5V
APP_VCC
+3V3
PA12
PA10
PA8
PC8
PC7
PG8
PG6
PG4
PG2
PD13
PD11
PD9
PB15
PB14
PB12
PC6
PG7
PG5
PG3
PD15
PD14
PD12
PD10
PD8
PC9
PB13
PH12
PE13
PE11
PE9
PE7
PG0
PF15
PF13
PF11
PB1
EMU_3V3
EMU_5V
PC2
APP_3V3
PA1
PH2
PH3
PH5
VREF+
PC4
PA6
PA4
CN1 (Buttom)
21N22564-50S10B
APP_VCC
PE3
PE5
PI8
EXT_PC14
EXT_PC15
PI10
PF0
PF2
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
PH9
PH7
PB11
PE15
PE14
PE12
PE10
PE8
PG1
B
PF14
PF12
PB2
PB0
PC5
PA7
PA5
PA3
BOOT0
PA[0..15]
PB[0..15]
21N22564-40S10B
PC[0..15]
PD[0..15]
PH4
21N22564-40S10B
C
CN2 (Right)
PH11
PH10
PH8
PH6
PB10
EMU_5V
VBUS_FS
PF5
PF7
PF9
EXT_PH0
PC0
PC1
PC3
PA0
PA2
PG15
PB4
PB6
BOOT0
PB8
PE0
PI4
PI6
CX1
33pF
PI9
PI11
PF1
PF3
PF4
PF6
PF8
PF10
EXT_PH1
PB9
PE1
PI5
PI7
PA15
PC11
PD0
PD2
PD3
PD5
PD7
PG10
PG12
PI1
PH15
PH13
PC13
RESET#
PA11
DocID018499 Rev 6
PD4
PD6
PG9
PG11
PG13
PG14
PB3
PB5
PB7
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
PE2
PE4
PE6
PC13
B
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
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
PI3
PA14
PC10
PC12
PD1
APP_3V3
CN3 (Top)
21N22564-50S10B
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
CN4 (Left)
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
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
PI2
PI0
PH14
PA13
APP_3V3
PE[0..15]
EMU_5V
PF[0..15]
EMU_3V3
PG[0..15]
SB6
PH0
SB7
PH1
SB4
PC14
SB5
PC15
D
EXT_PH0
PH[0..15]
EXT_PH1
PI[0..11]
EXT_PC14
RESET#
PA[0..15]
PB[0..15]
C
PC[0..15]
PD[0..15]
PE[0..15]
PF[0..15]
PG[0..15]
PH[0..15]
PI[0..11]
RESET#
EXT_PC15
D
STMicroelectronics
Close to crystal on PCB
Title:
STM32 20-21-45-46 G-EVAL Extension connector
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 19 of
20
UM1057
Number:MB786
1
BOOT0
1
2
+3V3
3
LED_STLINK
+3V3
8MHz
1
2
3
SWIM_PU_CTRL 4
5
OSC_IN
OSC_OUT 6
STM_RST 7
8
C137
9
+3V3
100nF
AIN_1 10
11
12
R183
+3V3
B
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
JNRST
JTDO
JTDI
JTCK
R187 R188
[N/A]10K
C139
20pF
100K
VDD_2
VSS_2
JTMS
PA12
PA11
PA10
PA9
PA8
S2_MOSI
S2_MISO
S2_CK
PB12
3
R185
R186
4K7
4K7
+3V3
LD10
HSMF-A201-A00J1
R190
0
STM_JTMS_SWDIO
USB_DP
USB_DM
T_SWO
LED_STLINK
AIN_1
+3V3
MCO
B
T_JTMS
T_JTCK
T_SWDIO_IN
T_JTCK
T_JTDO
T_JTDI
T_NRST
T_JRST
13
14
15
16
17
18
19
20
21
22
23
24
DocID018499 Rev 6
VBAT
PC13
PC14
PC15
OSC_IN
OSC_OUT
/RST
VSSA
VDDA
PA0
PA1
U2_TX
36
35
34
33
32
31
30
29
28
27
26
25
A
Yellow
+3V3
U2_RX
U2_CK
S1_CK
S1_MISO
S1_MOSI
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1
C138
X5
20pF 1
2
R202
100
Red
U15
STM32F103C8T6
48
47
46
45
44
43
42
41
40
39
38
37
+3V3
R201
100
4
C136
100nF
2
C133
100nF
1
C135
100nF
STM_JTCK_SWCLK
A
4
R182
100K
C134
100nF
UM1057
Figure 36. STLINK/V2
CN17
STM_JTMS_SWDIO
STM_JTCK_SWCLK
1
3
5
C
+3V3
R184
2
4
100K
C
+3V3
JTAG
MCU
U5V_ST_LINK
T_JTDO
T_SWO
T_SWDIO_IN
T_JTMS
T_NRST
T_JRST
T_JTDI
T_JTCK
R189
10K
U5V_ST_LINK
D
T2
9013
1
2
3
4
0
0
R191
36K
10 USB_DM
10 USB_DP
TMS/SWDIO
RESET#
TRST
TDI
TCK/SWCLK
JTAG
Title:
1.5K
USB
STM32 20-21-45-46 G-EVAL ST-LINK/V2
Number:MB786
65/68
1
D
STMicroelectronics
R194
2
3
Rev: C.3(PCB.SCH)
Date: 7/20/2016
4
Sheet 20 of
20
Schematics
USB-typeB connector
R192
R193
TDO/SWO
1
2
CN21
VCC
DD+
GND
SHELL
SHELL
3
+3V3
1
2
3
Schematics
66/68
Figure 37. 3.2” LCD module with SPI and 16-bit interface
4
CN1
CS
RS
WR
RD
#RESET
A
1
2
3
4
5
CS
RS
WR/SCL
RD
RESET
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
BLGND
BL_Control
VDD
BLVDD
SDO
SDI
22
23
24
25
26
27
28
29
30
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
BL_GND
BL_Control
VDD
VCI
GND
GND
BL_VDD
SDO
SDI
XL
XR
YD
YU
B
DocID018499 Rev 6
6
7
8
9
10
11
12
13
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
14
15
16
17
18
19
20
21
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
31
32
33
34
XL
XR
YD
YU
SDO
SDI
CS
WR
RD
RS
31
34
35
33
SDO
SDI
10
12
#RESET
32
VDD
A
K
C1
4.7uF/50V
STPS1L40M
U1
8
1
7
3
9
SW
Vo
Vi
NC
EN
GND
FB
PGND Rset
STLD40DPMR
BLGND
40
41
Z1
L1
BL_Control R5
0
36
37
38
39
11
4.7uH(1A)
BLGND
6
5
BLGND
44
43
6
42
45
1
VSYNC
HSYNC
DOTCLK
ENABLE
NC
CS
WR/SCL
RD
RS
SDO
SDI
RESET
VCC
VCC
LED_A
LED_K
VSS
VSS
VSS
VSS
IM1
IM3
IM0/ID
YU
YD
XR
XL
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
D16
D17
8
9
7
VDD
0
5
4
3
2
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
RP1
YU
YD
XR
XL
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
PD16
PD14
PD12
PD10
R6
100K
10K
RP2
10K
RP3
PD9
PD0
RS
RD
10K
RP4
PD17
PD15
PD13
PD11
BLGND
HSYNC
Enable
VSYNC
DotClk
C
10K
RP5
R7
10
PD7
PD5
PD3
PD1
RP6
R8
do not fit
B
PD8
PD6
PD4
PD2
FF0245SS1
AM-240320D4TOQW-T00H(R)
4
2
VDD
BLVDD
4K7
4K7
R4
LCD board connector to Mother board
C
10K
R2
R3
CN2
VSYNC
HSYNC
DotClk
Enable
The 34-pin connector to mother board for both
serial & 16bit interface. Compatible with
MB694 with Touch screen signals added on
Pin 31-34.
C2
2.2uF
R1
Soldered for Serial interface only
3.2LCD_connector
BLVDD
A
Soldered for i80-system 16-bit interface
10K
C3
1uF/50V
10K
D
D
STMicroelectronics
Title:
3.2" LCD module with both SPI & 16bit interface
1
2
3
Rev: A.1(PCB.SCH)
Date: 3/27/2009
4
Sheet 1
of
1
UM1057
Number:MB785
UM1057
Revision history
Revision history
Table 35. Document revision history
Date
Revision
Changes
15-Apr-2011
1
Initial release.
23-May-2011
2
Updated preliminary watermarks.
26-July-2011
3
Added Section 1.4: Delivery recommendations.
Updated Section 2.16: Ethernet, Section 2.17: USB OTG HS and
Section Appendix A: Schematics.
07-Oct-2011
4
Updated Table 2 JP4 description, Table 5 JP24 description and
Section Appendix A: Schematics. Added warning in Chapter 2.5 and
note in Chapter 2.20.
09-Jan-2012
5
Added note in Chapter 2.5 and updated Section Appendix A:
Schematics.
02-Nov-2016
6
Added comment IrDA is only supported up to C07 version of the
board.
Figure 17 to Figure 37 updated.
DocID018499 Rev 6
67/68
67
UM1057
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2016 STMicroelectronics – All rights reserved
68/68
DocID018499 Rev 6

advertisement

Related manuals

advertisement