Sei sulla pagina 1di 48

UM0488 User manual

STM3210E-EVAL evaluation board


Introduction
The STM3210E-EVAL evaluation board is designed as a complete development platform for STMicroelectronic's ARM Cortex-M3 core-based STM32F103ZGT6 microcontroller with full speed USB2.0, CAN2.0A/B compliant interface, two I2S channels, two I2C channels, five USART channels with smartcard support, three SPI channels, two DAC channels, FSMC interface, SDIO, internal 96 KB SRAM and 1 MB Flash, JTAG and SWD debug support. The STM3210E-EVAL products delivered with the MB672 board versions D-03 or older are based on the STM32F103ZET6 instead of the STM32F103ZGT6 and include 64 KB internal SRAM and 512 KB Flash. The board number and version are on a label on the bottom side of the board. The full range of hardware features on the board helps you to evaluate all peripherals (USB, motor control, CAN, MicroSD Card, smartcard, USART, NOR Flash, NAND Flash, SRAM) and develop your own applications. Extension headers make it easy to connect a daughterboard or wrapping board for your specific application. Figure 1. STM3210E-EVAL evaluation board

July 2010

Doc ID 14220 Rev 5

1/48
www.st.com

Contents

UM0488

Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 1.2 1.3 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5


2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 RS-232 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 NAND Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 NOR Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 3.2 3.3 Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Analog input connectors CN2, CN3 and CN5 . . . . . . . . . . . . . . . . . . . . . 17 CAN D-type 9-pin male connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 17

2/48

Doc ID 14220 Rev 5

UM0488

Contents

3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15

QST connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Trace debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 RS-232 connector CN8 with RTS/CTS handshake support . . . . . . . . . . . 19 JTAG debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Daughterboard extension connectors CN10 and CN11 . . . . . . . . . . . . . . 20 RS-232 connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 MicroSD Card connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 USB type B connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Audio jack CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 TFT LCD connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Power connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Smartcard connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Appendix A STM3210E-EVAL I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Doc ID 14220 Rev 5

3/48

Overview

UM0488

1
1.1

Overview
Order code
To order the STM32F103ZGT6GT6 evaluation board, use the order code STM3210E-EVAL.

1.2

Features

Three 5 V power supply options: power jack, USB connector or daughterboard Boot from user Flash, system memory or SRAM I2S audio DAC, stereo audio jack 128 Mbyte MicroSD CardTM Both A and B type smartcard support 64 or 128 Mbit serial Flash, 512 Kx16 SRAM, 512 Mbit or 1 Gbit NAND Flash and 128 Mbit NOR Flash I2C/SMBus compatible serial interface temperature sensor Two RS-232 channels with RTS/CTS handshake support on one channel IrDA transceiver USB2.0 full speed connection CAN2.0A/B compliant connection Inductor motor control connector JTAG and trace debug support 240x320 TFT color LCD Joystick with 4-direction control and selector Reset, wakeup, tamper and user buttons 4 color LEDs RTC with backup battery

1.3

Demonstration software
Demonstration software is preloaded in boards Flash memory for easy demonstration of the device peripherals in stand-alone mode. For more information and to download the latest version available, please refer to the STM3210E-EVAL demonstration software available from www.st.com To use the STM3210E-EVAL evaluation board, you must have the demonstration software version 1.1 or later. If the version installed on your evaluation board is earlier than version 1.1, you must download the latest version from www.st.com.

4/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

Hardware layout and configuration


The STM3210E-EVAL evaluation board is designed around the STM32F103ZGT6 microcontroller in a 144-pin TQFP package. The hardware block diagram Figure 2 illustrates the connections between the STM32F103ZGT6 and peripherals (LCD, SPI Flash, USART, IrDA, USB, audio, CAN bus, smartcard, MicroSD Card, NOR Flash, NAND Flash, SRAM, temperature sensor, audio DAC and motor control) and Figure 3 helps you to locate these features on the actual evaluation board. Figure 2. Hardware block diagram

Doc ID 14220 Rev 5

5/48

Hardware layout and configuration Figure 3. STM3210E-EVAL evaluation board layout


U1 STM32F103ZG CN1 Motor control CN11 Extension connector

UM0488

CN10 Extension connector CN2,3,5 BNC

CN4 CAN connector

CN6 QST

CN14 USB CN7 Trace CN8 USART2 CN9 JTAG U17 Color LCD CN13 MicroSD CN12 USART1 CN15 Audio jack

U13 IrDA CN17 5V power

RV1 Potentiometer

B1 RESET

B2 WAKEUP

CN18 Smartcard

B3 Tamper

U19 Joystick

B4 User key

6/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

2.1

Power supply
The STM3210E-EVAL evaluation board is designed to be powered by 5V DC power supply and to be protected by PolyZen U15 in the event of wrong power plug-in. It is possible to configure the evaluation board to use any of following three sources for the power supply:

5V DC power adapter connected to CN17, the power jack on the board (PSU on silk screen for power supply unit). 5V DC power with 500 mA limitation from CN14, the type-B USB connector (USB on silkscreen). 5V DC power from both CN10 and CN11, the extension connector for daughterboard (DTB for daughterboard on silkscreen).

The power supply is configured by setting the related jumpers JP13, JP12 and JP1 as described in Table 1. The LED LD5 is lit when the STM3210E-EVAL evaluation board is powered correctly. Table 1.
Jumper
PSU DTB USB

Power related jumpers


Description JP13 is used to select one of the three possible power supply resources. For power supply jack(CN17) to the STM3210E-EVAL only, JP13 is set as shown (default setting).

For power supply from the daughterboard connectors(CN10 and CN11) to STM3210E-EVAL only, JP13 is set as shown.

PSU DTB USB

JP13

For power supply from USB (CN14) to STM3210E-EVAL only, JP13 is set as shown.

PSU DTB USB

For power supply from power supply jack(CN17) to both STM3210EEVAL and daughterboard connected on CN10 and CN11, JP13 is set as shown (daughterboard must not have its own power supply connected).

PSU DTB USB

JP12

Enables consumption measurements of both VDD and VDDA. Default setting: Fitted Vbat is connected to 3.3V power when JP1 is set as shown (default setting).
1 2 3

JP1 Vbat is connected to battery when JP1 is set as shown.


1 2 3

Doc ID 14220 Rev 5

7/48

Hardware layout and configuration

UM0488

2.2

Boot option
The STM3210E-EVAL evaluation board can boot from:

Embedded user Flash System memory with boot loader for ISP Embedded SRAM for debugging

The boot option is configured by setting the switches BOOT0 and BOOT1. Table 2.
Switch

Boot related switches


Boot from STM3210E-EVAL boots from User Flash when BOOT0 is set as shown to the right. BOOT1 is not required in this configuration. (Default setting) Switch configuration
Boot 0 0< >1

Boot 0

BOOT0 BOOT1

STM3210E-EVAL boot from Embedded SRAM when BOOT0 and BOOT1 are set as shown to the right.
0< >1

Boot 1

Boot 0

STM3210E-EVAL boot from System Memory when BOOT0 and BOOT1 are set as shown to the right.
0< >1

Boot 1

2.3

Clock source
Two clock sources are available on the STM3210E-EVAL evaluation board for STM32F103 and RTC.

X2, 32KHz crystal for embedded RTC. X1, 8MHz crystal with socket for STM32F103ZGT6 microcontroller, it can be removed from socket when internal RC clock is used.

2.4

Reset source
The reset signal of the STM3210E-EVAL evaluation board is low active and the reset sources include:

Reset button B1 Debugging tools from JTAG connector CN7 and trace connector CN9 Daughterboard from CN11 Reset related jumper
Description Enables reset of the STM32F103ZGT6 embedded JTAG TAP controller each time a system reset occurs. JP19 connects the TRST signal from the JTAG connection with the system reset signal RESET#. Default setting: not fitted

Table 3.
Jumper JP19

8/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

2.5

Audio
The STM3210E-EVAL evaluation board supports stereo audio play because it provides an audio DAC AK4343 connected to both I2S port and two channels of DAC of microcontroller STM32F103ZGT6. Either external slave mode or PLL slave mode (reference clock BICK or LRCK) of audio DAC can be used by setting the jumper JP18. The I2S_MCK is multiplexed with smartcard and motor control, and can be enabled by setting the jumper JP15. Refer to Section 2.9: Motor control for details. Audio DAC AK4343 is in power-down mode when PDN pin is pulled-down by PG11. Table 4.
Jumper

Audio related jumpers


Description External slave mode (MCK from STM32F103ZGT6) is selected when JP18 is set as shown (default setting).
1 2 3

JP18

PLL slave mode (reference clock BICK or LRCK) is selected when JP18 is set as shown.

1 2 3

2.6

Serial Flash
A 64 or 128 Mbit serial Flash connected to SPI1 of STM32F103ZGT6 serial Flash chip select is managed by IO-pin PB2. The SPI1_MISO is multiplexed with motor control, it can be enabled by setting the jumper JP3. Refer to Section 2.9: Motor control for details.

2.7

CAN
The STM3210E-EVAL evaluation board supports CAN2.0A/B compliant CAN bus communication based on 3.3 V CAN transceiver. High-speed mode, standby mode and slope control mode are available and can be selected by setting JP8. Table 5.
Jumper

