UM1065 User manual - images.icbuy.comimages.icbuy.com/tec/STM2011/STM32_Docs/DM00025234.pdf ·...
Transcript of UM1065 User manual - images.icbuy.comimages.icbuy.com/tec/STM2011/STM32_Docs/DM00025234.pdf ·...
July 2011 Doc ID 018640 Rev 3 1/66
UM1065User manual
STM3221G-EVAL evaluation board
IntroductionThe STM3221G-EVAL evaluation board is a complete demonstration and development platform for the STM32 F-2 series and includes an embedded STM32F217IGH6 high-performance ARM®Cortex™-M3 32-bit microcontroller with a cryptographic acceleration cell.
The full range of hardware features on the board is provided to help you evaluate all peripherals (USB OTG HS, USB OTG FS, ethernet, motor control, CAN, MicroSD card, smartcard, USART, Audio DAC, RS-232, IrDA, SRAM, MEMS, EEPROM… etc.) and develop your own applications. Extension headers make it possible to easily connect a daughter board or wrapping board for your specific application.
The in-circuit ST-LINK tool can be easily used for JTAG and SWD interface debugging and programming.
Figure 1. STM3221G-EVAL evaluation board
www.st.com
Contents UM1065
2/66 Doc ID 018640 Rev 3
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.6 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.7 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.8 RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.9 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.10 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.11 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.12 MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.13 Potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.14 ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.15 USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.16 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.17 USB OTG HS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.18 Camera module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.19 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.20 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.21 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1 Daughter board extension connectors CN1, 2, 3 and 4 . . . . . . . . . . . . . . 22
UM1065 Contents
Doc ID 018640 Rev 3 3/66
3.2 Motor control connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3 MicroSD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.4 Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.5 USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.6 USB OTG HS Micro-AB connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.7 CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2) . . . . . . . . . . 32
3.8 Audio connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.9 Trace debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.10 JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.11 Camera module connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.12 RS-232 connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.13 Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.14 TFT LCD connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.15 Smartcard connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.16 ST-LINK/V2 connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.17 Camera extension connector CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.18 STM3221G-EVAL pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Overview UM1065
4/66 Doc ID 018640 Rev 3
1 Overview
1.1 Features■ STM32F217IGT6 microcontroller
■ 16 Mbit SRAM
■ 1 Gbyte or more MicroSD card
■ Boot from user Flash, system memory or SRAM
■ Both ISO/IEC 14443 type A and B smartcard support
■ I2C compatible serial interface 8 Kbytes EEPROM, MEMS and I/O expander
■ IEEE 802.3-2002 compliant ethernet connector
■ Two CAN 2.0 A/B channels on the same DB connector
■ RS-232 communication
■ IrDA transceiver
■ USB OTG (HS and FS) with Micro-AB connector
■ Inductor motor control connector
■ I2S Audio DAC, stereo audio jack for headset
■ 3.2" 240x320 TFT color LCD with touchscreen
■ 4 color LEDs
■ Camera module and extension connector for ST camera plug-in
■ Joystick with 4-direction control and selector
■ Reset, wakeup, tamper and user button
■ RTC with backup battery
■ Extension connector for daughterboard or wrapping board
■ JTAG, SW and trace debug support
■ Embedded ST-LINK/V2
■ Five 5V power supply options: Power jack, USB FS connector, USB HS connector, ST-LINK/V2 or daughterboard
■ MCU consumption measurement circuit
1.2 Demonstration softwareDemonstration software is preloaded in the board's Flash memory for easy demonstration of the device peripherals in standalone mode. For more information and to download the latest version, please refer to STM3221G-EVAL demonstration software available on web: www.st.com/mcu.
1.3 Order codeTo order the STM32F217IGT6 MCU evaluation board, use the order code STM3221G-EVAL.
UM1065 Overview
Doc ID 018640 Rev 3 5/66
1.4 Delivery recommendationsSeveral verifications are needed before using the board for the first time to make sure that nothing has been damaged during shipment and no components are unplugged and lost.
When the board is extracted from its plastic bag, please check that no component remains in the bag. Main components to verify are:
1. The 25MHz crytals (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 MicroSDCard 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.
Hardware layout and configuration UM1065
6/66 Doc ID 018640 Rev 3
2 Hardware layout and configuration
The STM3221G-EVAL evaluation board is designed around the STM32F217IGH6 microcontroller with a cryptographic acceleration cell in the UFBGA176 package. The hardware block diagram Figure 2 illustrates the connection between STM32F217IGH6 and peripherals (Camera module, LCD, SRAM, EEPROM, MEMS, USART, IrDA, USB OTG HS, USB OTG FS, Ethernet, Audio, CAN bus, Smart card, MicroSD card and motor control) and Figure 3 will help you locate these features on the actual evaluation board.
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 7/66
Figure 2. Hardware layout and configuration
MS19603V1
MRxxxxxV1
STM32F217IGH6
RS232 transceiver
IrDA transceiver
Smart Card interface
3.3V regulator
TFT LCD
MicroSD card
Audio DAC
MC control connector
LEDs,Key
JTAG
MEMS
PotentiometerSmart Card connector
Integrated RJ45 connector
RS232DB9 connector
ADC
I2S2
GPIO
MII/RMII
USART6
I2C1
Extension connector for
GPIOs
PHY
USART3
CAN1CAN
transceiverCAN
DB9 connectorMC
SDIO
TraceDebug
OTG FS USB Micro-AB connector
EEPROM
IO expandorJoystick
Touchscreen
USB power switch
CAN2
2.8V regulator
2.5V regulator
1.8V regulator
DCMICamera module
OTG HS USBMicro-AB connector
USB power switch
USB HS PHY
DAC
FSMC
SRAM
ST-LINK/V2
Camera extension connector
Microphone Amplifier
Audio Jack
ADC
Hardware layout and configuration UM1065
8/66 Doc ID 018640 Rev 3
Figure 3. STM3221G-EVAL evaluation board layout
MS1917 0V2
CN5Motor control
CN6MicroSD card
CN13Trace
CN14JTAG
U11IrDA
CN8USB OTG FS
CN9USB OTG HS
CN21ST-LINK/V2
CN19Color LCD
CN15Camera module
CN23Camera extensionconnector
U32Joystick
B4User keyB3
TamperCN20Smartcard
B2Wakeup
B1Reset
RV1Potentiometer
CN185V power jack
CN11Audio jack
CN16USART
CN10CAN
U16STM32F217IGH6
CN7RJ45connector
CN1 - CN4Extension
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 9/66
2.1 Power supplySTM3221G-EVAL evaluation board is designed to be powered by 5V DC power supply and to be protected by PolyZen from a wrong power plug-in event. It is possible to configure the evaluation board to use any of following five sources for the power supply:
● 5V DC power adapter connected to JP18, the Power Jack on the board
● 5V DC power with 500 mA limitation from CN8, the USB OTG FS Micro-AB connector
● 5V DC power with 500 mA limitation from CN9, the USB OTG HS Micro-AB connector
● 5V DC power with 500 mA limitation from CN21, the ST-LINK/V2 USB connector
● 5V DC power from both CN1 and CN3, the extension connector for daughterboard (DTB for daughterboard on silkscreen)
The power supply is configured by setting the related jumpers JP4, JP32, JP18 and JP19 as described inTable 1.
Table 1. Power related jumpers and solder bridges
Jumper Description
JP4Jumper reserved for future use (RFU). It should be left open.Default setting: Not fitted
JP32
MCU_VDD is connected to 3.3V power when JP32 is closed and MCU current consumption measurement can be done manually by multi-meter when JP32 is open.Default setting: Fitted
JP18
JP18 is used to select one of the five possible power supply sources.
To select 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:
To select daughterboard connector (CN1 and CN3)power supply, set JP18 as shown:
HSFSDTBPSUSTlk
HSFSDTBPSUSTlk
HSFSDTBPSUSTlk
Hardware layout and configuration UM1065
10/66 Doc ID 018640 Rev 3
Note: The LED LD9 is lit when the STM3221G-EVAL evaluation board is powered by the 5V correctly.
2.2 Boot optionThe STM3221G-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.
JP18(cont.)
To select USB OTG FS (CN8) power supply, set JP18 as shown:
To select USB OTG HS (CN9)power supply, set JP18 as shown:
To select power supply jack (CN18) power supply to both STM3221G-EVAL and daughterboard connected on CN1 and CN3, set JP18 as shown (daughterboard must not have its own power supply connected)
JP19
To connect Vbat to the battery, set JP19 as shown:
To connect Vbat to 3.3V power, set JP19 as shown: (Default setting)
Table 1. Power related jumpers and solder bridges (continued)
Jumper Description
HSFSDTBPSUSTlk
HSFSDTBPSUSTlk
HSFSDTBPSUSTlk
321
321
Table 2. Boot related jumpers
BOOT 0 BOOT 1 Boot source
0 Don’t care STM3221G-EVAL boots from User Flash (Default setting)
1 1 STM3221G-EVAL boots from Embedded SRAM
1 0 STM3221G-EVAL boots from System Memory
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 11/66
2.3 Clock sourceFour clock sources are available on STM3221G-EVAL evaluation board for STM32F217IGH6 and RTC embedded:
● 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 STM32F217IGH6 microcontroller (It can be removed from socket when internal RC clock is used.)
2.4 Reset sourceThe reset signal of STM3221G-EVAL evaluation board is low active and the reset sources include:
● 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
2.5 AudioThe STM3221G-EVAL evaluation board enables stereo audio play and microphone recording by an external headset connected on audio jack CN11. An audio DAC CS43L22 is connected to both I2S2 port and one DAC channel while a microphone amplifier is connected to the ADC of STM32F217IGH6. The CS43L22 can be configured via I2C1 and the external PLL (U36) can be used to provide external clock which is connected to I2S_CKIN pin (PC9).
2.6 EEPROMA 64KBit EEPROM is connected to the I2C1 bus of STM32F217IGH6.
Table 3. Audio related jumpers
Jumper Description
JP16 Description of JP16 is in Table 10 on page 15.
JP33The microphone amplifier can be disabled when JP33 is fitted.
Default setting: Not fitted
Table 4. EEPROM related jumper and solder bridge
Jumper Description
JP24The EEPROM is in Write Protection mode when JP24 is fitted.
Default Setting: Not fitted
Hardware layout and configuration UM1065
12/66 Doc ID 018640 Rev 3
2.7 CANSTM3221G-EVAL evaluation board enables two channels of CAN2.0A/B compliant CAN bus communication based on a 3.3V CAN transceiver on one DB9 connector (CN10). The two CAN buses can be disconnected by jumpers from relevant STM32F217IGH6 I/Os which are shared with FSMC and USB OTG HS. Jumpers JP3 and JP10 must be refit to enable CAN1 or CAN2 as listed in Table 5.
High-speed, Standby and Slope Control modes are available and can be selected by setting jumper JP7.
2.8 RS-232 and IrDABoth RS-232 and IrDA communication is enabled by D-type, 9-pin RS-232 connectors (CN16) and IrDA transceiver U11 which are connected to USART3 of STM32F217IGH6 on STM3221G-EVAL evaluation board.
For ISP support, two signals are added on the RS-232 connector CN16:
● Bootloader_RESET (shared with CTS signal)
● Bootloader_BOOT0 (shared with DSR signal)
RS-232 or IrDA can be selected by setting of JP22 and ISP can be enabled by setting of jumper JP29 and JP34.
Table 5. CAN-related jumpers
Jumper Description
JP3
To connect CAN1_TX to CAN transceiver, set JP3 as shown:
To connect CAN2_TX to CAN transceiver, set JP3 as shown:
JP10
To connect CAN1_RX to CAN transceiver, set JP10 as shown:
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).
JP7
To enable the selected CAN transceiver to work in Standby mode, set JP7 as shown:
To enable the selected CAN transceiver to work in High-speed mode, set JP7 as shown (default setting):
To enable the selected CAN transceiver to work in Slope Control mode, do not fit a jumper on JP7.
JP9To enable the terminal resistor for the selected CAN, fit a jumper on JP9.
(Default setting: not fitted)
321
321
321
321
321
321
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 13/66
2.9 Motor controlSTM3221G-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 6. RS-232 and IrDA related jumper
Jumper Description
JP22
To connect USART3_RX to IrDA transceiver and enable IrDA communication, set JP22 as shown:
To connect USART3_RX to RS-232 transceiver and enable RS-232 communication, set JP22 as shown (Default setting):
To enable MicroSD card, which shares same I/Os with RS-232, JP22 is not fitted.
JP29Bootloader_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.
JP34Bootloader_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.
321
321
Table 7. Motor control solder bridges
Solder Bridge
DescriptionMultiplexed peripherals
SB18
When closed, SB18 redirects the PFC synchronized signal to the timer 3 input capture pin 2 in addition to the timer 3 external trigger input. Default setting: Open
SB17
For CN5 encoder signal input (pin 31), SB17 must be open.For CN5 special motor analog signal input (pin 31), SB17 must be closed.Default setting: Open
SB16To connect MC_EmergencySTOP to PI4, close SB16.Default setting: Open
Camera module connected to
CN15
Hardware layout and configuration UM1065
14/66 Doc ID 018640 Rev 3
Note: 1 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.
2.10 SmartcardSTMicroelectronics smartcard interface chip ST8024 is used on STM3221G-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with STM32F217IGH6 listed in Table 8:
SB10To connect MC_EnIndex to PB8, close SB10.Default setting: Open
EthernetSB11To connect MC_CurrentA to PC1, close SB11.Default setting: Open
SB12To connect MC_CurrentB to PC2, close SB12.Default setting: Open
SB14To connect MC_EnB to PD13, close SB14.Default setting: Open
FSMC
SB15To connect MC_EnA to PD12 close SB15.Default setting: Open
Table 7. Motor control solder bridges (continued)
Solder Bridge
DescriptionMultiplexed peripherals
Table 8. Connection between ST8024 and STM32F217IGH6
Signals of ST8024 DescriptionConnect to
STM32F217IGH6
5V/3V Smartcard power supply selection pin PH15
I/OUC MCU data I/O line PC6
XTAL1 Crystal or external clock input PG7
OFFDetect presence of a card, MCU interrupt, share same pin with motor controller
PF6
RSTIN Card reset input from MCU PF7
CMDVCCStart activation sequence input (Active Low), share same pin with I2S DAC and Motor control
PG12
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 15/66
Smartcard shares some I/Os with I2S bus for Audio. Some jumper settings need to be reconfigured to enable smartcard as indicated below:
2.11 MicroSD cardThe 1 GByte or more MicroSD card connected to SDIO of STM32F217IGH6 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.
2.12 MEMSA ST MEMS device LIS302DL is connected to I2C1 bus of STM32F217IGH6 on the board.
2.13 PotentiometerThere is one 10K ohm potentiometer RV1 connected to PF9 of STM32F217IGH6 on the board.
2.14 ADCTwo 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 STM32F217IGH6. 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.
Table 9. Smartcard related jumper
Jumper Description
JP21
To connect Smartcard_IO to PC6, JP21must be fitted.
JP21 must not be fitted for Audio DAC connection to I2S.
Default setting: Not Fitted
Table 10. MicroSD card related jumpers
Jumper Description
JP22 Description of JP22 is in Section 2.8: RS-232 and IrDA
JP16
PC9 is connected to MicroSDCard_D1 when JP16 is set as shown to the right: (Default setting):
PC9 is connected to I2S_CKIN when JP16 is set as show to the right:
321
321
Hardware layout and configuration UM1065
16/66 Doc ID 018640 Rev 3
2.15 USB OTG FSSTM3221G-EVAL evaluation board enables USB OTG full speed communication via a USB Micro-AB connector (CN8) and USB power switch (U1) connected to VBUS. The evaluation board can be powered by this USB connection at 5V DC with a 500 mA current limitation.
The LED LD6 indicates that the power switch (U1) is ON and STM3221G-EVAL functions as a USB host or that the VBUS is powered by another USB host while STM3221G-EVAL functions as a USB device. The LED LD5 indicates an over-current.
2.16 EthernetSTM3221G-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:
Note: 1 A test point (TP2) is available on the board for the PTP_PPS feature test.
2 The Ethernet PHYU5 can be powered down by regulating PB14.
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.
Table 11. Ethernet related jumpers and solder bridges
Jumper Description
JP8
JP8 is used to select MII or RMII interface mode.
To enable MII, JP8 is not fitted.To enable RMII interface mode, JP8 is fitted.
Default setting: Not fitted
JP6
To enable MII interface mode, set JP6 as shown (Default setting):
To enable RMII interface mode, set JP6 as shown:
JP5
To provide 25 MHz clock for MII or 50 MHz clock for RMII by MCO at PA8, set JP5 as shown (Default setting):
To provide 25 MHz clock by external crystal X1 (for MII interface mode only) set JP5 as shown:
When clock is provided by external oscillator U3, JP5 must not be fitted (Default setting).
SB1
SB1 is used to select clock source only for RMII mode.
To connect the clock from MCO to RMII_REF_CLK, close SB1.
The resistor R212 has to be removed in this case.Default setting: Open
321
321
321
321
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 17/66
2.17 USB OTG HSThe STM3221G-EVAL evaluation board enables USB OTG high speed communication via a USB Micro-AB connector (CN9), USB high speed PHY (U8) and USB power switch (U4) connected to VBUS. The evaluation board can be powered by this USB connector (CN9) at 5V DC with a 500 mA current limitation.
The LED LD7 indicates that power switch (U4) is ON and STM3221G-EVAL is working as a USB host or that VBUS is powered by another USB host when STM3221G-EVAL is working as a USB device. The LD8 indicates an over-current.
The USB ULPI bus is shared with CAN2 bus, the JP10 and JP3 must be kept open for USB OTG HS.
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.
Table 12. MicroSD card related jumper
Jumper Description
JP31To disable USB OTG PHY U8, JP31 is not fitted.Default setting: Fitted
Hardware layout and configuration UM1065
18/66 Doc ID 018640 Rev 3
2.18 Camera moduleA camera module is connected to DCMI bus of STM32F217IGH6 and shares the same I/Os with the motor control connector. SB16 must be kept open for camera module application.
There are two possible modules and omnivision cameras populated on the CN15 connector of the board:
● 1.3 Megapixel: Module CN01302H1045-C: Camera OV9655
● 2 Megapixel: Module CN020VAH2554-C: Camera OV2640
Note: 1 When the camera demo loaded in Flash is executed, some green pixels may appear in high contrast zones, depending on the image captured.
2 The camera is not firmly restricted on its connector (CN15). It is possible that during shipment the camera could be unplugged. In such case you need to plug it into the right position as shown on the picture below (pin 1 dot on top left corner of the socket).
It is not recommended to remove it in order to avoid false contact later.
Table 13. Camera module related jumpers
Jumper Description
JP26To 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.
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 19/66
Figure 4. Pin 1 camera plug
The camera extension connector CN23 is available on the boards to connect the ST camera plug-in board.
2.19 SRAMThe 16 Mbit SRAM is connected to FSMC bus of STM32F217IGH6 which shares the same I/Os with CAN1 bus. JP3 and JP10 must not be fitted for SRAM and LCD application.
Table 14. SRAM related jumpers
Jumper Description
JP1
Connect PE4 to SRAM as A20 by setting JP1 as shown (Default setting):
Connect PE4 to trace connector CN13 as TRACE_D1 by setting JP1 as shown:
JP2
Connect PE3 to SRAM as A19 by settiing JP2 as shown (Default setting):
Connect PE3 to trace connector CN13 as TRACE_D0 by setting JP2 as shown:
321
321
321
321
Hardware layout and configuration UM1065
20/66 Doc ID 018640 Rev 3
2.20 Development and debug supportVersion 2 of the ST-LINK, called ST-LINK/V2, is embedded on the board. This tool allows onboard program loading and debugging of the STM32F using the JTAG or SWD interface. Third-party debug tools are also supported by the JTAG (CN14) or Trace (CN13) connectors.
To communicate with the embedded ST-LINK/V2, a specific driver needs to be installed on your PC. To download and install this driver, refer to the software and development tools page for the STM32F family available on www.st.com (the install shield is called ST-LINK_V2_USBdriver.exe).
Third-party toolchains, Atollic TrueSTUDIO, KEIL ARM-MDK, IAR EWARM and Tasking VX-Toolset support ST-LINK/V2 according to the following table:
The embedded ST-LINK/V2 connects to the PC via a standard USB cable from connector CN21. The bicolor LED LD10 (COM) indicates the status of the communication as follows:
● Slow blinking Red/Off: At power-on before USB initialization
● Fast blinking Red/Off: After the first correct communication between PC and ST-LINK/V2 (enumeration)
● Red LED On: When initialization between PC and ST-LINK/V2 is successfully finished
● Green LED On: After successful target communication initialization
● Blinking Red/Green: During communication with target
● Green On: Communication finished and OK
● Orange On: Communication failure
Note: Note: It is possible to power the board via CN21 (embedded ST-LINK/V2 USB connector) even if an external tool is connected to CN13 (trace) or CN14 (external JTAG and SWD).
Table 15. 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
UM1065 Hardware layout and configuration
Doc ID 018640 Rev 3 21/66
2.21 Display and input devicesThe 3.2” TFT color LCD connected to FSMC bus and 4 general purpose color LEDs (LD 1, 2, 3, 4) are available as display devices. A touchscreen connected to an I/O expander (U24), 4-direction joystick with selection key, general purpose button (B4), wakeup button (B2) and tamper detection button (B3) are available as input devices.
Table 16. LCD modules
Pin on CN19
Pin name Pin connectionPin 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
Connectors UM1065
22/66 Doc ID 018640 Rev 3
3 Connectors
3.1 Daughter board extension connectors CN1, 2, 3 and 4Four male headers, CN1, 2, 3 and 4, can be used to connect with a daughterboard or standard wrapping board to STM3221G-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 STM3221G-EVAL evaluation board. Please refer to Table 17 and Table 20 for details.
Table 17. Daughter board extension connector CN1
Pin Description Alternative functionHow to disconnect with
function block onSTM3221G-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 - -
UM1065 Connectors
Doc ID 018640 Rev 3 23/66
49 EMU_5V - -
2 PE2 Trace_CLK -
4 PE4 Trace_D1 & FSMC_A20 Keep JP1 on 2<->3
6 PE6 Trace_D3 -
8 PC13 Anti-Tamper Remove R143
10 GND - -
12 PI9 LED3 Remove R141
14 PI11 ULPI_DIR Remove R62
16 PF1 FSMC_A1 -
18 PF3 FSMC_A3 -
20 PF4 FSMC_A4 -
22 PF6 Smartcard_OFF Remove R126
24 PF8 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 18. Daughterboard extension connector CN2
PinDescripti
onAlternative Function
How to disconnect with function block on STM3221G-EVAL board
1 GND - -
3 PA3 ULPI_D0 -
5 PA5 ULPI_CLK Remove R69
7 PA7 MII_RX_DV Remove RS2, JP8 open
Table 17. Daughter board extension connector CN1 (continued)
Pin Description Alternative functionHow to disconnect with
function block onSTM3221G-EVAL board
Connectors UM1065
24/66 Doc ID 018640 Rev 3
9 PC5 MII_RXD1 Remove R58
11 PB0 ULPI_D1 -
13 PB2 BOOT1 -
15 PF12 FSMC_A6 -
17 PF14 FSMC_A8 -
19 GND - -
21 PG1 FSMC_A11 -
23 PE8 FSMC_D5 -
25 PE10 FSMC_D7 -
27 PE12 FSMC_D9 -
29 PE14 FSMC_D11 -
31 PE15 FSMC_D12 -
33 PB11 ULPI_D4 -
35 PH7 MII_RXD3 Remove RS3
37 PH9 DCMI_D0 Remove camera module from CN15
39 GND - -
2APP_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
Table 18. Daughterboard extension connector CN2 (continued)
PinDescripti
onAlternative Function
How to disconnect with function block on STM3221G-EVAL board
UM1065 Connectors
Doc ID 018640 Rev 3 25/66
36 PH8 DCMI_HSYNC & MCRemove camera module from CN15. Disconnect motor control board from CN5.
38 PH10 DCMI_D1 &MCRemove camera module from CN15. Disconnect motor control board from CN5.
40 PH11 DCMI_D2 &MCRemove camera module from CN15. Disconnect motor control board from CN5.
Table 19. Daughter board extension connector CN3
Pin Description Alternative FunctionHow to disconnect with function block on
STM3221G-EVAL board
1 GND - -
3 PI1 I2S_CK -
5 PH15Smartcard_3/5V and MC
Disconnect motor control board from CN5
7 PH13MicroSDCard_detect and MC
Remove MicroSD card from CN6. Disconnect motor control board from CN5.
9 PC13 Anti-tamper Remove R143
11 RESET# Reset button -
13 PA11 OTG_FS_DM Remove R17
15 PA9 VBUS_FSRemove USB cable from CN8.
Remove R18.
17 PC9MicroSDCard_D1 & I2S_CKIN
Keep JP16 on open
19 EMU_5V - -
21 PC6I2S_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 -
Table 18. Daughterboard extension connector CN2 (continued)
PinDescripti
onAlternative Function
How to disconnect with function block on STM3221G-EVAL board
Connectors UM1065
26/66 Doc ID 018640 Rev 3
43 PH12 DCMI_D3 & MCRemove camera module from CN15.Disconnect motor control board from CN5.
45 NC - -
47 EMU_3V3 - -
49 EMU_5V - -
2 PI2 IO_Expandor_INT Remove R136
4 PI0 I2S_CMD -
6 PH14 DCMI_D4 & MCRemove 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 PC8MicroSDCard_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/MCSB14 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 - -
Table 19. Daughter board extension connector CN3 (continued)
Pin Description Alternative FunctionHow to disconnect with function block on
STM3221G-EVAL board
UM1065 Connectors
Doc ID 018640 Rev 3 27/66
Table 20. Daughter board extension connector CN4
Pin Description Alternative FunctionHow to disconnect with function block on
STM3221G-EVAL board
1 GND - -
3 PI6 DCMI_D6 & MCRemove camera module from CN15.
Disconnect motor control board from CN5.
5 PI4 DCMI_D5 & MCRemove 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 PG12Smartcard_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 PC11MicroSDCard_D3 & RS232/IrDA_RX
JP22 openRemove MicroSD card from CN6
37 PA15 TDI -
39 GND - -
2 PI7 DCMI_D7 & MCRemove camera module from CN15
Disconnect motor control board from CN5
4 PI5 DCMI_VSYNC & MCRemove 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 -
Connectors UM1065
28/66 Doc ID 018640 Rev 3
3.2 Motor control connector CN5
Figure 5. Motor Control connector CN5
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 PC10MicroSDCard_D2 & RS232/IrDA_TX
Remove MicroSD card from CN6
38 PA14 TCK/SWCLK -
40 PI3 I2S_DIN -
Table 20. Daughter board extension connector CN4
Pin Description Alternative FunctionHow to disconnect with function block on
STM3221G-EVAL board
Table 21. Motor Control connector CN5
Description STM32F217IGH6
pin
Pin number of CN5
Pin number of CN5
STM32F217IGH6 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
UM1065 Connectors
Doc ID 018640 Rev 3 29/66
3.3 MicroSD connector CN6
Figure 6. MicroSD connector CN6
PWM-WL PH15 13 14 PC4BUS
VOLTAGE
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 PC5Heatsink
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 PB8Encoder
Index
Table 21. Motor Control connector CN5 (continued)
Description STM32F217IGH6
pin
Pin number of CN5
Pin number of CN5
STM32F217IGH6 pin Description
Connectors UM1065
30/66 Doc ID 018640 Rev 3
3.4 Ethernet RJ45 connector CN7
Figure 7. Ethernet RJ45 connector CN7
Table 22. MicroSD connector CN6
Pin number Description Pin number Description
1 SDIO_D2 (PC10) 5 SDIO_CLK (PC12)
2 SDIO_D3 (PC11) 6 Vss/GND
3 SDIO_CMD (PD2) 7 SDIO_D0 (PC8)
4 +3V3 8 SDIO_D1 (PC9)
10 MicroSDcard_detect (PH13)
Table 23. RJ45 connector CN7
Pin number
DescriptionPin
numberDescription
1 TxData+ 2 TxData-
3 RxData+ 4 Shield
5 Shield 6 RxData-
7 Shield 8 Shield
MS19171V1
1 8
Front view
UM1065 Connectors
Doc ID 018640 Rev 3 31/66
3.5 USB OTG FS Micro-AB connector CN8
Figure 8. USB OTG FS Micro-AB connector CN8
3.6 USB OTG HS Micro-AB connector CN9
Figure 9. USB OTG HS Micro-AB connector CN9
Table 24. USB OTG FS Micro-AB connector CN8
Pin number Description Pin number Description
1 VBUS (PA9) 4 ID (PA10)
2 D- (PA11) 5 GND
3 D+ (PA12)
MS19172V1
Table 25. USB OTG HS Micro-AB connector CN9
Pin number Description Pin number Description
1 VBUS 4 ID
2 D- 5 GND
3 D+
MS19172V1
Connectors UM1065
32/66 Doc ID 018640 Rev 3
3.7 CAN D-type 9-pin male connectors CN10 (CAN1 or CAN2)
Figure 10. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
3.8 Audio connector CN11A 3.5mm Stereo audio jack CN11 is available on STM3221G-EVAL board to support headset (headphone & microphone integrated).
3.9 Trace debugging connector CN13
Figure 11. Trace debugging connector CN13
Table 26. CAN D-type 9-pin male connector CN10 (CAN1 or CAN2)
Pin number Description Pin number Description
1,4,8,9 NC 7 CANH
3,5,6 GND 2 CANL
6 7 8 9
1 2 3 4 5
Front view
MS19173V1
Table 27. Trace debugging connector CN13
Pin number Description Pin number Description
1 3.3V power 2 TMS/PA13
3 GND 4 TCK/PA14
5 GND 6 TDO/PB3
7 KEY 8 TDI/PA15
9 GND 10 RESET#
11 GND 12 TraceCLK/PE2
13 GND 14 TraceD0/PE3 or SWO/PB3
MS19143V2
19 17 15 13 11 9 7 5 3 1
20 18 16 14 12 10 8 6 4 2
11 9
Viewed from above PCB
UM1065 Connectors
Doc ID 018640 Rev 3 33/66
3.10 JTAG debugging connector CN14
Figure 12. JTAG debugging connector CN14
15 GND 16 TraceD1/PE4 or nTRST/PB4
17 GND 18 TraceD2/PE5
19 GND 20 TraceD3/PE6
Table 27. Trace debugging connector CN13 (continued)
Pin number Description Pin number Description
Table 28. JTAG debugging connector CN14
Pin number Description Pin number Description
1 3.3V power 2 3.3V power
3 PB4 4 GND
5 PA15 6 GND
7 PA13 8 GND
9 PA14 10 GND
11 RTCK 12 GND
13 PB3 14 GND
15 RESET# 16 GND
17 DBGRQ 18 GND
19 DBGACK 20 GND
MS19143V2
19 17 15 13 11 9 7 5 3 1
20 18 16 14 12 10 8 6 4 2
11 9
Viewed from above PCB
Connectors UM1065
34/66 Doc ID 018640 Rev 3
3.11 Camera module connector CN15
Figure 13. Camera module connector CN15
3.12 RS-232 connector CN16
Figure 14. RS-232 connector CN16 with ISP support
Table 29. Camera module connector CN15
Pin number Description Pin number Description
1 DGND 13 XCLK1
2 DGND 14 Y6(PI6)
3 SIO_D (PB9) 15 DGND
4 AVDD (2.8V) 16 Y5(PI4)
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
Table 30. RS-232 connector CN16 with ISP support
Pin number Description Pin number Description
1 NC 6 Bootloader_BOOT0
2 RS232_RX (PC11) 7 NC
3 RS232_TX (PC10) 8 Bootloader_RESET
6 7 8 9
1 2 3 4 5
Front view
UM1065 Connectors
Doc ID 018640 Rev 3 35/66
3.13 Power connector CN18Your STM3221G-EVAL evaluation board can be powered from a 5V DC power supply via the external power supply jack (CN18) shown in Figure 15. The central pin of CN18 must be positive.
Figure 15. Power supply connector CN18
3.14 TFT LCD connector CN19One 34-pin male header CN19 is available on the board for connecting LCD module board MB785. Please refer to Section 2.21: Display and input devices for details.
3.15 Smartcard connector CN20
Figure 16. Smartcard connector CN20
4 NC 9 NC
5 GND
Table 30. RS-232 connector CN16 with ISP support (continued)
Pin number Description Pin number Description
Table 31. Smartcard connector CN20
Pin number DescriptionPin
numberDescription
1 VCC 5 GND
2 RST 6 NC
3 CLK 7 I/O
Connectors UM1065
36/66 Doc ID 018640 Rev 3
3.16 ST-LINK/V2 connector CN21The USB type B connector CN21 is for ST-LINK/V2 connected between the STM3221G-EVAL evaluation board and the PC for board debugging.
3.17 Camera extension connector CN23
4 NC 8 NC
17 Card presence detection pin 18 Card presence detection pin
Table 31. Smartcard connector CN20 (continued)
Pin number DescriptionPin
numberDescription
Table 32. Camera extension connector CN23
Pin number Description Pin number Description
1 +1V8 2 +1V8
3 GND 4 GND
5 NC 6 NC
7 GND 8 GND
9 NC 10 NC
11 GND 12 GND
13 SCL 14 SDA
15 Camera_Plug 16 GND
17 Camera_RST 18 NC
19 Camera_XSDN 20 Camera_CLK
21 GND 22 GND
23 DCMI_D0 24 DCMI_D1
25 DCMI_D2 26 DCMI_D3
27 DCMI_D4 28 DCMI_D5
29 DCMI_D6 30 DCMI_D7
31 HSYSC 32 VSYSC
33 PIXCLK 34 NC
35 NC 36 NC
37 GND 38 GND
39 +2V8 40 +2V8
UM1065 Connectors
Doc ID 018640 Rev 3 37/66
3.18 STM3221G-EVAL pinout
Table 33. STM3221G-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 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
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 OSC_OUT
J1 NRST RESET_BUTTON
M2 PC0 USB_HS_STP
M3 PC1 ETHER_MDC / MC_ADC123_11 pin 15 (Current A)
Connectors UM1065
38/66 Doc ID 018640 Rev 3
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 WAKEUP_BUTTON
N2 PA1 ETHER_RX_CLK
P2 PA2 ETHER_MDIO
F4 PH2 ETHER_CRS
G4 PH3 ETHER_COL
H4 PH4 USB_HS_NXT
J4 PH5 USB_FS_POWER_ON
R2 PA3 USB_HS_D0
L4 BYPASS 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)
P5 PC5ETHER_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
Table 33. STM3221G-EVAL pinout (continued)
Pin no. Pin Name Description
UM1065 Connectors
Doc ID 018640 Rev 3 39/66
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)
K12 PH12 CAM_D3 / TIM5_CH3 pin 29 (PFCPWM)
H12 VSS_14
J12 VDD_14
P12 PB12 ULPI_D5
P13 PB13 ULPI_D6 / CAN2_TX
R14 PB14 ETHER_INT
R15 PB15 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
Table 33. STM3221G-EVAL pinout (continued)
Pin no. Pin Name Description
Connectors UM1065
40/66 Doc ID 018640 Rev 3
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
F13 VCAP2 VCAP / 1.2V
F12 VSS 2
G13 VDD_2
E12 PH13 MC_TIM8_CH1N pin 5 (UL) / MicroSD card detect
E13 PH14 CAM_D4 / MC_TIM8_CH2N pin 9 (VL)
D13 PH15 MC_TIM8_CH3N pin 13 (WL) / SmartCard_3/5V
E14 PI0 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
Table 33. STM3221G-EVAL pinout (continued)
Pin no. Pin Name Description
UM1065 Connectors
Doc ID 018640 Rev 3 41/66
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
B7 PG15 USER_BUTTON
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 BOOT0
A5 PB8 ETHER_TXD3 / MC_TIM4_CH3 pin 34 (Index)
B4 PB9 I2C1_SDA
A4 PE0 FSMC_NBL0
A3 PE1 FSMC_NBL1
D5 VSS_SA
C6 VDD_3 POR Disable
C5 VDD_SA
Table 33. STM3221G-EVAL pinout (continued)
Pin no. Pin Name Description
Connectors UM1065
42/66 Doc ID 018640 Rev 3
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)
Table 33. STM3221G-EVAL pinout (continued)
Pin no. Pin Name Description
UM1065 Schematics
Doc ID 018640 Rev 3 43/66
4 Schematics
The following schematic diagrams are listed:
● Figure 17: STM3221G-EVAL on page 44
● Figure 18: Audio on page 45
● Figure 19: Camera on page 46
● Figure 20: CAN on page 47
● Figure 21: Ethernet on page 48
● Figure 22: Extension connector on page 49
● Figure 23: I/O peripherals on page 50
● Figure 24: Expandor on page 51
● Figure 25: JTAG and Trace on page 52
● Figure 26: LCD on page 53
● Figure 27: MCU on page 54
● Figure 28: MicroSD card on page 55
● Figure 29: Motor control on page 56
● Figure 30: Power on page 57
● Figure 31: SmartCard on page 58
● Figure 32: SRAM and OneNAND on page 59
● Figure 33: ST-LINK/V2 on page 60
● Figure 34: RS-232 and IrDA on page 61
● Figure 35: USB_OTG_FS on page 62
● Figure 36: USB_OTG_HS on page 63
● Figure 37: 3.2” LCD module with SPI and 16-bit interface on page 64
Schematics UM1065
44/66 Doc ID 018640 Rev 3
Figure 17. STM3221G-EVAL
11
22
33
44
55
66
77
88
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
120
STM
32 2
0-21
-45-
46 G
-EV
AL
I2S_
WS
I2S_
SDI2S_
SCK
Audio_S
CL
Aud
io_S
DA
Aud
io_R
STI2S_
MCK
Aud
io_D
AC_O
UT
Audio_IN
I2S_
CKIN
MCO
U_A
udio
Aud
io.SchDoc
DCMI_PIXCK
DCMI_VSY
NC
DCMI_D[0..7]
DCMI_HSY
NC
Cam
era_RST
I2C1_SC
LI2C1_
SDA
Cam
era_XSD
N
Cam
era_PL
UG
U_C
amera connector
Cam
era connector.S
chDoc
CAN1_
TX
CAN1_
RX
CAN2_
TXCAN2_
RX
U_C
AN
CAN.SchDoc
MII_
TXD0
MII_
TX_E
N
MII_
TX_C
LKMII_
RXD0
MII_
RX_E
RMII_
RX_D
V/RMII_
CRSD
VMII_
RX_C
LK/RMII_
REF
_CLK
MII_
COL
MII_
CRS
MII_
MDC
MII_
MDIO
MCO
RES
ET#
MII_
TXD1
MII_
TXD2
MII_
TXD3
MII_
RXD1
MII_
RXD2
MII_
RXD3
MII_
INT
U_E
thernet
Ethernet.SchDoc
RES
ET#
PA[0..15]
PB[0..15]
PC[0..15]
PD[0..15]
PE[0..15]
PF[0..15]
PG[0..15]
PH[0..15]
PI[0..11]
BOOT0
U_E
xtensionConnector
ExtensionC
onnector.SchDoc
LED4
LED3
LED1
LED2
Potentiometer
JOY_S
ELJO
Y_D
OWN
JOY_L
EFT
JOY_R
IGHT
JOY_U
P
Anti_Ta
mper
WAKEU
PUser_Button
EEPR
OM_S
CL
EEPR
OM_S
DA
MEM
S_SC
LMEM
S_SD
A
MEM
S_IN
T1MEM
S_IN
T2
U_IO Peripherals
IO Peripherals.SchDoc
IO_E
xpandor_SC
KIO
_Exp
ando
r_SD
AIO
_Expandor_IN
T
TouchS
creen_
X+
TouchS
creen_X-
TouchS
creen_
Y+
TouchS
creen_Y-
EXP_
IO2
EXP_
IO3
EXP_
IO4
EXP_
IO5
EXP_
IO6
EXP_
IO7
EXP_
IO8
EXP_
IO9
EXP_
IO10
EXP_
IO11
EXP_
IO12
EXP_
IO1
U_IO_E
xpandor
IO_E
xpando
r.SchDoc
TDI
RES
ET#
TRACE_
D3
TRACE_
D2
TRACE_
D1
TRACE_
D0
TRACE_
CK
TRST
TMS/SW
DIO
TCK/SWCLK
TDO/SWO
U_JTA
G&Trace
JTAG&Trace.Sc
hDocTouchS
creen_
X+
TouchS
creen_X-
TouchS
creen_
Y+
TouchS
creen_Y-
RES
ET#
D[0..15]
A[0..20]
FSMC_N
WE
FSMC_N
OE
FSMC_N
E3
LCD_V
SYNC
LCD_H
SYNC
LCD_C
S
PC[0..15]
U_L
CD
LCD.SchDoc
PA[0..15]
PB[0..15]
PC[0..15]
PD[0..15]
PE[0..15]
RES
ET#
Boo
tloader_B
OOT0
Bootlo
ader_R
ESET
DCMI_PIXCK
DCMI_VSY
NC
DCMI_D[0..7]
DCMI_HSY
NC
MCO
ULP
I_D[0..7]
ULP
I_CLK
ULP
I_DIR
ULP
I_NXT
ULP
I_ST
P
RS2
32/IrDA_T
X
RS2
32/IrDA_R
XOTG
_FS_
PowerSw
itchO
n
OTG
_FS_
OverCurrent
OTG
_FS_
DM
OTG
_FS_
DP
OTG
_FS_
ID
I2S_
WS
I2S_
SDI2S_
SCK
I2S_
MCK
Aud
io_D
AC_O
UT
CAN1_
TX
CAN1_
RX
CAN2_
TXCAN2_
RX
MII_
TXD0
MII_
TX_E
N
MII_
TX_C
LKMII_
RXD0
MII_
RX_E
RMII_
RX_D
V/RMII_
CRSD
VMII_
RX_C
LK/RMII_
REF
_CLK
MII_
COL
MII_
CRS
MII_
MDC
MII_
MDIO
MII_
TXD1
MII_
TXD2
MII_
TXD3
MII_
RXD1
MII_
RXD2
MII_
RXD3
MII_
INT
LED4
LED3
LED1
LED2
Potentiometer
Anti_Ta
mper
WAKEU
PUser_Button
I2C1_SC
LI2C1_
SDA
IO_E
xpandor_IN
T
TDI
TRACE_
D3
TRACE_
D2
TRACE_
D1
TRACE_
D0
TRACE_
CK
TRST
TMS/SW
DIO
TCK/SWCLK
TDO/SWO
D[0..15]
A[0..20]
FSMC_N
E3
MicroSD
Card_CLK
MicroSD
Card_CMD
MicroSD
Card_D0
MicroSD
Card_D1
MicroSD
Card_D2
MicroSD
Card_D3
MicroSD
Card_Detect
MC_E
mergencyS
TOP
MC_C
urrentA
MC_C
urrentB
MC_C
urrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
LMC_V
HMC_V
LMC_U
HMC_U
LMC_W
HMC_N
TCMC_D
issipativ
eBrake
MC_P
FCpw
m
MC_E
nAMC_E
nBMC_H
eatsinkT
emperature
MC_B
usVoltage
MC_E
nIndex
SmartCard_3/5V
SmartCard_IO
SmartCard_RST
SmartCard_CLK
SmartCard_OFF
SmartCard_
CMDVCC
FSMC_N
E1FS
MC_N
E2
FSMC_N
WE
FSMC_N
OE
FSMC_B
LN0
FSMC_B
LN1
FSMC_N
WAIT
FSMC_C
LKFS
MC_N
LOneNAND_INT
PF[0..15]
PG[0..15]
PH[0..15]
PI[0..11]
BOOT0
Audio_IN
LCD_V
SYNC
LCD_H
SYNC
LCD_C
S
I2S_
CKIN
U_M
CU
MCU.SchDoc
MicroSD
Card_CLK
MicroSD
Card_CMD
MicroSD
Card_D0
MicroSD
Card_D1
MicroSD
Card_D2
MicroSD
Card_D3
MicroSD
Card_Detect
U_M
icroSD
Card
MicroSD
Card.SchD
oc
MC_E
mergencyS
TOP
MC_C
urrentA
MC_C
urrentB
MC_C
urrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
LMC_V
HMC_V
LMC_U
HMC_U
LMC_W
HMC_N
TCMC_D
issipativ
eBrake
MC_P
FCpw
m
MC_E
nAMC_E
nBMC_H
eatsinkT
emperature
MC_B
usVoltage
MC_E
nIndex
U_M
otorContro
lMotorContro
l.SchDoc
U_P
ower
Power.SchDoc
A[0..20]
D[0..15]
FSMC_N
E1FS
MC_N
E2FS
MC_N
WE
FSMC_N
OE
FSMC_B
LN0
FSMC_B
LN1
FSMC_N
WAIT
FSMC_C
LKFS
MC_N
LOneNAND_INT
U_S
RAM&OneNAND
SRAM&OneNAND.SchDoc
SmartCard_3/5V
SmartCard_IO
SmartCard_RST
SmartCard_CLK
SmartCard_OFF
SmartCard_
CMDVCC
U_S
martCard
SmartCard.SchD
oc
RS2
32/IrDA_T
X
RS2
32/IrDA_R
XBoo
tloader_B
OOT0
Bootlo
ader_R
ESET
U_U
SART&
IrDA
USA
RT&
IrDA.SchDoc
OTG
_FS_
PowerSw
itchO
n
OTG
_FS_
OverCurrent
OTG
_FS_
DM
OTG
_FS_
DP
OTG
_FS_
ID
U_U
SB_O
TG_F
SUSB
_OTG
_FS.Sc
hDoc
ULP
I_D[0..7]
ULP
I_CLK
ULP
I_DIR
ULP
I_NXT
ULP
I_ST
PRES
ET#
U_U
SB_O
TG_H
SUSB
_OTG
_HS.Sc
hDoc
R11
10
R10
30
R13
31K
5R11
81K
5
+2V8
TDI
TRST
TMS/SW
DIO
TCK/SWCLK
TDO/SWO
RES
ET#
U_S
T_LINK
ST_L
INK.SCHDOC
UM1065 Schematics
Doc ID 018640 Rev 3 45/66
Figure 18. Audio
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
620
STM
32 2
0-21
-45-
46 G
-EV
AL
Aud
io
I2S_
WS
I2S_
SDI2S_
SCK
R13
410K
Audio_S
CL
Aud
io_S
DA
R11
051
1 2
U19
KSS
-1508 or KSS
G17
08Aud
io_R
ST
I2S_
MCK
+5V
I2C address 0x94
C87
1uF (X
7R)
C95
1uF
C10
30.1uF
SDA
1
SCL
2
A0
3
SPKR_O
UTA
+4
VP
5
SPKR_O
UTA
-6
SPKR_O
UTB
+7
VP
8SP
KR_O
UTB
-9
-VHPF
ILT
10
FLYN
11
FLYP
12
+VHP
13
HP/LINE_
OUTB
14HP/LINE_
OUTA
15
VA
16
AGND
17FILT
+18
VQ
19TS
TO20
AIN
4A21
AIN
4B22
AIN
3A23
AIN
3B24
AIN
2A25
AIN
2B26
AFILT
A27
AFILT
B28
AIN
1A29
AIN
1B30
SPKR/H
P31
RES
ET32
VL
33
VD
34
DGND
35
TSTO
36
MCLK
37
SCLK
38
SDIN
39
LRCK
40
GND/Therm
al Pad
0
U23
CS4
3L22
C88
1uF(X7R
)
C98
0.1uF
C92
0.1uF
+2V5
C10
40.1uF
+3V3
C10
21uF(X5R
)C10
11uF(X5R
)C10
7150pF(COG)
C10
8150pF(COG)
C94
0.1uF
C86
0.022uF
R11
251
C97
0.022uF
C93
0.1uF
From
IO expandor
Aud
io_D
AC_O
UT
R12
2100
R11
3100K
C10
5
1uF(X7R
)
R11
50
PB9
PB6
PC6
PI0
PI1
PI3
PA4
Audio_IN
BYP
2
GND
4
IN-
5
IN+
8
GS
9
BIA
S10
C1
14
C2
15
OUT-
16OUT+
17
VCC
20
STBY
21
GND
22
U33
TS472IQT
12
U34
KEC
G2740TB
L[N/A]
C14
3
100nF
R19
80
C14
11uF
R19
71K
C14
4
100nF
C14
21uF
+3V3
C14
0 1uF
C14
5
100pF
C14
6
100pF
C14
70ohm
R19
9100K
R19
60
PF10
R20
047
+3V3
R19
510K
JP33
26 43CN11
PJ3028B-3
R21
60
R21
50
R21
7[N
/A]
R21
8[N
/A]
Fit f
or Ip
hone
hea
dset
Fit f
or N
okia
hea
dset
VD
1
GND
2
CLK
_OUT
3
AUX_O
UT
4
TST_
IN5
XTO
6XTI/REF
_CLK
7AD0/CS
8SC
L/CCLK
9SD
A/CDIN
10U36
CS2
200-CP
MCO
+3V3
C158
0.1uF
PA8
I2S_
CKIN
C15
9
1uF
PC9
R20
90
C15
5
[N/A]
C15
4
[N/A]
X6
[N/A]
R21
10
R22
110K
+3V3
0ohm
resi
stor
mou
nted
for D
C c
oupl
ing
Schematics UM1065
46/66 Doc ID 018640 Rev 3
Figure 19. Camera
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
420
STM
32 2
0-21
-45-
46 G
-EV
AL
Cam
era
DCMI_PIXCK
DCMI_VSY
NC
DCMI_D[0..7]
DCMI_HSY
NC
Cam
era_RST
EN1
GND
2OUT
3VCC
4U27
SM7745HEW
-24.0M
+2V5 R
130
10K
DCMI_D[0..7]
DCMI_D0
DCMI_D1
DCMI_D2
DCMI_D3
DCMI_D4
DCMI_D5
DCMI_D6
DCMI_D7
R10
810K
+2V8
C90
0.1uF
I2C1_SC
LI2C1_
SDA
Cam
era_CLK
C84
0.1uF
DGND
1DGND
2
SIO_D
3
AVDD(2.8V)
4
SIO_C
5
RES
ET6
VSY
NC
7
PWDN
8
HREF
9
DVDD(1.8V)
10
DOVDD(2.8V)
11
Y7
12
XCLK
113
Y6
14
DGND
15
Y5
16
PCLK
17
Y4
18
Y0
19
Y3
20
Y1
21
Y2
22
AGND
23AGND
24
CN15
24-5805-024-000-829+
+2V8
JP26
C85
0.1uF
+1V8
+2V8
PH8
PI5
PA6
PB9
PB6
PH9
PH10
PH11
PH12
PI4
PH14
PI6
PI7
+2V8
R10
910K
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
3940
CN23
CLM
-120-02-L-D
+1V8
+1V8
SCL
SDA
SCL
SDA
Cam
era_CLK
DCMI_D0
DCMI_D1
DCMI_D2
DCMI_D3
DCMI_D4
DCMI_D5
DCMI_D6
DCMI_D7
HSY
SCVSY
SCPIXCLK
HSY
SCVSY
SCPIXCLK
+2V8
+2V8
C15
10.1uF
C15
20.1uF
C15
00.1uF
C14
90.1uF
Cam
era_RST
Cam
era_RST
Cam
era_XSD
N
+2V8 R21
310K
Cam
era_PL
UG
UM1065 Schematics
Doc ID 018640 Rev 3 47/66
Figure 20. CAN
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
CAN1_
TX
CAN1_
RX
D1
GND
2
VCC
3
R4
Vref
5CANL
6CANH
7RS
8U9
SN65
HVD23
0
+3V3
+3V3
R38
120
JP9
32
1
JP7
R37
10K
+3V3
C32
100nF
R39
0
CAN2_
TX
CAN2_
RX
R60
0R56
do not fit
Default setting: 1
<->2
Default setting: O
pen
MB7
8611
20
STM
32 2
0-21
-45-
46 G
-EV
AL
CA
N
1 6 2 7 3 8 4 9 5
CN10
DB9-male CAN connector
PD1
PD0
PB13
PB5
32
1 JP3
32
1 JP10
Schematics UM1065
48/66 Doc ID 018640 Rev 3
Figure 21. Ethernet
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
520
STM
32 2
0-21
-45-
46 G
-EV
AL
Eth
erne
t
MII_
TXD0
MII_
TX_E
N
MII_
TX_C
LK
MII_
RXD0
MII_
RX_E
R
MII_
RX_D
V/RMII_
CRSD
V
MII_
RX_C
LK/RMII_
REF
_CLK
MII_
COL
MII_
CRS
MII_
MDC
MII_
MDIO
X1
25MHz (w
ith so
cket)
C14
22pF
C15
22pF
12
3JP5
MCO
EN1
GND
2OUT
3VCC
4U3
SM7745HEV
-50.0M
(do not fit)
+3V3 R
2610K
RES
ET#
R24
0
JP8
R40
2K2
+3V3
+3V3
R25
4.87K
R30
2K2
+3V3
R33
2K2
C21
0.1uF
C17
0.1uF
C19
0.1uF
C13
10uF
R42
2K2
MII_
TXD1
MII_
TXD2
MII_
TXD3
MII_
RXD1
MII_
RXD2
MII_
RXD3
TX_C
LK1
TX_E
N2
TXD_0
3
TXD_1
4
TXD_2
5
TXD_3
/SNI_MODE
6
PWR_D
OWN/IN
T7
NC
8NC
9NC
10NC
11NC
12RD-
13RD+
14
AGND
15
TD-
16TD
+17
PFBIN
118
AGND
19
NC
20NC
21
AVDD33
22
PFBOUT
23
RBIA
S24
25MHz_OUT
25
LED_A
CT/COL/AN_E
N26
LED_S
PEED
/AN1
27LE
D_L
INK/AN0
28
RES
ET_N
29
MDIO
30MDC
31
IOVDD33
32X2
33
X1
34
IOGND
35
DGND
36
PFBIN
237
RX_C
LK38
RX_D
V/M
II_MODE
39
CRS/CRS_
DV/LED
_CFG
40
RX_E
R/M
DIX
_EN
41
COL/PH
YAD0
42
RXD_0
/PHYAD1
43
RXD_1
/PHYAD2
44
RXD_2
/PHYAD3
45
RXD_3
/PHYAD4
46
IOGND
47
IOVDD33
48
U5
DP8
3848
CVV
+3V3
C16
0.1uF
C27
0.1uF
C20
0.1uF
+3V3
R43
1.5K
12
3
JP6
TP1
25MHz
TD+
1
TCT
4
TD-
2
RD+
3
RCT
5
RD-
6
NC
7
CHS GND
8
LED(green)_A
9
LED(green)_K
10
LED(Y
ellow)_A
12
LED(Y
ellow)_K
11
Shield
13
Shield
14
CN7
J001
1D21
B
R22
240
R1
240
+3V3
C7
0.1uF
C6
0.1uF
+3V3
MII_
INT
R41
0
R44
0Second so
urce: S
I-60116-F
RS5
51RS3
51
RS6
51
+3V3Unused in RMII mode
RS1
2K2
RS4
51
RS2
51
PI10
PC1
PC2
PC3
PA1
PA2
PH2
PH3
PA7
PC4
PC5
PG11
PH6
PH7
PG13
PG14
PB14
PB8
PA8
SB1
R20
851
R21
2150
UM1065 Schematics
Doc ID 018640 Rev 3 49/66
Figure 22. Extension connector
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
RES
ET#
RES
ET#
MB7
8619
20
STM
32 2
0-21
-45-
46 G
-EV
AL
Ext
ensi
on c
onne
ctor
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
3940
CN4
21N22564-40S1
0B
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
CN1
21N22564-50S1
0B1
23
45
67
89
1011
1213
1415
1617
1819
2021
2223
2425
2627
2829
3031
3233
3435
3637
3839
40
CN2
21N22564-40S1
0B
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
CN3
21N22564-50S1
0B
PA0PA1PA2
PA3
PA4
PA5
PA6
PA7
PA8PA10 PA11PA12
PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12 PB13PB14PB15
PC0PC1PC2PC3
PC4
PC5
PC6PC7PC8 PC9
PC10
PC11
PC12
PC13EXT_PC14EXT_PC15
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8PD9 PD10PD11 PD12PD13 PD14
PD15
PE0
PE1
PE2PE3PE4PE5PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PF0PF1PF2PF3
PF4PF5PF6PF7PF8PF9PF10
PF11
PF12
PF13
PF14
PF15
PG0
PG1
PG2 PG3PG4 PG5PG6 PG7PG8
PG9
PG10
PG11
PG12
PG13
PG14
PG15
EXT_PH0EXT_PH1
PH2PH3
PH4PH5
PH6
PH7
PH8
PH9
PH10
PH11
PH12
PH13PH14 PH15PI0 PI1PI2
PI3
PI4
PI5
PI6
PI7
PI8
PI9PI10PI11
VREF
+
EMU_3
V3
EMU_5
V
APP
_3V3
APP
_VCC
PC13RESET#
EMU_5
VEM
U_3
V3
EMU_5
V
APP
_3V3
BOOT0
(Left)
(Right)
(Buttom)
(Top)
PA[0..15]
PA[0..15]
PB[0..15]
PB[0..15]
PC[0..15]
PC[0..15]
PD[0..15]
PD[0..15]
PE[0..15]
PE[0..15]
PF[0..15]
PF[0..15]
PG[0..15]
PG[0..15]
PH[0..15]
PH[0..15]
PI[0..11]
PI[0..11]
APP
_3V3
APP
_VCC
EMU_5
VD5V
+3V3
SB6
SB7
SB4
SB5
PH0
PH1
PC14
PC15
EXT_
PH0
EXT_
PH1
EXT_
PC14
EXT_
PC15
Close to
crystal on PC
B
BOOT0
BOOT0
VBUS_
FS
C16
033pF
Schematics UM1065
50/66 Doc ID 018640 Rev 3
Figure 23. I/O peripherals
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
12
LD3
Red
12
LD2
Orange 1
2
LD4
Blue1
2
LD1
Green
R15
5510
R15
4680
R14
1680
R14
0680
LED4
LED3
LED1
LED2
31
2RV1
3386
P-10
3H[10%
]R15
10
+3V3
Potentiometer
C12
210nF
R14710KR14610KR14510KR14410K
R14910K
+2V8
C119100nF
C128100nF
C120100nF
C129100nF
C121100nF
R15
910
0COMMON
5
Selection
2
DWON
3
LEFT
1
RIG
HT
4
UP
6
U32
MT0
08-A
R15
3220K
1
4 3
2
B2
WKUP
C12
4do not fit
+3V3
R13
810
0R14
84K
7
1
43
2
B4
USE
RC13
0100nF
+3V3 R
160
100
R14
24K
7
1
43
2
B3
Tamper
C11
8100nF
+3V3 R
156
100
R13
933
0
R15
00
R14
30
JOY_S
ELJO
Y_D
OWN
JOY_L
EFT
JOY_R
IGHT
JOY_U
P
Anti_Ta
mper
WAKEU
P
User_Button
EEPR
OM_S
CL
EEPR
OM_S
DA
MEM
S_SC
LMEM
S_SD
A
MEM
S_IN
T1MEM
S_IN
T2
E01
E12
E23
VSS
4SD
A5
SCL
6WC
7VCC
8U18
M24
C64
-RMN6T
P
+3V3 R10
210K
JP24
VDD_IO
1
GND
2Reserved
3
GND
4GND
5
VDD
6CS
7
INT1
8
INT2
9
GND
10
Reserved
11
SDO
12
SDA
13
SCL
14
U20
LIS3
02DL
+2V8
R10
710K
+2V8
MB7
8612
20
STM
32 2
0-21
-45-
46 G
-EV
AL
IO P
erip
hera
ls
Joystick
LEDs
EEPR
OM
MEM
S
BUTT
ON
Potentiometer
C81
100nF
C89
100nF
To IO
expandor
To IO
expandor
R15
21K
PG6
PG8
PI9
PC7
PC13
PA0
PG15
PF9
PB9
PB6
PB9
PB6
UM1065 Schematics
Doc ID 018640 Rev 3 51/66
Figure 24. Expandor
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
1320
STM
32 2
0-21
-45-
46 G
-EV
AL
IO_E
xpan
dor
Y-
1
INT
2
A0/Data Out
3
SCLK
4
SDAT
5
VCC
6
Data in
7
IN0
8IN
19
GND
10
IN2
11IN
312
X+
13
Vio
14
Y+
15X-
16
U24
STMPE
811Q
TR
Y-
1
INT
2
A0/Data Out
3
SCLK
4
SDAT
5
VCC
6
Data in
7
IN0
8IN
19
GND
10
IN2
11IN
312
X+
13
Vio
14
Y+
15X-
16
U29
STMPE
811Q
TRR13
510K
+2V8
I2C device address:0x82
I2C device address:0x88
+2V8
+2V8
R11
6100K
R13
2100K
IO_E
xpandor_SC
KIO
_Exp
ando
r_SD
AIO
_Expandor_IN
T
TouchS
creen_
X+
TouchS
creen_X-
TouchS
creen_
Y+
TouchS
creen_Y-
EXP_
IO2
EXP_
IO3
EXP_
IO4
EXP_
IO5
EXP_
IO6
EXP_
IO7
EXP_
IO8
EXP_
IO9
EXP_
IO10
EXP_
IO11
EXP_
IO12
EXP_
IO1
R12
110K
R13
60 +2
V8
R11
710K
R13
110K
+2V8C99
100nF
C11
5100nF
PB9
PB6
PI2
Schematics UM1065
52/66 Doc ID 018640 Rev 3
Figure 25. JTAG and Trace
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CN13
FTSH
-110-01-L-DV
+3V3
R97
[N/A]
R96
[N/A]
R10
1[N
/A]R95
[N/A]
R98
do not fit
+3V3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CN14
JTAG
+3V3
+3V3
R10
510K
R10
610K
R99
10K
R92
[N/A]
R10
40R10
0do not fit
R94
0R91
do not fit
TRACE_
D3
TRACE_
D2
TRACE_
D1
TRACE_
D0
TRACE_
CK
Trac
e co
nnec
tor
JTA
G c
onne
ctor
KEY
MB7
8617
20
STM
32 2
0-21
-45-
46 G
-EV
AL
JTA
G &
Tra
ce
PA13
PA14
PB3
PA15
PB4
PE6
PE5
PE4
PE3
PE2
TDI
RES
ET#
TRST
TMS/SW
DIO
TCK/SWCLK
TDO/SWO
D8 Z5V1
RS7
22D3 Z5V1
D4 Z5V1
D5 Z5V1
D6 Z5V1
D7 Z5V1
UM1065 Schematics
Doc ID 018640 Rev 3 53/66
Figure 26. LCD
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
TouchS
creen_
X+
TouchS
creen_X-
TouchS
creen_
Y+
TouchS
creen_Y-
CS
1
RS
2
WR/SCL
3
RD
4
RES
ET5
VDD
24
VCI
25
GND
26
GND
27
BL_
VDD
28
BL_
Contro
l23
BL_
GND
22
PD1
6
PD2
7
PD3
8
PD4
9
PD5
10
PD6
11
PD7
12
PD8
13
PD10
14
PD11
15
PD12
16
PD13
17
PD14
18
PD15
19
PD16
20
PD17
21
SDO
29
SDI
30XL
31
XR
32
YD
33
YU
34
CN19
3.2" LCD_connector (M
B785 with
AM-240320D
4TOQW-T00H(R))
+3V3
+5V
MB7
869
20
STM
32 2
0-21
-45-
46 G
-EV
AL
LCD
To IO
expandor
RES
ET#
D[0..15]
A[0..20]
A[0..20]
D[0..15]
FSMC_N
WE
FSMC_N
OE
FSMC_N
E3D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
A0
PD5
PD4
PG10
R17
015
0R17
115
0R17
215
0R17
315
0R17
415
0R17
515
0R17
615
0R17
715
0
R82
150
R16
115
0R16
315
0R16
515
0R16
615
0R16
715
0R16
815
0R16
915
0
R78
150
R11
915
0R16
215
0R16
415
0
C14
810uF
L2 BEA
D
C15
3100nF
L1 BEA
D
LCD_H
SYNC
LCD_V
SYNC
LCD_C
S
12
34
56
CN22
Header 3
X2H
PC[0..15]
PC10
PC11
PC12
PC[0..15]
Res
erve
d fo
r LC
D c
onne
ctor
R67
0
+3V3
R68
[N/A
]
Schematics UM1065
54/66 Doc ID 018640 Rev 3
Figure 27. MCU
11
22
33
44
55
66
77
88
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
220
STM
32 2
0-21
-45-
46 G
-EV
AL
MC
U
PA[0..15]
PA[0..15]
PB[0..15]
PB[0..15]
PC[0..15]
PC[0..15]
PD[0..15]
PD[0..15]
PE[0..15]
PE[0..15]
1 432
B1
RES
ET
R13
7do not fit
+3V3
C12
3
100nF
C73
20pF
C72
20pFX4
25MHz (w
ith so
cket)
R86
390
R89
10K
+3V32
3
1
SW2
09.032
90.01
RES
ET#
R88
10K
+3V3
231
SW1
09.032
90.01
41
32
X3
MC306-G-06Q
-32.768 (m
anufacturer JFV
NY)
C71
6.8pF
C70
6.8pF
R85
0R84
0
TP2
PTP_
PPS
Boo
tloader_B
OOT0
Boo
tloader_R
ESET
DCMI_PIXCK
DCMI_VSY
NC
DCMI_D[0..7]
DCMI_HSY
NC
MCO
ULP
I_D[0..7]
ULP
I_CLK
ULP
I_DIR
ULP
I_NXT
ULP
I_ST
P
RS2
32/IrDA_T
X
RS2
32/IrDA_R
X
OTG
_FS_
PowerSw
itchO
n
OTG
_FS_
OverCurrent
OTG
_FS_
DM
OTG
_FS_
DP
OTG
_FS_
ID
I2S_
WS
I2S_
SD
I2S_
SCK
I2S_
MCK
Aud
io_D
AC_O
UT
CAN1_
TX
CAN1_
RX
CAN2_
TX
CAN2_
RX
MII_
TXD0
MII_
TX_E
NMII_
TX_C
LK
MII_
RXD0
MII_
RX_E
R
MII_
RX_D
V/RMII_
CRSD
V
MII_
RX_C
LK/RMII_
REF
_CLK
MII_
COL
MII_
CRS
MII_
MDC
MII_
MDIO
MII_
TXD1
MII_
TXD2
MII_
TXD3
MII_
RXD1
MII_
RXD2
MII_
RXD3
MII_
INT
LED4
LED3
LED1
LED2
Potentiometer
Anti_Ta
mper
WAKEU
P
User_Button
I2C1_SC
L
I2C1_
SDA
IO_E
xpandor_IN
T
TDI
TRACE_
D3
TRACE_
D2
TRACE_
D1
TRACE_
D0
TRACE_
CK
TRST
TMS/SW
DIO
TCK/SWCLK
TDO/SWO
D[0..15]
A[0..20]
FSMC_N
E3
MicroSD
Card_CLK
MicroSD
Card_CMD
MicroSD
Card_D0
MicroSD
Card_D1
MicroSD
Card_D2
MicroSD
Card_D3
MicroSD
Card_Detect
MC_E
mergencyS
TOP
MC_C
urrentA
MC_C
urrentB
MC_C
urrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
L
MC_V
H
MC_V
L
MC_U
H
MC_U
L
MC_W
H
MC_N
TC
MC_D
issipativ
eBrake
MC_P
FCpw
m
MC_E
nA
MC_E
nB
MC_H
eatsinkT
emperature
MC_B
usVoltage
MC_E
nIndex
SmartCard_3/5V
SmartCard_IO
SmartCard_RST
SmartCard_CLK
SmartCard_OFF
SmartCard_
CMDVCC
FSMC_N
E1
FSMC_N
E2
FSMC_N
WE
FSMC_N
OE
FSMC_B
LN0
FSMC_B
LN1
FSMC_N
WAIT
FSMC_C
LK
FSMC_N
L
OneNAND_INT
PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PI0
PI1
PI2
PI3
PI4
PI5
PI6
PI7
PI8
PI9
PI10
PI11
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
PF8
PF9
PF10
PF11
PF12
PF13
PF14
PF15
A0
A1
A2
A3
A4
A5
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA10
PA11
PA12
PA13
PA14
PA15
PH0
PH1
PH2
PH3
PH4
PH5
PH6
PH7
PH8
PH9
PH10
PH11
PH12
PH13
PH14
PH15
ULP
I_D0
ULP
I_D1
ULP
I_D2
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
A6
A7
A8
A9
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
PG8
PG9
PG10
PG11
PG12
PG13
PG14
PG15
A10
A11
ULP
I_D3
DCMI_D0
DCMI_D1
DCMI_D2
DCMI_D3
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
D13
D14
D15
D4
D5
D6
D7
D8
D9
D10
D11
D12
A16
A17
D0
D1
A12
A13
A14
A15
DCMI_D4
D2
D3
DCMI_D5
DCMI_D6
DCMI_D7
DCMI_D[0..7]
A[0..20]
D[0..15]
ULP
I_D[0..7]
VBUS_
FS
PF[0..15]
PF[0..15]
PG[0..15]
PG[0..15]
PH[0..15]
PH[0..15]
PI[0..11]
PI[0..11]
JP21
BT1
CR1220 holder
L3 BEA
D
C74
1uF
C69
100nF
R87
47VDDA
VDD_M
CU
VREF
+C68
100nF
TP5
VREF
12
3
JP19
+3V3
VDD_M
CU
C60
100nF
VDD_M
CU
C50
2.2uF
C33
2.2uF
C48
100nF
C37
100nF
C35
100nF
C54
100nF
C67
100nF
C34
100nF
C57
100nF
VDD_M
CU
C56
100nF
C36
100nF
C61
100nF
C66
100nF
C53
100nF
C49
100nF
C65
100nF
IOs M
ultip
lexed
IOs M
ultip
lexed
ULP
I_D4
ULP
I_D5
ULP
I_D6
ULP
I_D7
R71
10K
C75
1uF
BOOT0
BOOT0
D1
BAT6
0JFILM
JP29
D2
BAT6
0JFILM
TP14
MCO1
TP16
CPU
CK
TP15
MCO2
A18
A19
A20
Audio_IN
JP34
SB10
SB11
SB12
SB14
SB15
SB16
R34
0
R20
4[N
/A]
R58
0
R20
5[N
/A]
12
3
JP1 1
23
JP2
PE2
A2
PE3
A1
PE4
B1
PE5
B2
PE6
B3
PI8
D2
PC13
D1
PC14
E1
PC15
F1
PI9
D3
PI10
E3PI11
E4
PF0
E2PF
1H3
PF2
H2
PF3
J2PF
4J3
PF5
K3
PF6
K2
PF7
K1
PF8
L3PF
9L2
PF10
L1
PH0
G1
PH1
H1
NRST
J1
PC0
M2
PC1
M3
PC2
M4
PC3
M5
PA0
N3
PA1
N2
PA2
P2
PH2
F4PH
3G4
PH4
H4
PH5
J4
PA3
R2
PA4
N4
PA5
P4
PA6
P3
PA7
R3
PC4
N5
PC5
P5
PB0
R5
PB1
R4
PB2
M6
PF11
R6
PF12
P6PF
13N6
PF14
R7
PF15
P7
PG0
N7
PG1
M7
PE7
R8
PE8
P8PE
9P9
PE10
R9
PE11
P10
PE12
R10
PE13
N11
PE14
P11
PE15
R11
PB10
R12
PB11
R13
PH6
M11
PH7
N12
PH8
M12
PH9
M13
PH10
L13
PH11
L12
PH12
K12
PB12
P12
PB13
P13
PB14
R14
PB15
R15
PD8
P15
PD9
P14
PD10
N15
PD11
N14
PD12
N13
PD13
M15
PD14
M14
PD15
L14
PG2
L15
PG3
K15
PG4
K14
PG5
K13
PG6
J15
PG7
J14
PG8
H14
PC6
H15
PC7
G15
PC8
G14
PC9
F14
PA8
F15
PA9
E15
PA10
D15
PA11
C15
PA12
B15
PA13
A15
PH13
E12
PH14
E13
PH15
D13
PI0
E14
PI1
D14
PI2
C14
PI3
C13
PA14
A14
PA15
A13
PC10
B14
PC11
B13
PC12
A12
PD0
B12
PD1
C12
PD2
D12
PD3
D11
PD4
D10
PD5
C11
PD6
B11
PD7
A11
PG9
C10
PG10
B10
PG11
B9
PG12
B8
PG13
A8
PG14
A7
PG15
B7
PB3
A10
PB4
A9
PB5
A6
PB6
B6
PB7
B5
BOOT0
D6
PB8
A5
PB9
B4
PE0
A4
PE1
A3
PI4
D4
PI5
C4
PI6
C3
PI7
C2
U16
A
STM32F2
07IG
H6
VBAT
C1
VSS
F2
VDD
F3
VSS
G2
VDD
G3
VREF
-N1
VSS
AM1
VREF
+P1
VDDA
R1
BYPA
SS_R
EGL4
VDD
K4
VSS
M8
VDD
N8
VSS
M9
VDD
N9
VCAP
M10
VDD
N10
VSS
H12
VDD
J12
VSS
_SA
D5
VDD
J13
VSS
G12
VDD
H13
VCAP
F13
VSS
F12
VDD
G13
VSS
D9
VDD
C9
VSS
D8
VDD
C8
VSS
D7
VDD
C7
RFU
C6
VDD_S
AC5
U16
B
STM32F2
07IFT6
LCD_H
SYNC
LCD_V
SYNC
LCD_C
S
R81
10KJP4
+3V3
12
3 JP16
I2S_
CKIN
R51
0R66
[N/A
]
C58
4.7uF
STM32F2
17IG
H6
STM32F4
57IG
H6
STM32F4
67IG
H6
Optional
- RFU
means Reserved for F
uture Use.
- As a
n optio
n, RFU
could be tied to VDD or V
SS fo
r forward
compatib
ility with
future STM
32F products. H
owever, user m
ay leave
RFU
pin connected to
VDD, or V
SS, or N
C fo
r STM
32F2
xx exclusive
use.
- JP4
should be fitted for future backward compatib
ility with
sTM32F2
xx.
UM1065 Schematics
Doc ID 018640 Rev 3 55/66
Figure 28. MicroSD card
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
Mic
roS
D c
ard
MB7
8614
20
STM
32 2
0-21
-45-
46 G
-EV
AL
Mic
roS
D c
ard
+3V3
MicroSD
Card_CLK
MicroSD
Card_CMD
SMS0
64FF
or S
MS1
28FF
12345678
SW2 9
SW1 10
CN6
PJS0
08-2000
MicroSD
Card_D0
MicroSD
Card_D1
MicroSD
Card_D2
MicroSD
Card_D3
MicroSD
Card_Detect
R9
47K
R8
47K
R2
0
R11
47K
R10
47K
R65
47K
+3V3
PC8
PC9
PC10
PC11
PC12
PD2
PH13
Schematics UM1065
56/66 Doc ID 018640 Rev 3
Figure 29. Motor control
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
R7
3.3K C4
1nF
+3V3
+3V3
+5V
R14
0
C3 100nF
C12
100nF
R74
0C59
do not fit
C62
do not fit
C63
do not fit
C11
do not fit
C38
do not fit
C2
10nF
C8 do not fit
C1
do not fit
R77
0
R80
0
R12
0 R4
0
C10
do not fit
EMER
GEN
CY STO
P1
MC-U
H3
MC_U
L5
MC_V
H7
MC_V
L9
MC_W
H11
MC_W
L13
CURREN
T A
15
CURREN
T C
19CURREN
T B
17
NTC
BYPA
SS REL
AY
21
DISSIPA
TIVE BRAKE
23
+5V POWER
25
PFC SYNC
27
PFC PWM
29
Encoder A
31
Encoder B
33
GND
2
GND
4
GND
6
GND
8
GND
10
GND
12
BUS VOLT
AGE
14
GND
16
GND
18
GND
20
GND
22
GND
24
Heatsink Te
mperature
26
Vdd_M
icro
28
GND
30
GND
32
Encoder Index
34
CN5
MC_connector
MC_E
mergencyS
TOP
MC_C
urrentA
MC_C
urrentB
MC_C
urrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
L
MC_V
HMC_V
L
MC_U
HMC_U
L
MC_W
H
MC_N
TCMC_D
issipativ
eBrake
MC_P
FCpw
mMC_E
nAMC_E
nB
MC_H
eatsinkT
emperature
MC_B
usVoltage
MC_E
nIndex
R6
100K
C9
do not fit
Mot
or c
ontro
l con
nect
or
Default setting: O
pen
Default setting: O
pen
MB7
8615
20
STM
32 2
0-21
-45-
46 G
-EV
AL
Mot
or c
ontro
l
R73
0 R76
0 R79
0
R13
0
R5
0
PC4
PC5
PC1
PC2
PC3
PH8
PH10
PH11
PD13
PC8
PB8
PH13
PH14
PH15
PD12
PI4
PI5
PI6
PI7
R3
0
R59
0
R57
0
TP4
AIN
+TP
3AIN
-
SB17
SB18
R21
90
UM1065 Schematics
Doc ID 018640 Rev 3 57/66
Figure 30. Power
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
Vin
3
GND 1
Vout
2
U22
LD10
86D2M
33TR
C11
3220uF
C83
10uF
C82
100nF
+5V
TP7
3V3
SV1
SG2
CV
3
CG1
4
CG2
5
CG3
6
U25
BNX002-01
C10
610uF
E5V
TP8
5V+5
V
R93
1K 1 2
LD9
red
TP13
Groun
d
1 32
CN18
DC-10B
Z1 SMAJ5.0A-TR
C11
2100nF
1
2
3
U28
ZEN056V
130A
24LS
+3V3
D5V E5V
MB7
8618
20
STM
32 2
0-21
-45-
46 G
-EV
AL
Pow
er
Vin
3Vout
2
1
U21
LD11
17S2
5TR
+5V
C91
10uF
+2V5
TP6
2V5
C96
220uF
VBUS_
FS
VBUS_
HS
Vin
3Vout
2
1
U30
LD11
17S1
8TR
C11
610uF+1V8
Vin
3Vout
2
1
U26
LD11
17ST
R+5
V
C11
010uF
+2V8
TP9
2V8
R11
4120 C10
010uF
R12
0150
TP10
1V8
+3V3
VDD_M
CU
JP32
12
34
56
78
910
JP18
Header 5
X2
U5V
_ST_
LINK
Schematics UM1065
58/66 Doc ID 018640 Rev 3
Figure 31. SmartCard
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
VCC
1
RST
2
CLK
3
NC
4
GND
5
NC
6
I/O7
NC
8
1817CN20
C81
6
CLK
DIV
11
CLK
DIV
22
5V/3V
3
PGND
4
C1+
5
Vdd
p6
C1-
7
Vup
8
PRES
9
PRES
10
I/O11
AUX2
12
AUX1
13
CGND
14CLK
15RST
16Vcc
17PO
RADJ
18CMDVCC
19RST
IN20
Vdd
21GND
22OFF
23XTA
L124
XTA
L225
I/OUC
26AUX1U
C27
AUX2U
C28
U31
ST80
24CDR
C125
100nF
C12
6100nF
C11
747uF
+5V
C127
100nF
C10
9
100nF
R15
8100K
+3V3
R15
74K
7
+3V3
R12
910K
R12
310K
+3V3
C11
1100nF
C11
447uF+3V3
R12
410K
+3V3
R12
70
R12
60
R12
510K
TP11
AUX2
TP12
AUX1
SmartCard_3/5V
SmartCard_IO
SmartCard_RST
SmartCard_CLK
SmartCard_OFF
SmartCard_
CMDVCC
MB7
8616
20
STM
32 2
0-21
-45-
46 G
-EV
AL
Sm
art c
ard
R12
80
PF7PF
6PG
7
PC6
PG12PH
15
UM1065 Schematics
Doc ID 018640 Rev 3 59/66
Figure 32. SRAM and OneNAND
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A[0..20]
D[0..15]
FSMC_N
E1FS
MC_N
WE
FSMC_N
OE
FSMC_N
WAIT
D[0..15]
A[0..20]
R36
10K
+3V3
A0
R48
10K
C28
100nF
+3V3
R49
10K
+3V3
FSMC_C
LKFS
MC_N
L
WE
A1
RP
A2
DQ14
A3
Vss
A4
Vss
A5
DQ13
A6
DQ12
B1
DQ8
B2
DQ1
B3
OE
B4
DQ9
B5
VccCore
B6
DQ7
C1
DQ4
C2
DQ11
C3
DQ10
C4
DQ3
C5
VccIO
C6
DQ15
D1
A12
D2
DQ0
D3
A15
D4
DQ5
D5
DQ6
D6
CLK
E1
CE
E2
DQ2
E3
NC
E4NC
E5
A9
E6
A14
F1
A13
F2
AVD
F3
A7
F4
A11
F5
A8
F6
INT
G1
A0
G2
A1
G3
NC
G4
A10
G5
A6
G6
RDY
H1
A4
H2
A5
H3
A2
H4
A3
H5
NC
H6
U7
KFG
1216U2A
-DIB6
C18
100nF
C22
100nF
+3V3
R52
0
R45
10K
+3V3
R53
0OneNAND_INT
R54
0
MB7
868
20
STM
32 2
0-21
-45-
46 G
-EV
AL
SR
AM
& O
neN
AN
D
PD5
PD4
PD3
PB7
PD6
PD7
PB15
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
FSMC_N
E2
FSMC_B
LN0
FSMC_B
LN1
A0
A17
PE0
PE1
R47
0
R35
10K
+3V3
PG9
A18
A19
C30
100nF
C23
100nF
+3V3D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
A20
CY7C
1071
DV33
-12B
AXI
A4
B4
A3
B3
A2
A5
A1
A4
A0
A3
CE
B5
I/O0
B6
I/O1
C5
I/O2
C6
I/O3
D5
VCC
D6
VSS
D1
I/O4
E5I/O
5F5
I/O6
F6I/O
7G6
WE
G5
A16
E4
A15
F4
A14
F3
A13
G4
A12
G3
A11
H5
A10
H4
A9
H3
A8
H2
I/O8
B1
I/O9
C1
I/O10
C2
I/O11
D2
VCC
E1
I/O12
E2I/O
13F2
I/O14
F1I/O
15G1
BLE
A1
BHE
B2
OE
A2
A7
D4
A6
C4
A5
C3
A17
D3
A18
H1
VSS
E6
A19
G2
A20
H6
CE2
A6
U6
IS61WV102416BLL
-10M
LINot fitte
d
Schematics UM1065
60/66 Doc ID 018640 Rev 3
Figure 33. ST-LINK/V2
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2(
PCB.
SCH
)Date:
6/15
/201
120
20
VBAT
1
PC13
2
PC14
3
PC15
4
OSC
_IN
5
OSC
_OUT
6
/RST
7
VSS
A8
VDDA
9
PA0
10
PA1
11
U2_
TX12
U2_RX 13
U2_CK 14
S1_CK 15
S1_MISO 16
S1_MOSI 17
PB0 18
PB1 19
PB2/BOOT1 20
PB10 21
VSS_1 23
VDD_1 24
PB12
25
PB11 22
S2_C
K26
S2_M
ISO
27S2
_MOSI
28PA
829
PA9
30PA
1031
PA11
32PA
1233
JTMS
34VSS
_235
VDD_2
36
JTCK37 JTDI38 JTDO39 JNRST40 PB541 PB642 PB743 BOOT044 PB845 PB946 VSS_347 VDD_348
U15
STM32F1
03C8T
6
20pF
C13
920pF
C13
81
2X5
8MHz
+3V3
USB
_DM
USB
_DP
STM
_RST
T_JTCK
T_JT
CK
T_JTDOT_JTDI
T_JT
MS
STM
_JTM
S_SW
DIO
STM_JTCK_SWCLK
LED
_STL
INK
OSC
_IN
OSC
_OU
T
T_NRSTT_JRST
LED
_STL
INK
T_JT
CK
T_JT
DI
T_JT
DO
T_N
RST
T_JT
MS
T_JR
ST
R18
5
4K7
R18
6
4K7
AIN
_1C13
7100nF
R18
3
100K
R20
110
0
+3V3
+3V3
+3V3
+3V3
+3V3
+3V3
AIN
_1
VCC
1
D-
2
D+
3
GND
4
SHEL
L0
SHEL
L0
CN21
USB
-typeB connector
USB
_DM
USB
_DP
+3V3 C
135
100nF
C13
3100nF
C13
6100nF
C13
4100nF
R19
210
R19
310
MCU U
SB
JTAG
STM
_JTM
S_SW
DIO
STM
_JTC
K_SW
CLK
+3V3
U5V
_ST_
LINK
TDI
TRST
TMS/SW
DIO
TCK/SWCL
K
TDO/SWO
RES
ET#
SWIM
_PU_C
TRL
R18
2
100K
T_SW
OT_
SWD
IO_I
N
T_SW
DIO
_IN
T_SW
O
12
34
5
CN17
JTAG
R19
4
1.5K
R18
910K
R19
136K2
3 1
T2 9013
+3V3
U5V
_ST_
LINK
R18
7[N
/A]R18
810K
R18
4
100K
MCO
2 1
43
Red
Yello
w
LD10
HSM
F-A201-A00J1
R20
210
0
R19
00
+3V3
MB7
86
STM
32 2
0-21
-45-
46 G
-EVA
L ST
-LIN
K/V2
UM1065 Schematics
Doc ID 018640 Rev 3 61/66
Figure 34. RS-232 and IrDA
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1
RS2
32/IrDA_T
X
RS2
32/IrDA_R
X
SD5
TxD
3
GND
8
Ano
de (V
CC2)
1
Cathode
2
RxD
4
VCC1
6
NC
7
U11
TFDU63
00
R64
5R63
47
C51
0.1uF
C52
0.1uF
+3V3
C55
4.7uF
C45
4.7uF
IrDA
32
1
JP22
MB7
8610
20
STM
32 2
0-21
-45-
46 G
-EV
AL
RS
232&
IrDA
C2+
1
C2-
2V-
3
R1IN
4
R2IN
5
R3IN
6
R4IN
7
R5IN
8
T1OUT
9
T2OUT
10
T3OUT
11T3
IN12
T2IN
13T1
IN14
R5O
UT
15R4O
UT
16R3O
UT
17R2O
UT
18R1O
UT
19R2O
UTB
20R1O
UTB
21
nSHDN
22nE
N23
C1-
24GND
25VCC
26
V+
27
C1+
28U17
ST32
41EB
PR
C78100nF
C80 10
0nF
C76
100nF
C77
100nF
C79
100nF
+3V3
1 6 2 7 3 8 4 9 5
CN16
DB9-male UART3
or 4
+3V3
Boo
tloader_B
OOT0
Bootlo
ader_R
ESET
PC10
PC11
RXD
TXD
CTS
DSR
Schematics UM1065
62/66 Doc ID 018640 Rev 3
Figure 35. USB_OTG_FS
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
720
STM
32 2
0-21
-45-
46 G
-EV
AL
US
B_O
TG_F
S
+5V
R20
10K
OTG
_FS_
PowerSw
itchO
n
OTG
_FS_
OverCurrent
R16
47K
+3V3
1 2
LD5
Red
R23
620
OTG
_FS_
DM
OTG
_FS_
DP
OTG
_FS_
ID
C5
4.7uF
R18
0
R21
0
R15
0GND
2
IN5
EN4
OUT
1FA
ULT
3U1
STMPS
2141
STR@54
VBUS
1
DM
2
DP
3
ID4
GND
5
Shield
0
USB_Micro-AB receptacle
CN8
475900001
VBUS_
FS
PH5
PF11
PA9
PA10
PA11
PA12
R17
22R19
22
Dz
A2
IDA3
Pd1
B1
Pup
B2
Vbu
sB3
D+in
C1
Pd2
C2
D+o
utC3
D-in
D1
GND
D2
D-out
D3
U2
EMIF02-U
SB03F2
R27
330
1 2
LD6
Green
3
2
1T1 9013
R18
047K
+3V3
R18
1[N
/A]
+3V3
UM1065 Schematics
Doc ID 018640 Rev 3 63/66
Figure 36. USB_OTG_HS
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.2
(PC
B.S
CH
)Date:
6/15
/201
1M
B786
320
STM
32 2
0-21
-45-
46 G
-EV
AL
US
B O
TG H
S
ULP
I_D[0..7]
ULP
I_CLK
ULP
I_D0
ULP
I_D1
ULP
I_D2
ULP
I_D3
ULP
I_DIR
ULP
I_NXT
ULP
I_ST
P
C44
4.7uF
+5V
R32
10K
+3V3
R28
330
1 2
LD7
Green
12LD
8
Red
R29
620
C25
4.7uF
GND
2
IN5
EN4
OUT
1FA
ULT
3U4
STMPS
2141
STR@54
R50
12K[1%]
VBUS
1
DM
2
DP
3
ID4
GND
5
Shield
0
USB_Micro-AB receptacle
CN9
475900001
VBUS_
HS
C24
0.1uF
PI11
PC0
PH4
PA3
PA5
PB0
PB1
PB10
+3V3
C39
0.1uF
C29
0.1uF
C43
0.1uF
C42
0.1uF
C31
4.7uF
C26
0.1uF
C40
33pFX2
26MHz
R55
1M
C41
33pF
ULP
I_D[0..7]
PB11
PB12
PB13
PB5
ULP
I_D4
ULP
I_D5
ULP
I_D6
ULP
I_D7
R31
10K
R46
2K2
R61
0R62
0
R69
0
GND
D2
GND
C5
PSW_N
D4
VBUS
F4
IDD3
VCC
F3
DP
D1
DM
C1
RES
ET_N
C4
FAULT
E2NXT
D5
DIR
E5
STP
D6
CLO
CK
A4
VCC(I/O)
B2
D7
C6
D6
B6
D5
A6
D4
A5
D3
A3
D2
A2
D1
A1
D0
B1
VCC(I/O)
B5
XTA
L2F6
XTA
L1F5
REG
1V8
E6REG
_3V3
E3
RREF
C2
CFG
0E1
NC
F1
NC
F2
GND
E4
CFG
1B4
CFG
2B3
CHIP_S
EL_N
C3
U8
ISP1
705A
ET
+3V3
R72
[N/A]
+3V3
R70
100K
JP31 +3
V3
+3V3
C46
0.1uF
C47
0.1uF
C64
0.1uF
C13
10.1uF
A1A2
B1B2
U10
USB
ULC
6-2F
3
A1A2
B1B2
U12
ESDA14
V2-2B
F3
3
2
1T3 9013
R20
747K
R20
6[N
/A]
+3V3
RES
ET#
Schematics UM1065
64/66 Doc ID 018640 Rev 3
Figure 37. 3.2” LCD module with SPI and 16-bit interface
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
A.1
(PC
B.S
CH
)Date:
3/27
/200
9
Enable
DotClk
HSY
NC
VSY
NC
CS
RS
WR
RD
#RES
ET
SDO
SDI
VDD
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
YU
YD
XR
XL
VSS
1
XL
2XR
3YD
4YU
5
VSS
6
IM0/ID
7
IM1
8
IM3
9
SDO
10
NC
11
SDI
12
D17
13D16
14D15
15D14
16D13
17D12
18D11
19D10
20D9
21D8
22D7
23D6
24D5
25D4
26D3
27D2
28D1
29D0
30CS
31
RES
ET32
RS
33
WR/SCL
34
RD
35
VSY
NC
36
HSY
NC
37
DOTC
LK38
ENABLE
39
VCC
40
VCC
41
VSS
42
LED_K
43LE
D_A
44
VSS
45
CN2
FF02
45SS
1
R4
0
R1
10K
VDD
RP1
10K
RP2
10K
RP4
10K
PD0
PD2
PD4
PD6
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
Enable
DotClk
HSY
NC
VSY
NC
VDD
C3
1uF/50V
R3
4K7
R2
4K7
SDI
SDO RD
RS
Soldered fo
r Serial interface only
Soldered fo
r i80-system 16-bit interface
The 34-pin connector to
mother b
oard fo
r both
seria
l & 16bit interface. Com
patib
le with
MB694 with
Touch sc
reen signals a
dded on
Pin 31-34.
CS
RS
WR
RD
#RES
ET
VDD
BLG
ND
BLV
DD
BL_
Contro
l
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
SDO
SDI
A K
Z1 STPS
1L40M
C1
4.7uF/50V
L14.7u
H(1A)
R7
10
BLG
ND
BLV
DD
R6
100K
C2
2.2uF R
50
R8 do
not fit
BLV
DD
BL_
Contro
l
BLG
ND
BLG
ND
BLG
ND
AM-240320D
4TOQW-T00H(R)
Vi
1
Rset
2GND
3FB
4
NC
5Vo
6
EN7
SW8
PGND
9
U1
STLD
40DPM
R
CS
1
RS
2
WR/SCL
3
RD
4
RES
ET5
VDD
24
VCI
25
GND
26
GND
27
BL_
VDD
28
BL_
Contro
l23
BL_
GND
22
PD1
6
PD2
7
PD3
8
PD4
9
PD5
10
PD6
11
PD7
12
PD8
13
PD10
14
PD11
15
PD12
16
PD13
17
PD14
18
PD15
19
PD16
20
PD17
21
SDO
29
SDI
30XL
31
XR
32
YD
33
YU
34
CN1
3.2L
CD_connector
YU
YD
XR
XL
LCD board connector to
Mother b
oard
MB7
851
1
3.2"
LC
D m
odul
e w
ith b
oth
SP
I & 1
6bit
inte
rface
RP3
10K
RP6
10K
RP5
10K
PD1
PD3
PD5
PD7
UM1065 Revision history
Doc ID 018640 Rev 3 65/66
5 Revision history
Table 34. Document revision history
Date Revision Changes
15-Apr-2011 1 Initial release.
23-May-2011 2 Updated preliminary watermarks.
26-July-2011 3Added Section 1.4: Delivery recommendations.
Updated Section 2.16: Ethernet, Section 2.17: USB OTG HS and Section 4: Schematics.
UM1065
66/66 Doc ID 018640 Rev 3
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes noliability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of thisdocument refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVEGRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2011 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com