CAN related jumpers


Description CAN transceiver works in standby mode when JP8 is set as shown.
1 2 3

JP8

CAN transceiver works in high-speed mode when JP8 is set as shown (default setting). CAN transceiver works in slope control mode when JP8 is open.

1 2 3

JP6

CAN terminal resistor is enabled when JP6 is fitted. Default setting: not fitted

Doc ID 14220 Rev 5

9/48

Hardware layout and configuration

UM0488

2.8

RS-232 connectors
Two D-type 9-pin connectors CN12 (USART1) and CN8 (USART2) are available on the STM3210E-EVAL evaluation board.

USART1 connector is connected to RS-232 transceiver U7 . USART2 connector with RTS/CTS handshake signal support is connected to RS-232 transceiver U5. The USART2_CTS is multiplexed with motor control, it can be enabled by setting jumper JP4. Refer to Section 2.9: Motor control for details.

2.9

Motor control
The STM3210E-EVAL evaluation board supports three-phase brushless motor control via a 34-pin connector CN1, 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, three-phase motor current, bus voltage, heatsink temperature from the motor driving board and 6 channels of PWM control signals going to the motor driving circuit. JP 20 selects one of the two synchronization methods for power factor correction (PFC). The I/O pins used on the motor control connector CN1 are multiplexed with some peripherals on the board; either the motor control connector or multiplexed peripherals can be enabled by setting the jumpers JP3, JP4, JP11, JP15 and JP16 as described in Table 6. Table 6.
Jumper

Motor control related jumpers


Description Multiplexed peripherals

JP20

JP20 allows to have a PFC synchronization signal redirected to the timer 3 input capture 1 pin, and additionally to the timer 3 external trigger input. JTAG debugging is disabled when JP20 is fitted. Default setting: not fitted JP2 should be kept on open when encoder signal is input from pin 31 of CN1 while it should be kept on close when analog signal is from pin 31 of CN1 for special motor. Default setting: not fitted MC_EnA is enabled when JP4 is set as shown to the right (default setting):
1 2 3

JP2

JP4

USART2_CTS is enabled when JP4 is set as show to the right:

1 2 3

USART2

JP3 JP11 JP15 JP16

MC_EmergencySTOP is enabled when JP3 is closed. The pin PA6 is used as SPI1_MISO when JP3 is open. Default setting: not fitted MC_PFCpwm is enabled when JP11 is open. The pin PB5 will be used as interrupt input from temperature sensor when JP11 is closed.

SPI1 Temperature sensor

MC_UH or I2S_MCK are enabled when JP15 is open. The pin PC6 is used I2S and as Smartcard_CMDVCC when JP15 is closed. smartcard MC_VH is enabled when JP16 is open. The pin PC7 is used as Smartcard_OFF when JP16 is closed Smartcard

10/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

2.10

Smartcard
STMicroelectronics smartcard interface chip ST8024 is used on the STM3210E-EVAL board for asynchronous 3 V and 5 V smartcards. It performs all supply protection and control functions based on the connections with STM32F103ZGT6 listed in Table 7. The Smartcard_CMDVCC and Smartcard_OFF are multiplexed with motor control. They can be enabled by setting the jumpers JP15 and JP16. Refer to Section 2.9: Motor control on page 10 for details. Table 7. Connection between ST8024 and STM32F103ZGT6
Description Smartcard power supply selection pin MCU data I/O line Crystal or external clock input Detect presence of a card, interrupt to MCU, share same pin with motor controller Card reset input from MCU Start activation sequence input (active low), share same pin with I2S DAC and motor control Connect to STM32F10X PB0 PB10 PB12 PC7 PB11 PC6

ST8024 signals 5V/3V I/OUC XTAL1 OFF RSTIN CMDVCC

Table 8.
Jumper JP15

Smartcard related jumpers


Description The CMDVCC is connected to PC6 when JP15 is closed. It should be kept on open, or the SD Card needs to be removed from the MicroSD Card connector when PC6 is used by I2S or motor control connector. Default setting: not fitted The OFF is connected to PC7 when JP16 is closed. It has to be kept on open when PC7 is used by the motor control connector. Default setting: not fitted

JP16

2.11

MicroSD Card
The 128 Mbyte MicroSD Card connected to SDIO of STM32F103ZGT6 is available on the board. MicroSD Card detection is managed by standard IO port PF11. The MicroSD Card_D3 is multiplexed with IrDA. It can be enabled by setting the jumper JP22, as explained in Section 2.14: IrDA on page 12. The MicroSD Card_D0 and MicroSD Card CMD are multiplexed with the motor control connector. They can be enabled by setting the jumpers JP17 and JP20. Table 9.
Jumper JP17

MicroSD Card related jumpers


Description JP17 is used to enable MicroSD Card data line D0. MicroSD Card D0 is enabled when JP17 is fitted. The JP17 should be kept on open when motor control connector CN1 is used. Default setting: fitted JP20 is used by the motor control connector, refer to Table 6 for details. JP20 should be kept on open for MicroSD Card operation. JTAG debugging is disabled when JP20 is fitted.

JP20

Doc ID 14220 Rev 5

11/48

Hardware layout and configuration

UM0488

2.12

Temperature sensor
One I2C interface temperature sensor STLM75 (55C to +125C) connected to I2C of STM32F103ZGT6 is available on the board.

2.13

Analog input
Three BNC connectors CN2,CN3 and CN5 are connected to PC3, PC2 and PC1 of the STM32F103ZGT6 as external analog input. The 50 ohm terminal resistor can be enabled by closing the solder bridge JP23, JP24 and JP25 for each BNC connector. A low-pass filter can be implemented for each BNC connector CN5, CN3 and CN2 by replacing R5 and C22, R4 and C13, R3 and C9 with the right resistor and capacitor values, depending on the requirements of your application.

2.14

IrDA
IrDA communication is supported by the IrDA transceiver U13 connected to USART3 of STM32F103ZGT6. The IrDA transceiver can be enabled or disabled by JP21. Table 10.
Jumper

IrDA related jumpers


Description Enables/disables the IrDA transceiver. IrDA is enabled when JP21 is fitted (default setting). IrDA is disabled when JP21 is not fitted. IrDA_RX is enabled when JP22 is closed. I/O pin PC11 is data line 3 of the MicroSD Card when JP22 is open (default setting).

JP21

JP22

2.15

USB
The STM3210E-EVAL evaluation board supports USB2.0 compliant full speed communication via a USB type B connector (CN14). The evaluation board can be powered by this USB connection at 5 V DC with a 500 mA current limitation. USB disconnection simulation can be implemented by disconnecting the 1.5 K pull-up resistor from USB+ line. The USB disconnection simulation feature is enabled by setting JP14. Table 11.
Jumper

USB related jumpers


Description The USB 1.5K pull-up resistor is always connected to USB+ line when JP14 is set as shown.
123

JP14

The USB 1.5K pull-up resistor can be disconnected by software from USB+ line when JP14 is set as shown. In this case, the USB connect/disconnect feature is managed by standard IO port PB14 (default setting).

123

12/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

2.16

Development and debug support


The two debug connectors available on the STM3210E-EVAL evaluation board are:

CN9: standard 20-pin JTAG interface connector, compliant with ARM7/9 debug tools. CN7: SAMTEC 20-pin connector FTSH-110-01-L-DV for both SWD and Trace, compliant with ARM CoreSight debug tools.

2.17

Display and input devices


The 240x320 TFT color LCD connected to bank1 NOR/PSRAM4 of FSMC interface of the STM32F103ZGT6 and four general purpose color LEDs (LD 1,2,3,4) are available as display devices. A 4-direction joystick with selection key, general purpose button (B4), wakeup button (B2) and tamper detection button (B3) are available as input devices. The jumper JP4 should be kept open to enable the wakeup button B2 which shares the same I/O with USART2 and motor control connector. The STM3210E-EVAL evaluation board also supports a second optional 122x32 graphic LCD that can be mounted on the U18 connector. By default, the graphic LCD is not present. Table 12. LCD modules
TFT LCD CN16 (default) Pin on CN16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 CS RS WR/SCL RD RESET PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 Description Pin connection CS of Bank3 of FSMC FSMC_A0 FSMC_NWE FSMC_NOE RESET# FSMC_D0 FSMC_D1 FSMC_D2 FSMC_D3 FSMC_D4 FSMC_D5 FSMC_D6 FSMC_D7 FSMC_D8 FSMC_D9 FSMC_D10 FSMC_D11 FSMC_D12 Pin on U18 1 2 3 4 5 6 7 8 Graphic LCD U18 (optional) Description Vss Vcc VO CLK SID CS A K Pin connection GND 3.3V PA5 PA7 PF10 +5V GND

Doc ID 14220 Rev 5

13/48

Hardware layout and configuration Table 12. LCD modules (continued)


TFT LCD CN16 (default) Pin on CN16 19 20 21 22 23 24 25 26 27 28 29 30 Description PD15 PD16 PD17 BL_GND BL_control VDD VCI GND GND BL_VDD SDO SDI Pin connection FSMC_D13 FSMC_D14 FSMC_D15 GND 3.3V 3.3V 3.3V GND GND 3.3V PA6 via JP26 PA7 via JP27 Pin on U18 Graphic LCD U18 (optional) Description

UM0488

Pin connection

2.18

SRAM
512Kx16 SRAM is connected to bank1 NOR/PSRAM3 of the FSMC interface and both 8-bit and 16-bit access are allowed by BLN0 and BLN1 connected to BLE and BHE of SRAM respectively.

2.19

NAND Flash
The 512 Mbit x8 or 1 Gbit x8 NAND Flash is connected to bank2 of the FSMC interface. The ready/busy signal can be connected to either WAIT signal or FSMC_INT2 signal of the STM32F103ZGT6 depending on the setting of JP7. Table 13.
Jumper

NAND Flash related jumpers


Description The ready/busy signal is connected to WAIT signal when JP7 is set as shown (default setting)
1 2 3

JP7

The ready/busy signal is connected to FSMC_INT2 signal when JP7 is set as shown.

1 2 3

14/48

Doc ID 14220 Rev 5

UM0488

Hardware layout and configuration

2.20

NOR Flash
128 Mbit NOR Flash is connected to bank1 NOR/PSRAM2 of the FSMC interface. The 16bit operation mode is selected by a pull-up resistor connected to the BYTE pin of the NOR Flash. Write protection can be enabled or disabled by jumper JP5. Table 14.
Jumper JP5

NOR Flash related jumpers


Description Write protection is enabled when JP5 is fitted. Write protection is disabled when JP5 is not fitted (default setting).

Three different NOR 128-Mbit references can be present on the evaluation board depending on component availability. Table 15. NOR Flash reference
Reference M29W128GL70ZA6E M29W128GH70ZA6E S29GL128P90FFIR20 Manufacturer NUMONYX NUMONYX SPANSION

These three references are not identical in terms of ID code, speed, timing or block protection. The demonstration firmware and the software library delivered with the board support these three NOR Flash references. However, during the development of your application software, you must verify which NOR reference is implemented on your board (component referenced as U2 on silkscreen and schematic), and take its characteristics into account.

Doc ID 14220 Rev 5

15/48

Connectors

UM0488

3
3.1

Connectors
Motor control connector CN1
Figure 4. Motor control connector CN1 (top view)

33 31 29 27 25 23 21 19 17 15 13 11 9 7 5

34 32 30 28 26 24 22 20 18 16 14 12 10 8 6

Table 16.

Motor control connector CN1


STM32F103Z GT6 pin PA6 PC6 PA7 PC7 PB0 PC8 PB1 PC1 PC2 PC3 PB12 CN1 pin # 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 CN1 pin # 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 PA2 PC5 PC0 STM32F103Z GT6 pin GND GND GND GND GND GND Bus voltage GND GND GND GND GND Heatsink temperature 3.3V power GND GND Encoder index Description

Description Emergency stop PWM-UH PWM-UL PWM-VH PWM-VL PWM-WH PWM-WL Phase A current Phase B current Phase C current NTC bypass relay

PA3 through Dissipative brake PWM 0 ohm resister unfitted +5V power PFC SYNC PFC PWM Encoder A Encoder B +5V PB4 and PD2 PB5 PA0 PA1

16/48

Doc ID 14220 Rev 5

UM0488

Connectors

3.2

Analog input connectors CN2, CN3 and CN5


Figure 5. Analog input connector CN2, CN3 and CN5 bottom view 1 5 4 3 2

Table 17.
Pin number 1 2 3

Analog input connector CN2, CN3 and CN5


Description GND GND 5 GND Pin number 4 GND Analog input PC3, PC2 and PC1 for CN2,CN3 and CN5 respectively Description

3.3

CAN D-type 9-pin male connector CN4


Figure 6. CAN D-type 9-pin male connector CN4 (front view)

Table 18.
Pin number 1,4,8,9 2

CAN D-type 9-pins male connector CN4


Description NC CANL Pin number 7 3,5,6 CANH GND Description

3.4

QST connector CN6


The QST connector connects the STM3210E-EVAL to the QST evaluation board to demonstrate the QST function. Figure 7. QST connector CN6 (front view)
13 11 9 7 5 3 1

14

12

10

6 4

Doc ID 14220 Rev 5

17/48

Connectors Table 19.


Pin number 1 3 5 7 9 11 13 +5V PB6 PB7 PB1 PF11 PA8 GND

UM0488 QST connector CN6


Description Pin number 2 4 6 8 10 12 14 +5V PA5 PA7 PA6 PB5 GND Description

3.5

Trace debugging connector CN7


Figure 8. Trace debugging connector CN7 (top view)

19 17 15 13 11 9 7 5

20 18 16 14 12 10 8 6

Table 20.
Pin number 1 3 5 7 9 11 13 15 17 19

Trace debugging connector CN7


Description 3.3V power GND GND KEY GND GND GND GND GND GND Pin number 2 4 6 8 10 12 14 16 18 20 TMS/PA13 TCK/PA14 TDO/PB3 TDI/PA15 RESET# TraceCLK/PE2 TraceD0/PE3 or SWO/PB3 TraceD1/PE4 or nTRST/PB4 TraceD2/PE5 TraceD3/PE6 Description

18/48

Doc ID 14220 Rev 5

UM0488

Connectors

3.6

RS-232 connector CN8 with RTS/CTS handshake support


Figure 9. RS-232 connector CN8 with RTS/CTS handshake support (front view)

Table 21.
Pin number 1 2 3 4 5

RS-232 connector CN8 with RTS/CTS handshake support


Description NC USART2_PA3 USART2_PA2 Connect to Pin 6 GND Pin number 6 7 8 9 Description Connect to Pin 4 USART2_PA1 USART2_PA0 NC

3.7

JTAG debugging connector CN9


Figure 10. JTAG debugging connector CN9 (top view)
19 17 15 13 11 9 7 5 3 1

20 18 16 14 12 10 8 6

Table 22.
Pin number 1 3 5 7 9 11 13 15 17 19

JTAG debugging connector CN9


Description 3.3V power PB4 PA15 PA13 PA14 RTCK PB3 RESET# DBGRQ DBGACK Pin number 2 4 6 8 10 12 14 16 18 20 Description 3.3V power GND GND GND GND GND GND GND GND GND

Doc ID 14220 Rev 5

19/48

Connectors

UM0488

3.8

Daughterboard extension connectors CN10 and CN11


Two 70-pin male headers CN10 and CN11 can be used to connect a daughterboard or standard wrapping board to the STM3210E-EVAL evaluation board. All total 112 GPI/Os are available on it. The space between these two connectors and the position of power, GND and RESET pins (marked in gray in Table 23 and Table 24) are defined as a standard which allows to develop common daughterboards for several evaluations boards. The standard width between CN10 pin1 and CN11 pin1 is 2700 mils (68.58 mm). This standard is implemented on the majority of evaluation boards. Each pin on CN10 and CN11 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM3210E-EVAL evaluation board, as described in Table 23 and Table 24.

Table 23.
Pin # 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39

Daughterboard extension connector CN10


Description GND PC7 PC9 PA9 PA0 PA12 PA14 PC10 GND PD0 PE2 PD2 PD4 PD6 PD7 PG10 PG12 PG14 GND MC/Smartcard MicroSD Card UASRT1_TX MC/Wakeup/USART2_CTS USB_DP Debug_TCK IrDA_TX/MicroSDcard_D2 FSMC_D2 Trace_CLK/FSMC_A23 MicroSDcard_CMD/MC FSMC_OEN FSMC_WAITN FSMC_EBAR0 FSMC_EBAR2 FSMC_EBAR3 Joystick_Left Alternative function Disconnect STM3210E-EVAL evaluation board from motor power drive board. Keep JP16 on open. Remove SD Card from MicroSD Card connector. Keep JP4 on open. Remove R82. Remove SD Card from MicroSD Card connector. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove SD Card from MicroSD Card connector. Remove R22. Remove R15. Remove R77. Remove R102. How to disconnect from function block on STM3210E-EVAL board

20/48

Doc ID 14220 Rev 5

UM0488 Table 23.


Pin #

Connectors Daughterboard extension connector CN10 (continued)


Description Alternative function How to disconnect from function block on STM3210E-EVAL board Disconnect STM3210E-EVAL evaluation board from motor power drive board. Keep JP19 on open. Disconnect STM3210E-EVAL evaluation board from QST board. Remove R32. Remove R135, Keep JP9 (solder bridge) on close. Remove R96. Remove R98. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Keep JP15 on open. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove SD Card from MicroSD Card connector. Disconnect STM3210E-EVAL evaluation board from QST board. Remove R36. Remove R81. Remove SD Card from MicroSD Card connector. Remove R89. Remove SD Card from MicroSD Card connector. Remove R100.

41

PB4

Debug_TRST/MC

43 45 47 49 51 53 55 57 59 61 63 65 67 69 2

PB6 PB8 PE0 D5V PE4 PE6 PC14 PF0 GND PF2 PF4 PF6 PF8 +3V3 PC6

I2C_SCL/QST CAN_RX FSMC_BLN0 Trace_D1/FSMC_A20 Trace_D3/FSMC_A22 OSC32_IN FSMC_A0 FSMC_A2 FSMC_A4 LD2 LD4 Smartcard/MC/I2S_MCK

PC8

MicroSDcard_D0/MC

6 8 10 12 14 16 18 20 22 24 26

PA8 PA10 GND PA11 PA13 PA15 PC11 PC12 PD1 PE1 PD3

MCO/LCD_backlight/QST USART1_RX USB_DM Debug TMS Debug TDI IrDA_RX/MicroSDcard_D2 MicroSDcard_CLK FSMC_D3 FSMC_BLN1 Joystick_Down

Doc ID 14220 Rev 5

21/48

Connectors Table 23.


Pin # 28 30 32 34 36 38 40 42

UM0488 Daughterboard extension connector CN10 (continued)

Description PD5 GND PG9 PG11 PG13 PG15 PB3 PB5

Alternative function FSMC_WEN FSMC_EBAR1 Joystick_Right Joystick_Up Debug_TDO MC/QST/Temperature sensor -

How to disconnect from function block on STM3210E-EVAL board

Remove R21. Remove R103. Remove R104. Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board. Remove R46. Disconnect STM3210E-EVAL evaluation board from QST board. Remove R111. Remove R39, Keep JP10 (solder bridge) on close. Remove R97. Remove R99. -

44 46 48 50 52 54 56 58 60 62 64 66 68 70

PB7 PB9 3V3 GND PE3 PE5 PC13 PC15 PF1 PF3 PF5 PF7 PF9 GND

I2C_SDA/QST CAN_TX Trace_D0/FSMC_A19 Trace_D2/FSMC_A21 Anti-tamper button OSC32_OUT FSMC_A1 FSMC_A3 FSMC_A5 LD3 LD5 -

22/48

Doc ID 14220 Rev 5

UM0488 Table 24.


Pin # 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 51 53 55 57 59

Connectors Daughterboard extension connector CN11


Description GND PG7 PG5 PG3 PC13 Button B3 RESET# PD12 PD10 PD8 D5V PB13 PB11 PE15 PE13 PE11 PD15 PE9 PE7 PG1 GND PF14 PF12 PB2 PB1 PB0 PC4 PA6 PA4 GND Joystick_Select FSMC_A15 FSMC_A13 FSMC_A17 FSMC_D15 FSMC_D13 I2S_CLK Smartcard_Reset FSMC_D12 FSMC_D10 FSMC_D8 FSMC_D1 FSMC_D6 FSMC_D4 FSMC_A11 FSMC_A8 FSMC_A6 BOOT1/SPI_NSS MC/QST Smartcard_3/5V/MC Potentiometer MC/SPI_MISO/QST Audio_RIN Alternative function Remove R101. Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove R126. Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board. Remove R37. Remove R67. How to disconnect from function block on STM3210E-EVAL board

Doc ID 14220 Rev 5

23/48

Connectors Table 24.


Pin # 61

UM0488 Daughterboard extension connector CN11 (continued)

Description PA1

Alternative function MC/USART2_RTS

How to disconnect from function block on STM3210E-EVAL board Disconnect STM3210E-EVAL evaluation board from motor power drive board. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Disconnect analog signal from BNC3. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Disconnect analog signal from BNC1. Remove R106. Keep JP7 on open. Connect pin1 of JP14 to pin2. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove R94. Disconnect STM3210E-EVAL evaluation board from QST board. Remove SD Card from card socket CN13. -

63

PC3

MC/BNC3

65 67 69 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48

PC1 PF10 +3V3 PG8 PG6 PG4 PG2 GND PD13 PD11 PD9 PB15 PB14 PB12 PB10 PE14 PE12 GND PD14 PE10 PE8 PG0 PF15 PF13 PF11 -

MC/BNC1 LCD_CS User button B4 FSMC_INT2 FSMC_A14 FSMC_A12 FSMC_A18 FSMC_A16 FSMC_A14 I2S_DIN USB disconnect Smartcard_CK/MC/I2S_CMD Smartcard_IO FSMC_D11 FSMC_D9 FSMC_D0 FSMC_D7 FSMC_D5 FSMC_A10 FSMC_A9 FSMC_A7 QST / MicroSD Card detection -

24/48

Doc ID 14220 Rev 5

UM0488 Table 24.


Pin # 50 52 54

Connectors Daughterboard extension connector CN11 (continued)


Description GND PC5 PA7 MC MC/SPI_MOSI/QST Alternative function Disconnect STM3210E-EVAL evaluation board from motor power drive board. Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board. Disconnect STM3210E-EVAL evaluation board from QST board. Remove R68. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove R29. Disconnect STM3210E-EVAL evaluation board from motor power drive board. How to disconnect from function block on STM3210E-EVAL board

56

PA5

SPI_CLK/DAC_LIN/QST

58

PA3

MC/USART2_RX

60 62 64

PA2 PC2

MC/USART2_TX

MC/BNC2

Disconnect STM3210E-EVAL evaluation board from motor power drive board. Disconnect analog signal from BNC2. Disconnect STM3210E-EVAL evaluation board from motor power drive board. Remove C7 & R63. -

66 68 70

PC0 GND

MC -

Doc ID 14220 Rev 5

25/48

Connectors

UM0488

3.9

RS-232 connector CN12


Figure 11. RS-232 connector CN12 (front view)

Table 25.
Pin number 1 2 3 4 5

RS-232 connector CN12


Description NC USART1_PA10 USART1_PA9 Connect to Pin 6 GND Pin number 6 7 8 9 Description Connect to Pin 4 Connect to Pin 8 Connect to Pin 7 NC

3.10

MicroSD Card connector CN13


Figure 12. MicroSD Card connector CN13 (front view)

Table 26.
Pin number 1 2 3 4

MicroSD Card connector CN13


Description MicroSDcard_D2 (PC10) MicroSDcard_D3 (PC11) MicroSDcard_CMD (PD2) +3V3 Pin number 5 6 7 8 9 Description MicroSDcard_CLK (PC12) Vss/GND MicroSDcard_D0 (PC8) MicroSDcard_D1 (PC9) MicroSDcard_detect (PF11)

26/48

Doc ID 14220 Rev 5

UM0488

Connectors

3.11

USB type B connector CN14


Figure 13. USB type B connector CN14 (top view)

Table 27.
Pin number 1 2 3

USB type B connector CN14


Description VBUS (power) PA11 PA12 Pin number 4 5,6 GND Shield Description

3.12

Audio jack CN15


A 3.5 mm stereo audio jack CN15 connected to the audio DAC is available on the STM3210E-EVAL board.

3.13

TFT LCD connector CN16


One 30-pin male header is available on the board to connect the LCD module board MB895 to the FSMC interface of the STM32F103ZGT6. Refer to Section 2.17: Display and input devices on page 13 for details.

3.14

Power connector CN17


Your STM3210E-EVAL board can be powered from a DC 5 V power supply via the external power supply jack (CN17) shown in Figure 14. The central pin of CN17 must be positive. Figure 14. Power supply connector CN17 (front view) DC +5V

GND

Doc ID 14220 Rev 5

27/48

Connectors

UM0488

3.15

Smartcard connector CN18


Figure 15. Smartcard connector CN18 (front view)

17 18

5678

Table 28.
Pin number 1 2 3 4 17

Smartcard connector CN18


Description VCC RST CLK NC Detection pin of card presence Pin number 5 6 7 8 18 GND NC I/O NC Detection pin of card presence Description

28/48

Doc ID 14220 Rev 5

UM0488

Schematic diagrams

Schematic diagrams
This section provides the design schematics for the STM3210E-EVAL board key features, to help you implement these features in your applications. Schematics are provided for:

Microcontroller connections, see Figure 16 MCU, see Figure 17 Peripherals, see Figure 18 RS-232 and IrDA connectors, see Figure 19 Audio, see Figure 20 LCD and joystick connections, see Figure 21 SD Card and smartcard, see Figure 22 Motor control, see Figure 23 JTAG and trace connectors, see Figure 24 Power supply, see Figure 25 SRAM and Flash, see Figure 26 Color LCD module, see Figure 27

Doc ID 14220 Rev 5

29/48

30/48
U_MCU MCU.SchDoc U_MotorCtrl MotorCtrl.SchDoc MC_PFCsync1 MC_PFCsync2 MC_WL MC_VH MC_VL MC_UH MC_UL MC_WH MC_NTC MC_DissipativeBrake MC_PFCpwm MC_EnIndex MC_BusVoltage MC_HeatsinkTemperature MC_EnB MC_EnA MC_CurrentC MC_CurrentB MC_CurrentA MC_EmergencySTOP U_LCD&Joystick LCD&Joystick.SchDoc MC_PFCsync1 MC_PFCsync2 MC_WL MC_VH MC_VL MC_UH MC_UL MC_WH MC_NTC MC_DissipativeBrake MC_PFCpwm MC_EnIndex MC_BusVoltage MC_HeatsinkTemperature MC_EnB MC_EnA MC_CurrentC MC_CurrentB BNC3 MC_CurrentA BNC2 MC_EmergencySTOP BNC1 FSMC_NWAIT FSMC_INT2 FSMC_NBL1 FSMC_NBL0 FSMC_NOE FSMC_NWE FSMC_NE2 FSMC_NCE2 FSMC_NE3 D[0..15] A[0..23] FSMC_NE4 Audio_PDN Audio_RIN Audio_LIN I2C_SDA I2C_SCK MCO I2S_CK I2S_DIN I2S_CMD I2S_MCK LCD_backlight User_Button WAKEUP Anti_Tamper JOY_UP JOY_RIGHT JOY_LEFT JOY_DOWN JOY_SEL LCD_CS D[0..15] A[0..23] FSMC_NE4 FSMC_NWE FSMC_NOE RESET# LCD_backlight User_Button WAKEUP Anti_Tamper JOY_UP JOY_RIGHT JOY_LEFT JOY_DOWN JOY_SEL LCD_CS LCD_CLK LCD_DI LCD_DO U_Peripherals Peripherals.SchDoc SmartCard_OFF SmartCard_CLK SmartCard_RST SmartCard_IO SmartCard_3/5V SmartCard_CMDVCC MicroSDCard_D0 MicroSDCard_D1 MicroSDCard_D2 MicroSDCard_D3 MicroSDCard_CMD MicroSDCard_CLK MicroSDCard_Detect SPI1_CS SPI1_SCK SPI1_MOSI SPI1_MISO LED4 LED3 LED2 LED1 USB_DM USB_DP USB_Disconnect TemperatureSensor_INT Flash_CS BNC3 Flash_SCK BNC2 Flash_MOSI BNC1 Flash_MISO LED4 LED3 LED2 LED1 USB_DM USB_DP USB_Disconnect TemperatureSensor_SCL TemperatureSensor_SDA TemperatureSensor_INT CAN_RX CAN_TX Potentiometer CAN_RX CAN_TX Potentiometer U_JTAG&SWD JTAG&SWD.SchDoc USART2_RX USART2_CTS USART2_RTS USART2_TX USART1_TX USART1_RX IrDA_TX IrDA_RX TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK TDO/SWO TCK/SWCLK TMS/SWDIO TRST RESET# TDI TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK TDO/SWO TCK/SWCLK TMS/SWDIO TRST RESET# TDI U_Power Power.SchDoc

U_SRAM&Flash SRAM&Flash.SchDoc

Schematic diagrams

FSMC_NWAIT FSMC_INT2 FSMC_NBL1 FSMC_NBL0 FSMC_NOE FSMC_NWE FSMC_NE2 FSMC_NCE2 FSMC_NE3 D[0..15] A[0..23]

Figure 16. Microcontroller connections

U_Audio Audio.SchDoc

Audio_PDN Audio_RIN Audio_LIN Audio_SDA Audio_SCK MCO I2S_CK I2S_DIN I2S_CMD I2S_MCK

U_SD&Smart Card SD&Smart Card.SchDoc

Doc ID 14220 Rev 5


Title:

SmartCard_OFF SmartCard_CLK SmartCard_RST SmartCard_IO SmartCard_3/5V SmartCard_CMDVCC

MicroSDCard_D0 MicroSDCard_D1 MicroSDCard_D2 MicroSDCard_D3 MicroSDCard_CMD MicroSDCard_CLK MicroSDCard_Detect

U_RS232&IrDA RS232&IrDA.SchDoc

USART2_RX USART2_CTS USART2_RTS USART2_TX

USART1_TX USART1_RX

IrDA_TX IrDA_RX

STMicroelectronics
STM3210E-EVAL
Number:MB672 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 1 of
11

UM0488

CN11(Right)

UM0488

USART2_CTS

3 PG7 PG5 PG3 PC13 R11 RESET# R14 D[0..15] D[0..15] A[0..23] D5V A[0..23] U8A PD12 PD10 PD8 820 820

Default setting:2<->3

MC_EnA

PG8 PG6 PG4 PG2

WAKEUP

JP4

USART2_RTS MC_EnB

Figure 17. MCU

USART2_TX MC_EnIndex

MC_DissipativeBrake USART2_RX Audio_RIN PD14 PE10 PE8

R2 do not fit

PD13 PD11 PD9 PB15 PB14 PB12 PB10 PE14 PE12

R31

SPI1_SCK Audio_LIN

JP3 PF14 PF12 PB2 PB1 PB0 PC4 PA6 PA4 PC5 PA7 PA5 PA3 PA2 PC2 PC0 PG0 PF15 PF13 PF11

PB13 PB11 PE15 PE13 PE11 PD15 PE9 PE7 PG1

MC_EmergencySTOP SPI1_MISO A15 A14 A13 A12 A11 A10

Default setting:Open

JOY_UP JOY_LEFT JOY_RIGHT FSMC_NE4 Audio_PDN FSMC_NE3 FSMC_NE2 User_Button JOY_SEL FSMC_INT2

MC_UL SPI1_MOSI

LCD_backlight MCO

USART1_TX USART1_RX USB_DM USB_DP TMS/SWDIO TCK/SWCLK TDI

PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PA0-WKUP PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PG15 PG14 PG13 PG12 PG11 PG10 PG9 PG8 PG7 PG6 PG5 PG4 PG3 PG2 PG1 PG0

34 35 36 37 40 41 42 43 100 101 102 103 104 105 109 110 PG15 PG14 PG13 PG12 PG11 PG10 PG9 PG8 PG7 PG6 PG5 PG4 PG3 PG2 PG1 PG0

132 129 128 127 126 125 124 93 92 91 90 89 88 87 57 56

TP11 MCO PA1 PC3 PC1 PF10 +3V3

MC_VL SmartCard_3/5V MC_WL TDO/SWO A9 A8 A7 A6

+3V3 1

BOOT1

SPI1_CS R43

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 51 53 55 57 59 61 63 65 67 69 Header 35X2

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 52 54 56 58 60 62 64 66 68 70

10K MC_PFCsync1 TRST

JP11

TemperatureSensor_INT MC_PFCpwm I2S_CK USB_Disconnect I2S_DIN A5 A4 A3 A2 A1 A0

MicroSDCard_Detect LCD_CS LED4 LED3 LED2 LED1

CN10(Left) PC7 PC9 PA9 PA0 PA12 PA14 PC10 PC6 PC8 PA8 PA10 PA11 PA13 PA15 PC11 PC12 PD1 PE1 PD3 PD5

Default setting:close

I2C_SCK I2C_SDA CAN_RX CAN_TX SmartCard_IO SmartCard_RST

SmartCard_CLK MC_NTC I2S_CMD

PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 46 47 48 133 134 135 136 137 139 140 69 70 73 74 75 76 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 55 54 53 50 49 22 21 20 19 18 15 14 13 12 11 10

PF15 PF14 PF13 PF12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0

JP15

SmartCard_CMDVCC

Doc ID 14220 Rev 5


D12 D11 D10 D9 D8 D7 D6 D5 D4 MicroSDCard_D1 A22 A21 A20 A19 A23 D5V PC14 26 PC0 PC1 27 PC2 28 29 PC3 PC4 44 PC5 45 PC6 96 PC7 97 PC8 98 PC9 99 PC10 111 PC11 112 PC12 113 PC13 7 PC14 8 PC15 9 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13-ANTI_TAMP PC14-OSC32_IN PC15-OSC32_OUT PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 68 67 66 65 64 63 60 59 58 5 4 3 2 1 142 141 PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 R45 138 BOOT0 NC OSC_IN OSC_OUT D1 D0 A18 A17 A16 D15 D14 D13 106 23 24 X1 R40 390 RESET# NRST 25 10K FSMC_NBL1 FSMC_NBL0 TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK +3V3 8MHz (with socket) PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 D3 D2 86 85 82 81 80 79 78 77 123 122 119 118 117 116 115 114 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 FSMC_NCE2 FSMC_NWAIT FSMC_NWE FSMC_NOE JOY_DOWN MicroSDCard_CMD MC_PFCsync2 STM32F103ZET6 or STM32F103ZGT6 IC149-144-045-B5

Default setting:close

JP16

MC_BusVoltage MC_CurrentA MC_CurrentB MC_CurrentC Potentiometer MC_HeatsinkTemperature

PD0 PE2 PD2 PD4 PD6 PD7 PG10 PG12 PG14

Default setting:close

JP17

Default setting:close

I2S_MCK MC_UH SmartCard_OFF MC_VH MC_WH MicroSDCard_D0 IrDA_TX MicroSDCard_D2 IrDA_RX MicroSDCard_D3

JP22

PB4 PB6 PB8 PE0 PE4 PE6 JP9 PF0

PG9 PG11 PG13 PG15 PB3 PB5 PB7 PB9

+3V3

Default setting:Open

MicroSDCard_CLK Anti_Tamper

PE3 PE5 PC13

JP10

PC15

R135 0

X2

R39 0

+3V3

1 BOOT0 2 3

PF2 PF4 PF6 PF8

C43 2 10pF

C44 10pF

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 51 53 55 57 59 61 63 65 67 69

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 52 54 56 58 60 62 64 66 68 70 Header 35X2

PF1 PF3 PF5 PF7 PF9

C47

MC306-G-06Q-32.768 (manufacturer JFVNY)

20pF

Extension connector
+5V PB6 PB7 PB1 PF11 PA8 CN6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Header 7X2 +5V PA5 PA7 PA6 PB5 TP1 Ground TP2 Ground

+3V3

C48

RESET#

R119 10K

20pF

B1 RESET

C94 100nF

QST connector

STMicroelectronics

MCU

Title:

STM3210E-EVAL MCU
Number:MB672 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 2 of
11

Schematic diagrams

31/48

0 Default setting: 1<->2 JP8


5 4 3 2 1

CN4 DB9-male CAN connector Default setting: Open JP6

BNC1 BNC2 BNC3

PC1 PC2 PC3

R126 0
5 4 3 2 1 5 4 3 2 1

2
1

100nF

32/48
C74 100nF LED1 R81 USB_DM USB_DP LED2 PF7 2 U5V R82 0 PA12 0 PA11 600 PF6 2 6 5 4 R96 LD1 Green 1 1 1.5K PF9 2 LED3 R69 PF8 2 R65 36K T1 3 1 +3V3 LED4 LD2 Orange R97 1 600 LD3 Red R98 1 600 LD4 Blue R99 1 600

U5V

U11

1 2 3

I/O1 I/O1 GND Vbus I/O2 I/O2

Schematic diagrams

CN14 USB-typeB connector 1 VCC 2 D3 D+ 4 GND 0 SHELL 0 SHELL

USBLC6-2P6

Figure 18. Peripherals

R95 C78 1M 4.7nF

+3V3

3 T2

R70

U5V

10K 9013

LED
1 2 3 USB_Disconnect R136 R137 R138 JP23 JP14 PB14 50 50 PC4 50 Potentiometer +3V3 RV1 10K C100 10nF CN3 VB334 CN5 VB334 JP23-25 Default setting:open

R66 47K

9013

USB
JP24 JP25

+3V3 10K

R26

R27

+3V3

C27

U4

Doc ID 14220 Rev 5


D GND VCC R CN2 VB334 R28 120 R10 do not fit +3V3 +3V3 R51 4K7 Flash_CS Flash_MISO U9 1 2 3 4 SDA VDD SCL A0 OS/INT A1 GND A2 STLM75M2E 8 7 6 5 +3V3 C49 100nF Flash_SCK Flash_MOSI PB2 PA6 PA5 PA7 R35 0 R37 0 R9 0 RS CANH CANL Vref 8 7 6 5 1 6 2 7 3 8 4 9 5

CAN_TX

PB9

CAN_RX

PB8

R32

1 2 3 4

SN65HVD230

BNC connector
+3V3 C14

Potentiometer

CAN

100nF U6 7 HOLD C 8 D VCC 1 VSS S 2 Q W M25P64-VME6G

6 5 4 3 +3V3

TemperatureSensor_SDA TemperatureSensor_SCL TemperatureSensor_INT

PB7 PB6 PB5

R38 R46 R44

0 0 0

SPI Flash

STMicroelectronics
Title:

STM3210E-EVAL Peripherals

UM0488

Temperature sensor

Number:MB525

Rev: D.2(PCB.SCH)

Date: 2008-05-21

Sheet 3 of

11

UM0488

+3V3 C37 100nF VCC C2C30 100nF 4 14 RS232_TX2 RS232_RX2 +3V3 7 RS232_RTS2 RS232_CTS2 PC10 PC11 R89 ST3232ECTR +3V3 R85 47 8 15 13 C2+ T1out R1in T2out R2in GND IrDA_TX IrDA_RX 5 16 do not fit R33

CN8 DB9-male USART2

U5 2 V+ C1+ C1T1in R1out T2in R2out V1 3 11 12 10 9 6

C28 100nF

C29 100nF

1 6 2 7 3 8 4 9 5

USART2_TX

PA2

USART2_RX

PA3

R29

USART2_RTS

PA1

USART2_CTS

PA0

R30

connector for USART2

Default setting: close JP21

R88 10K 5 0 R92 5 3 4 1 2 6 7 8

U13 SD TxD RxD Anode (VCC2) Cathode VCC1 Vlogic GND TFDU4300

Figure 19. RS-232 and IrDA connectors

Doc ID 14220 Rev 5


+3V3 C52 100nF VCC C2C40 100nF 4 14 13 7 8 15 RS232_RX1 RS232_TX1 C2+ T1out R1in T2out R2in GND 5 16 do not fit R62 CN12 DB9-male USART1 C71 4.7uF C68 0.1uF U7 2 V+ C1+ C1T1in R1out T2in R2out VST3232ECTR Title: 1 3 11 12 1 6 2 7 3 8 4 9 5 9 6

C31 100nF

C77 4.7uF

C72 0.1uF

IrDA

C39 100nF

C41 100nF

USART1_TX

PA9

USART1_RX

PA10

R36

R34

10K 10

connector for USART1

C42 100nF

STMicroelectronics
STM3210E-EVAL RS232&IrDA
Number:MB672 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 4 of
11

Schematic diagrams

33/48

34/48
Default setting: 1<->2 3 2 1 U10 JP18 ST-225-02 47uF SPP SPN U14 KSS-1508 TP9 RIN R73 10 R86 10 C67 0.22uF C76 0.22uF C56 20 19 1 2 6.8 18 17 11 13 14 HPL HPR R87 MCKO MCKI SDTI LRCK BICK +3V3 24 23 3 1 6.8 47uF C80 TP7 MCKO TP12 SPP TP13 SPN TP10 HPL TP8 HPR R84 C70 2 CN15

I2S_MCK

PC6

R56

Schematic diagrams

MCO

PA8

R57 do not fit

Figure 20. Audio

I2S_DIN I2S_CMD I2S_CK

PB15 PB12 PB13

Audio_SCK Audio_SDA 1uF C57 1uF TP6 LIN +3V3 16 DVSS AVDD AVSS VCOM 2 C53 2.2uF C54 100nF 3 C65 10uF C34 100nF HVDD HVSS AK4343 Jumper to select PLL slave clock mode: 1. 1<->2 reference clock MCKI 2. 2<->3 reference clock BICK or LRCK I2C control interface selected (share with temperature sensor) by connecting pin "I2C" to high, the slave address is set to "0010011" by pull up pin "CAD0". 4 21 C79 10uF C16 100nF 22 C58 do not fit C55 do not fit R67 R68 0 0 PA4 PA5 Audio_RIN Audio_LIN

PB6 PB7

Audio_PDN R72 10K C59 1uF

PG11

R128

6 8 9 10 7 25 I2C CSN/CAD0 CCLK/SCL CDTI/SDA PDN MUTET TEST2 TEST1 RIN1/IN1+ LIN1/IN1LIN2/IN2+ RIN2/IN2MIN/LIN3 VCOC/RIN3 LOUT/RCP ROUT/RCN

12 1 32 31 30 29 28 5 27 26

+3V3 C73 10uF C66 100nF

R83 15 DVDD

10

Doc ID 14220 Rev 5


Title: Number:MB672

+3V3

STMicroelectronics
STM3210E-EVAL Audio
Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 5 of
11

UM0488

UM0488

D[0..15] R125 5 COMMON FSMC_NE4 FSMC_NWE Selection R78 do not fit R75 do not fit PD4 A0 1 2 3 4 5 CN16 CS RS WR/SCL RD RESET R80 0 PG12 PD5 R77 0 2 R113 10K R112 10K R114 10K R115 10K R116 10K +3V3 100 U19 A[0..23] A[0..23]

D[0..15]

FSMC_NOE RESET# LCD_backlight R105 do not fit R107 0 +3V3 PA8

JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP 3 1 4 6 DWON LEFT RIGHT UP MT008-A +3V3 C96 C95 C97 C98 C99 100nF 100nF 100nF 100nF 100nF

Figure 21. LCD and joystick connections

PG7 PD3 PG14 PG13 PG15

R101 R100 R102 R103 R104

0 0 0 0 0

PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15

LCD_DO

PA6

JP26 JP27

+3V3

Joystick

22 23 24 25 26 27 28 29 30

BL_GND BL_Control VDD VCI GND GND BL_VDD SDO SDI

Connector to Mother board

TFT LCD
+3V3 +3V3 R120 4 1 R121 4K7 100 B2 WKUP 2 PA5 PA7 PF10 LCD_CLK LCD_DI LCD_CS 3 Anti_Tamper 2 3 C91 do not fit B3 Tamper C92 100nF WAKEUP PA0 R110 330 1 4 PC13 R111 0 +3V3 +3V3 R74 R76 do not fitdo not fit C64 U18 100nF

Doc ID 14220 Rev 5


R124 100 R123 220K Title:

+3V3

User_Button

PG8

R106

R122 4K7

B4 USER

1 2 3 4 5 6 7 8 R79 0 +5V

Vss Vcc VO CLK SID CS A K HXM122032-GB1 (do not fit)

C93 100nF

R117

Gray LCD

100

STMicroelectronics
Tamper Button Wakeup Button STM3210E-EVAL LCD&Joystick
Number:MB525 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 6 of
11

User Button

Schematic diagrams

35/48

C83 100nF C12 100nF +3V3 R109 10K R108 10K PB11 PC6 SmartCard_RST SmartCard_CMDVCC +3V3 C84 47uF

C86 330nF

C82 47uF

C89

1 2 3 4 100nF 5 6 7 100nF 8 9 10 11 12 13 14 R94 SmartCard_IO SmartCard_CLK SmartCard_OFF R71 0 PB12 PC7 0

CLKDIV1 AUX2UC CLKDIV2 AUX1UC I/OUC 5V/3V XTAL2 PGND XTAL1 C1+ OFF Vddp GND C1Vdd Vup RSTIN PRES CMDVCC PRES PORADJ I/O Vcc AUX2 RST AUX1 CGND CLK

28 27 26 25 24 23 22 21 20 19 18 17 16 15

CN13 PJS008-2000 SMS064FF or SMS128FF

5 6 7 8 GND VCC NC RST I/O CLK NC NC CN18 C816 18 100K +3V3 R118 17

1 2 3 4

MicroSDCard_Detect

PF11

R129 0

STMicroelectronics
Title:

Smart Card

STM3210E-EVAL SD&Smart Card

UM0488

Number:MB672

Rev: D.2(PCB.SCH)

Date: 2008-05-21

9 10

Doc ID 14220 Rev 5


100nF

SW2 SW1

ST8024CDR C90

1 2 3 4 5 6 7 8

36/48
+3V3 +3V3 R91 R93 10K 10K PB0 TP14 AUX2 TP15 AUX1 PB10 SmartCard_3/5V MicroSDCard_D1 MicroSDCard_D0 MicroSDCard_D3 MicroSDCard_D2 MicroSDCard_CLK MicroSDCard_CMD PC9 PC8 PC11 PC10 PC12 PD2 R132 47K R130 47K R131 47K R133 47K R134 47K +3V3

Schematic diagrams

+3V3

R90 4K7

Figure 22. SD Card and smartcard

U17

+5V

C87

MicroSD card

Sheet 7 of

11

UM0488

+3V3

Motor control connector


CN1

MC_EmergencySTOP

PA6

R8

R7 3.3K

C8 1nF R6 0 C7 100nF PC5 C6 100nF R63 100K PC0

Figure 23. Motor control

MC_CurrentA MC_NTC MC_DissipativeBrake +5V MC_PFCpwm MC_EnA MC_EnB MC_connector PA2 Default setting: Open C3 do not fit JP2 C1 do not fit JP20 Default setting: Open C60 do not fit C5 do not fit C2 10nF C4 do not fit BNC3 BNC2 BNC1 PB5 PA0 PA1 +3V3 0 R1 PB12 PA3

PC1

MC_UH MC_UL MC_VH MC_VL MC_WH MC_WL

PC6 PA7 PC7 PB0 PC8 PB1

MC_BusVoltage

R5 0 C22 do not fit

MC_CurrentB

PC2

R4 0 C13 do not fit

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 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 MC_EnIndex GND GND GND GND GND GND BUS VOLTAGE GND GND GND GND GND Heatsink Temperature 3.3V Power GND GND Encoder Index

2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34

MC_HeatsinkTemperature

Doc ID 14220 Rev 5


Title: Number:MB672

MC_CurrentC

PC3

R3 0 C9 do not fit

MC_PFCsync2

PD2

MC_PFCsync1

PB4

C51 do not fit

STMicroelectronics
STM3210E-EVAL Motor Control
Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 8 of
11

Schematic diagrams

37/48

38/48
Default setting: Open +3V3 JP19 R58 R53 R59 10K 10K 10K PA13 PA14 PB3 PA15 PB4 R64 10K R54 10K CN9 JTAG +3V3 +3V3 R55 do not fit R52 10K R48 R47 10K 10K

Schematic diagrams

TMS/SWDIO TCK/SWCLK TDO/SWO TDI TRST RESET#

Figure 24. JTAG and trace connectors

Doc ID 14220 Rev 5


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

KEY

CN7 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

R49 R50 R60 R61

0 do not fit 0 do not fit

TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK

PE6 PE5 PE4 PE3 PE2

JTAG connector

Trace connector

STMicroelectronics
Title:

STM3210E-EVAL JTAG&Trace
Number:MB672 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 9 of
11

UM0488

UM0488

U15 ZEN056V130A24LS U16 1 SV C81 10uF C11 100nF


1

CN17 CV C61 220uF


GND

E5V 3 Vin C69 47uF Vout 3 2

+5V

U12 LD1086D2M33 +3V3

TP5 3V3

1 2 Z1 SMAJ5.0A-TR C85 100nF BNX002-01 SG CG1 CG2 CG3

1 2 3 4 5 6

DC-10B

Power regulator
TP4 5V +5V R127 2 300 LD5 red 1 TP16 Ground

Figure 25. Power supply

U5V

D5V

E5V

JP13

6 4 2

5 3 1

Default setting: 5<->6

Jumper for choice between power connector, USB connector or daughter board

VREF+ TP3 C45 10nF +3V3 JP12 VDD L1 BEAD VDDA VDD R42 47 C50 10uF C46 10nF VDDA C36 C17 C35 C33 C25 100nF 100nF 100nF 100nF 100nF C32 C23 C38 C26 C19 C18 100nF 100nF 100nF 100nF 100nF 100nF VREF U8B VSS_1 VDD_11 VSS_2 VDD_10 VSS_3 VDD_9 VSS_4 VDD_8 VSS_5 VDD_7 VSS_6 VDD_6 VSS_7 VDD_5 VSS_8 VDD_4 VSS_9 VDD_3 VSS_10 VDD_2 VSS_11 VDD_1 VREFVSSA VBAT BT1 1 2 3 JP1 +3V3 CR1220 holder STM32F103ZET6 or STM32F103ZGT6 Vbat 6 VREF+ VDDA 32 33 VDD 131 121 95 84 62 52 17 39 144 108 72

Doc ID 14220 Rev 5

71 107 143 38 16 51 61 83 94 120 130

VREF-

31 30

R41 0

STMicroelectronics
Title:

MCU power

Default setting: 2<->3

STM3210E-EVAL Power
Number:MB672 Rev: D.2(PCB.SCH) Date: 2008-05-21 Sheet 10 of
11

Schematic diagrams

39/48

40/48
U1 U2 U3 VDD VDD VSS VSS 100nF 13 36 100nF C24 D0 D1 D2 D3 D4 D5 D6 D7 29 30 31 32 41 42 43 44 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 C88 12 37 A16 A17 +3V3 R23 10K WP RB 19 7 16 17 18 8 9 CL AL W R E NAND512W3A2CN6E NAND512W3A2BN6E C21 100nF R24 10K +3V3 +3V3 R25 do not fit

Schematic diagrams

Figure 26. SRAM and Flash

D[0..15] A[0..23]

D[0..15] A[0..23]

+3V3 C63

A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 I/O15 I/O14 I/O13 I/O12 I/O11 I/O10 I/O9 I/O8 I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 I/O0 +3V3 VCC VCC FSMC_NCE2 0 VSS VSS +3V3 R19 10K C75 100nF C62 100nF C15 100nF G5 F1 D8 H2 H7 E8 +3V3 A5 B5 A4 G2 F2 F7 B4 W RP RB G E BYTE Vpp/WP VCC VCC VCC VSS VSS VSS M29W128GH70ZA6E M29W128GL70ZA6E S29GL128P90FFIR20 1 2 3 +3V3 R13 10K C10 100nF Default setting: 2<->3 JP7 D1 E6 100nF D6 E1 PD7 R22 100nF C20 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 DQ15A-1 DQ14 DQ13 DQ12 DQ11 DQ10 DQ9 DQ8 DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 G7 F6 G6 F5 G4 F4 G3 F3 E6 H6 E5 H5 H4 E4 H3 E3 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0

FSMC_NE3

PG10 CE WE OE BLE BHE

R15

R16 10K

H1 D3 E4 F4 F3 G4 G3 H5 H4 H3 H2 D4 C4 C3 B4 B3 A5 A4 A3

FSMC_NBL0 FSMC_NBL1 IS61WV51216BLL-10MLI

PE0 PE1

B5 G5 A2 A1 B2

A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 B8 C5 D4 D5 C4 B3 E7 D7 C7 A7 B7 D6 C6 A6 B6 A3 C3 D3 B2 A2 C2 D2 E2

Doc ID 14220 Rev 5


+3V3 10K JP5 Default setting: Open R12 Title: Number:MB672

+3V3

+3V3

R20 10K

R17 R18 10K 10K

FSMC_NE2 FSMC_NWE FSMC_NOE FSMC_NWAIT

PG9 R21 0 PD5 PD4 PD6

FSMC_INT2

PG6

Rev D.2 modification : references of NOR flash used for U2 updated

STMicroelectronics
STM3210E-EVAL SRAM&FLASH

UM0488

Rev: D.2(PCB.SCH)

Date: 2008-05-21

Sheet 11 of

11

UM0488

1 2

CN3 CS RS WR_SCL RD #RESET 1 2 3 4 5 CS RS WR/SCL RD RESET Enable DotClk HSYNC VSYNC NC NC NC CN2 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 6 7 8 9 10 11 12 13

Enable DotClk HSYNC VSYNC

1 2 3 4 9 38 39

PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8

CS 5 WR_SCL 6 10 RD 8 RS CS WR/SCL RD RS BLGND BL_Control VDD SDO SDI RESET BLVDD SDO SDI #RESET 11 30 31 32 VDD VCI VCI A K VDD Z1 STPS1L40M 6 5 BLGND 4 2 R2 100K BLGND Backlight driver & PFC connector for LCD panel VDD SDO #RESET R3 10 FH26-51S-0.3SHW(05) AM-240320LDTNQW-00H (SPI) AM-240320LDTNQW-02H (16bit parallel) C1 4.7uF/35V 46 7

Figure 27. Color LCD module

BLVDD

L2 BEAD

4.7uH(1A)

SDO SDI

22 23 24 25 26 27 28 29 30

BL_GND BL_Control VDD VCI GND GND BL_VDD SDO SDI 16-bit connector

PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17

14 15 16 17 18 19 20 21

PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 B

L1 U1 SW Vo Vi NC EN GND FB PGND Rset STLD40DPMR STLD40DPUR

C4 100nF 8 1 7 3 9

PD9

PD0

SDO

SDI

RS

Enable HSYNC DotClk VSYNC

PD16 PD14 PD12 PD10

PD8 PD6 PD4 PD2

PD17 PD15 PD13 PD11

PD7 PD5 PD3 PD1

RD

Doc ID 14220 Rev 5


52 53 40 45 50 51 A K GND GND GND GND mount only for SPI application R7 4K7 R8 4K7 R9 4K7 R10 4K7 RP2 10K RP3 10K RP4 10K RP5 10K Title: Number:MB895 2 3

BLGND

C5 10nF C2 4.7uF/10V

NC NC NC NC NC NC NC NC NC NC NC NC PD17 PD16 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PD17 PD16 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 CN1 CS WR_SCL SDI

49 48 47 44 43 42 41 37 36 35 34 33 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12

Connector for 16-bit parallel application

BL_Control R1 0

BLGND

BLVDD

R4 [N/A]

1 2 3 4 5 6 7 8

CS SCL SDI RS WR RD SDO RESET

Mount only for 16-bit application

BLVDD

BL_Control

C3 4.7uF/10V

C6 100nF

VDD

9 10 11 12 13 14 15 16 BLGND

VDD VCI GND GND BL_VDD BL_Control BL_GND BL_GND SPI connector

RP1 10K

R5 4K7

R6 4K7

Connector for SPI serial application

STMicroelectronics
2.4 inch LCD board support either SPI or 16-bit parallel
Rev: B.1(PCB.SCH) Date: 10/13/2009 4 Sheet 1 of
1

Schematic diagrams

41/48

STM3210E-EVAL I/O assignment

UM0488

Appendix A
Table 29.
Pin # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 PE2 PE3 PE4 PE5 PE6 VBAT

STM3210E-EVAL I/O assignment


STM3210E-EVAL I/O assignment
Pin name STM3210E-EVAL I/O assignment Trace_CLK/FSMCA23 Trace_D0/FSMCA19 Trace_D1/FSMCA20 Trace_D2/FSMCA21 Trace_D3/FSMCA22 +3V3 or battery Anti-tamper button 32K OSC

PC13-ANTI_TAMP PC14-OSC32_IN

PC15-OSC32_OUT 32K OSC PF0 PF1 PF2 PF3 PF4 PF5 VSS_5 VDD_5 PF6 PF7 PF8 PF9 PF10 OSC_IN OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA VREFVREF+ FSMCA0 FSMCA1 FSMCA2 FSMCA3 FSMCA4 FSMCA5 GND +3V3 LD2 LD3 LD4 LD5 LCD_CS for graphic LCD (optional) 8MHz crystal X1 8MHz crystal X1 Reset button B1 MC_ADC_123_10 pin14 (bus voltage) MC_ADC11 pin 15 / BNC1 MC_ADC12 pin 17 / BNC2 MC_ADC13 pin 19 / BNC3 GND GND +3V3

42/48

Doc ID 14220 Rev 5

UM0488 Table 29.


Pin # 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

STM3210E-EVAL I/O assignment STM3210E-EVAL I/O assignment (continued)


Pin name VDDA PA0-WKUP PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PF11 PF12 VSS_6 VDD_6 PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 VSS_7 VDD_7 PE10 PE11 PE12 PE13 PE14 +3V3 MC_TIM2_CH1 pin 31(Ena) / WAKEUP /USART2 CTS MC_TIM2_CH2 pin 33 (EnB)/USART2 RTS MC_TIM2_CH3 pin34 (EnIndex)/USART2 TX MC_TIM6_CH4 pin 23 (dissipative brake)/USART2 RX GND +3V3 DAC1_Audio RIN SPI_Flash_CLK / DAC2_Audio LIN / QST pin4 MC_STOP pin 1 (Emergency stop) / SPI_Flash_MISO / QST pin8 MC_TIM5_CH1N pin 5 (UL) / SPI_Flash_MOSI / QST pin6 Potentiometer MC_ADC_12_15 pin 26 (heatsink temperature) MC_TIM5_CH2N pin 9 (VL) / SmartCard_3/5 MC1_TIM5_CH3N pin 13 (WL) / QST pin7 Boot1/ NSS_SPI_Flash QST pin9 / MicroSD Card detection FSMCA6 GND +3V3 FSMCA7 FSMCA8 FSMCA9 FSMCA10 FSMCA11 FSMCD4 FSMCD5 FSMCD6 GND +3V3 FSMCD7 FSMCD8 FSMCD9 FSMCD10 FSMCD11 STM3210E-EVAL I/O assignment

Doc ID 14220 Rev 5

43/48

STM3210E-EVAL I/O assignment Table 29.


Pin # 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102

UM0488

STM3210E-EVAL I/O assignment (continued)


Pin name STM3210E-EVAL I/O assignment FSMCD12 Smart_IO Smart Reset GND +3V3 Smart_CK / MC_pin21 (NTC) / Audio I2S_CMD Audio I2S_CK USB Disconnect Audio I2S_DIN FSMCD13 FSMCD14 FSMCD15 FSMCA16 FSMCA17 FSMCA18 GND +3V3 FSMCD0 FSMCD1 FSMCA12 FSMCA13 FSMCA14 FSMCA15 FSMC_INT2 JOY_Select User Button B4 GND +3V3 MC_TIM5_CH1 pin 3 (UH) / Smart_ CMD / VCC/I2S_MCK MC_TIM5_CH2 pin 7(VH) / Smartcard_OFF MC_TIM5_CH3 pin 11 (WH) / MicroSD Card D0 MicroSD Card D1 MCO / LCD backlight /QST pin11 USART1 TX USART1 RX

PE15 PB10 PB11 VSS_1 VDD_1 PB12 PB13 PB14 PB15 PD8 PD9 PD10 PD11 PD12 PD13 VSS_8 VDD_8 PD14 PD15 PG2 PG3 PG4 PG5 PG6 PG7 PG8 VSS_9 VDD_9 PC6 PC7 PC8 PC9 PA8 PA9 PA10

44/48

Doc ID 14220 Rev 5

UM0488 Table 29.


Pin # 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137

STM3210E-EVAL I/O assignment STM3210E-EVAL I/O assignment (continued)


Pin name PA11 PA12 PA13 NC VSS_2 VDD_2 PA14 PA15 PC10 PC11 PC12 PD0 PD1 PD2 PD3 PD4 PD5 VSS_10 VDD_10 PD6 PD7 PG9 PG10 PG11 PG12 PG13 PG14 VSS_11 VDD_11 PG15 PB3 PB4 PB5 PB6 PB7 GND +3V3 Debug TCK Debug TDI IRDA TX / MicroSD Card D2 IRDA RX /MicroSD Card D3 MicroSD Card CLK FSMCD2 FSMCD3 Sd card CMD / MC1_TIM3_ETR pin 27 (PFCsync2) JOY_Down FSMCNOE FSMCNWE GND +3V3 FSMCNWAIT FSMCNE1 FSMCNE2 FSMCNE3 PDN of Audio DAC FSMCEBAR3 JOY_Right JOY_Left GND +3V3 JOY_Up Debug TDO Debug TRST/MC_TIM3_CH1 pin 27 (PFCsync1) Temperature SMBIA / MC_TIM3_CH2 pin 29 (PFC pwm)/ QST pin10 Audio I2C_SCL & Temperature SCL / QST pin3 Audio_I2C_SDA & Temperature SDA / QST pin5 USB DM USB DP Debug TMS STM3210E-EVAL I/O assignment

Doc ID 14220 Rev 5

45/48

STM3210E-EVAL I/O assignment Table 29.


Pin # 138 139 140 141 142 143 144

UM0488

STM3210E-EVAL I/O assignment (continued)


Pin name STM3210E-EVAL I/O assignment BOOT0 CAN RX CAN TX FSMCBLN0 FSMCBLN1 GND +3V3

BOOT0 PB8 PB9 PE0 PE1 VSS_3 VDD_3

46/48

Doc ID 14220 Rev 5

UM0488

Revision history

Revision history
Table 30.
Date 5-May-2008 2-Jun-2008

Document revision history


Revision 1 2 Initial release. Added information on NOR Flash references in Section 2.20. Updated schematics in Section 4. Modified cover page. Inserted a newChapter 1. Modified bank specified in Section 2.17, Section 2.18, Section 2.19 and Section 2.20. Modified bank specified in Section 2.19. Modified LCD in Section 3.13 and Figure 27. Replaced STM32F103Z with STM32F103ZGT6. 64 KB internal SRAM and 512 KB Flash replaced with 96 KB internal SRAM and 1 MB Flash. Changes

20-Nov-2008

21-Jan-2010

01-Jul-2010

Doc ID 14220 Rev 5

47/48

UM0488

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (ST) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to STs 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 no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN STS TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USERS OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

2010 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

48/48

Doc ID 14220 Rev 5

Potrebbero piacerti anche