Sei sulla pagina 1di 52

UM0600 User manual

STM3210C-EVAL evaluation board


Introduction
The STM32F107VCT evaluation board STM3210C-EVAL is designed as a complete development platform for STMicroelectronic's ARM Cortex-M3 core-based STM32F107VCT microcontroller with full speed USB-OTG, ethernet MAC, two channels of CAN2.0A/B compliant interface, 2 channels I2S, 2 channels I2C, 5 channels USART with smartcard support, 3 channels SPI, internal 64 KB SRAM and 256 KB Flash, JTAG and SWD debugging support. The full range of hardware features on the board help you evaluate all peripherals (USBOTG FS, ethernet, motor control, CAN, microSD cardTM, smartcard, USART, audio DAC, MEMS, EEPROM etc.) and develop your own applications. Extension headers make it easy to connect a daughterboard or wrapping board for your specific application. Figure 1. STM3210C-EVAL evaluation board

October 2009

Doc ID 15082 Rev 3

1/52
www.st.com

Contents

UM0600

Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 1.2 1.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 USB-OTG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1 3.2 3.3 3.4 3.5 Motor control connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Analog input connector CN10 and CN11 . . . . . . . . . . . . . . . . . . . . . . . . . 21 CAN D-type 9-pin male connector CN3 and CN4 . . . . . . . . . . . . . . . . . . 21 Ethernet RJ45 connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Trace debugging connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

2/52

Doc ID 15082 Rev 3

UM0600

Contents

3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14

RS-232 connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 JTAG debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Daughterboard extension connector CN8 and CN9 . . . . . . . . . . . . . . . . . 24 Audio jack CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 TFT LCD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 MicroSD card connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 USB MicroAB connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Smartcard connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Appendix A STM3210C-EVAL I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

Doc ID 15082 Rev 3

3/52

Overview

UM0600

1
1.1

Overview
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. 2 GByte (or more) microSD cardTM. Both type A and B smartcard support. I2C compatible serial interface 64 Kbit EEPROM, MEMS and I/O expander. RS-232 communication. IrDA transceiver. USB-OTG full speed, USB MicroAB connector. IEEE-802.3-2002 compliant ethernet connector. Two channels of CAN2.0A/B compliant connection. Inductor motor control connector. JTAG and trace debug support. 3.2" 240x320 TFT color LCD with touch screen. Joystick with 4-direction control and selector. Reset, Wakeup, Tamper and User button. 4 color LEDs. RTC with backup battery. MCU consumption measurement circuit. Extension connector for daughterboard or wrapping board. RoHS compliant.

1.2

Demonstration software
Demonstration software is preloaded in the boards Flash memory for easy demonstration of device peripherals in stand-alone mode. For more information and to download the latest version available, please refer to STM3210C-EVAL demonstration firmware available on the web: www.st.com/mcu.

1.3

Order code
To order the STM32F107VCT evaluation board, use the order code STM3210C-EVAL.

4/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

Hardware layout and configuration


The STM3210C-EVAL evaluation board is designed around the STM32F107VCT in a 100pin LQFP package. The hardware block diagram Figure 2 illustrates the connection between the STM32F107VCT and peripherals (LCD, EEPROM, MEMS, USART, IrDA, USB-OTG, ethernet, audio, CAN bus, smartcard, microSD card and motor control) and Figure 3 helps you locate these features on the actual evaluation board.

Figure 2.

Hardware block diagram

DAC

STM32F107VCT

Doc ID 15082 Rev 3

5/52

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

UM0600

CN10, CN11 BNC

CN8, CN9 Extension header

CN17 Motor control

CN4 CAN2

CN1 RJ45 connector

CN3 CAN1

U9 STM32F107VCT

CN6 RS-232

CN2 USB MicroAB connector CN18 5V power CN12 Trace CN13 JTAG CN14 Color LCD CN16 MicroSD card U12 IrDA

CN7 Audio jack

CN5 Smartcard B1 Reset

RV1 Potentiometer B3 User key

B2 Wakeup

B4 Tamper

U15 Joystick

6/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.1

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

5 V DC power adapter connected to CN18, the power jack on the board (PSU on silk screen for power supply unit). 5 V DC power with 500 mA limitation from CN2, the USB MicroAB connector (USB on silkscreen). 5 V DC power from both CN8 and CN9, the extension connector for daughterboard (DTB for daughterboard on silkscreen).

The power supply is configured by jumpers JP24 and JP25 as described in Table 1. Table 1.
Jumper

Power related jumpers


Description JP25 selects one of the three possible power supply resources. For power supply jack (CN18) to the STM3210C-EVAL only, JP25 is set as shown: (Default) Configuration
PSU DTB USB
PSU DTB USB

For power supply from the daughterboard connectors (CN8 and CN9) to STM3210C-EVAL only, JP25 is set as shown: JP25

PSU DTB USB

For power supply from USB (CN2) to STM3210C-EVAL only, JP25 is set as shown: For power supply from power supply jack (CN18) to both STM3210CEVAL and daughterboard connected on CN8 and CN9, JP25 is set as shown to the right (the daughterboard must not have its own power supply connected): Vbat is connected to 3.3 V power when JP24 is set as shown: (Default) JP24 Vbat is connected to battery when JP24 is set as shown:

To enable MCU power consumption measurement, JP1, JP14 and JP23 should be reconfigured as described in Table 2.

PSU DTB USB

1 2 3

1 2 3

Doc ID 15082 Rev 3

7/52

Hardware layout and configuration

UM0600

Warning:

When the board is connected to an USB host via CN2 and powered by an external power supply (JP25 is in position PSU) it is mandatory to remove the USB cable when the external power supply is OFF, else an unexpected current is provided by USB VBUS which maintains a residual voltage on the board.

Table 2.
Jumper

MCU power consumption measurement related jumpers


Description PC13 is connected to anti-tamper button when JP1 is set as shown: (Default) Configuration
1 2 3

JP1

PC13 is connected to MCU consumption measurement circuit as IDD_CNT_EN signal when JP1 is set as shown. In this position PC13 is reserved to enable or clear the counter U24 used to measure IDD when the MCU is in low power mode. PA0 is connected to WUKP button and MCU power consumption measurement circuit as LP_WAKEUP when JP14 is set as shown:

1 2 3

1 2 3

JP14 PA0 is connected to ethernet PHY as signal MII_CRS when JP14 is set as shown: (Default) Connect +3.3V power to MCU directly when JP23 is set as shown: The MCU current consumption measurement can be done manually by an ammeter connected on PJ23 pin 1 & 2. (Default) JP23 Connect +3.3 V power to MCU with MCU current-sampling resister (1 ohm or 1 Kohm) in series and IDD current measurement circuit in parallel when JP23 is set as shown to the right. MCU power consumption measurement is enabled.
1 2 3

1 2 3

1 2 3

The LED LD7 is lit when the STM3210C-EVAL board is powered by the 5 V correctly.

8/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.2

Boot option
The STM3210C-EVAL 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 switches SW1 (BOOT1) and SW2 (BOOT0). The BOOT0 can be configured also via the RS-232 connector CN6 when JP18 is fitted. Table 3.
Switch

Boot related switches


Boot from STM3210C-EVAL boots from User Flash when SW2 is set as shown to the right. SW1 setting does not matter in this configuration. (Default) Configuration SW2
0< >1

SW1 and SW2

STM3210C-EVAL boots from System Memory when SW1 and SW2 are set as shown:
0< >1

SW1 SW2

SW1 STM3210C-EVAL boots from Embedded SRAM when SW1 and SW2 are set as shown:
0< >1

SW2

2.3

Clock source
Two clock sources are available on the STM3210C-EVAL evaluation board for STM32F107VCT and RTC is embedded.

X2, 32 kHz crystal for embedded RTC. X3, 25 MHz crystal with socket for an STM32F107VCT microcontroller, it can be removed from the socket when an internal RC clock is used.

2.4

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

Reset button, B1 Debugging tools from JTAG connector CN13 and trace connector CN12 Daughterboard from CN9 RS-232 connector CN6 for ISP when JP19 is fitted. Reset related jumper
Description Enables reset of the STM32F107VCT embedded JTAG TAP controller each time a system reset occurs. JP20 connects the TRST signal from the JTAG connection with the system reset signal RESET#. Default setting: Not fitted.

Table 4.
Jumper JP20

Doc ID 15082 Rev 3

9/52

Hardware layout and configuration

UM0600

2.5

Audio
The STM3210C-EVAL evaluation board supports stereo audio play by using an audio DAC CS43L22 connected to both an I2S2 port and one channel of the DAC of microcontroller STM32F107VCT. The CS43L22 can be configured via the I2C1 bus when JP9 is fitted (default setting). The automatic switch between the speaker and headphone is performed by both CS43L22 and the audio jack with plug detection pin.

2.6

EEPROM
A 64 Kbit EEPROM connected to the I2C1 bus of STM32F107VCT. Table 5.
Jumper JP17

EEPROM related jumper


Description The EEPROM is in Write protection mode when JP17 is open. Default setting: Fitted.

2.7

CAN
The STM3210C-EVAL evaluation board supports two channels of CAN2.0A/B compliant CAN bus communication based on a 3.3 V CAN transceiver. High-speed mode, standby mode and slope control mode are available and can be selected by setting JP7 for CAN1 and JP8 for CAN2.

Note:

JP9 should be kept open for CAN2 to avoid any impact from pull-up on I2C1 bus. Table 6.
Jumper

CAN1 related jumpers


Description CAN1 transceiver works in standby mode when JP7 is set as shown: Configuration
1 2 3

JP7

CAN1 transceiver works in high-speed mode when JP7 is set as shown: (Default) CAN1 transceiver works in slope control mode when JP7 is open.

1 2 3

JP5

CAN1 terminal resistor is enabled when JP5 is fitted. Default setting: Not fitted

Table 7.
Jumper

CAN2 related jumpers


Description CAN2 transceiver works in standby mode when JP8 is set as shown: Configuration
1 2 3

JP8

CAN2 transceiver works in high-speed mode when JP8 is set as shown: (Default) CAN2 transceiver works in slope control mode when JP8 is open.

1 2 3

JP6

CAN2 terminal resistor is enabled when JP6 is fitted. Default setting: Not fitted

10/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.8

RS-232 and IrDA


Both RS-232 and IrDA communications are supported by D-type 9-pin RS-232 connectors CN6 and IrDA transceiver U12 which connect to USART2 of the STM32F107VCT on the STM3210C-EVAL evaluation board. Two signals, Bootloader_BOOT0 and Bootloader_RESET, are added on the RS-232 connector for ISP support. RS-232 or IrDA are selected by setting JP16. Table 8.
Jumper

RS-232 and IrDA related jumpers


Description USART2_RX is connected to RS-232 transceiver and RS-232 communication is enabled when JP16 is set as shown: (Default) Configuration
1 2 3

JP16 USART2_RX is connected to IrDA transceiver and IrDA communication is enabled when JP16 is set as shown: JP18 JP19 Bootloader_BOOT0 is disconnected from CN6 when JP18 is open. Default setting: Not fitted Bootloader_RESET is disconnected from CN6 when JP19 is open. Default setting: Not fitted
1 2 3

Note:

To communicate with an RS-232 port on a PC, a 9-pin straight RS-232 cable (direct pin to pin connection) is needed since:

On CN6 the RX signal is connected on pin 2 and the TX data on pin 3, On the PC side the RX signal is generally on pin 3 and the TX signal on pin 2.

This standard 9-pin straight RS-232 cable is not provided with the board. Refer to Section 3.6 for details on RS-232 connector pinout.

Doc ID 15082 Rev 3

11/52

Hardware layout and configuration

UM0600

2.9

Motor control
The STM3210C-EVAL evaluation board supports a three-phase brushless motor control via a 34-pin connector CN17, which provides all required control and feedback signals to and from a motor power-driving board. Available signals on this connector include emergency stop, motor speed, 3 phase motor current, bus voltage, heat sink temperature from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit. JP 22 selects one of two kinds of synchronization methods for PFCs (power factor correction). The I/O pins used on the motor control connector CN17 are multiplexed with some peripherals on the board; either motor control connector or multiplexed peripherals can be enabled by setting jumpers JP10, JP21, JP22 and JP26. Table 9.
Jumper

Motor control related jumpers


Description Configuration Multiplexed peripherals

JP22

JP22 allows a PFC synchronization signal to be redirected to the timer 4 input capture 3 pin, additionally to the timer 4 external trigger input. Default setting: Not fitted. JP21 should be kept open when encoder signal is input from pin31 of CN17 while it should be kept on close when analog signal is from pin31 of CN17 for special motor. Default setting: Not fitted. MC_EnA is enabled when JP10 is set as shown:
1 2 3

JP21

JP10 I2S_MCK is enabled when JP10 is set as shown: (Default) PE0 is connected to SD card detection when JP26 is fitted. JP26 should be kept open when PE0 is used as MC_PFCsync2. Default setting: Fitted
1 2 3

Audio

JP26

MicroSD card

12/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.10

Smartcard
STMicroelectronics smartcard interface chip ST8024 is used on the STM3210C-EVAL board for asynchronous 3 V and 5 V smartcards. It performs all supply protection and control functions based on the connections with the STM32F107VCT listed in Table 10: Table 10.
Signals of ST8024 5V/3V I/OUC XTAL1 OFF RSTIN CMDVCC

Connection between the ST8024 and STM32F107VCT


Description Smartcard power supply selection pin MCU data I/O line Crystal or external clock input Detect presence of a card, interrupt to MCU Card reset input from MCU Start activation sequence input (active low) Connect to STM32F107VCT PC0 PD8 PD10 PE7 PD9 PE14

Some jumpers must be re-configured to enable smartcard. Note: Two test points TP2 and TP3 are available on the board for AUX2 (auxiliary line to and from card C8) and AUX1 (auxiliary line to and from card C4). Table 11.
Jumper

Smartcard related jumpers


Description PD10 is connected to ethernet PHY as signal MII_RXD1 when JP11 is set as shown: (Default) Configuration
1 2 3

JP11 PD10 is connected to smartcard interface chip as signal smartcard_CLK when JP11 is set as shown: PD9 is connected to ethernet PHY as signal MII_RXD0 when JP12 is set as shown: (Default) JP12 PD9 is connected to smartcard interface chip as signal smartcard_RST when JP12 is set as shown: PD8 is connected to ethernet PHY as signal MII_RX_DV/RMII_CRSDV when JP13 is set as shown: (Default) JP13 PD8 is connected to smartcard interface chip as signal smartcard_IO when JP13 is set as shown:
1 2 3 1 2 3 1 2 3

1 2 3

1 2 3

Doc ID 15082 Rev 3

13/52

Hardware layout and configuration

UM0600

2.11

MicroSD card
The 2 GByte (or more) microSD card connected to SPI3 of STM32F107VCT is available on the board. MicroSD card detection is managed by the standard I/O port PE0. JP15 must remain fitted to enable microSD card chip select. Table 12.
Jumper

MicroSD card related jumper


Description JP15 enables microSD card chip select line. MicroSD card chip select is enabled when JP15 is fitted. JP15 should be kept open when PA4 is configured as a DAC output for audio DAC. Default setting: Fitted. PE0 is connected to SD card detection when JP26 is fitted. JP26 should be kept on open when PE0 is used as MC_PFCsync2. Default setting: Fitted.

JP15

JP26

2.12

Analog input
Two BNC connectors CN10 and CN11 are connected to PB0 and PA7 of the STM32F107VCT as external analog input when a motor control connector is not used. The 50 ohm terminal resister can be enabled by closing solder bridge SB3 and SB4 for each BNC connector. The test point TP7 and TP8 can be used for ADC precision measurement with BNC1 connector disconnected from PA7 by open SB5. A low pass filter can be implemented for each BNC connector by replacing R141 and C64, R143 and C65 with the value of resister and capacitor as requested by the end users application. There are also 3 analog signals available on the board: 1. 2. 3. 10 Kohm potentiometer RV1 connected to PC4. IDD measurement output signal connected to PA6 for power consumption test in RUN, SLEEP and STOP mode. Battery voltage measurement output signal connected to PC5. For battery voltage measurement VBAT is connected to ADC input using resistor divider since this voltage may be higher than MCU_VDD when the battery is new. The resistor divider 2/3 needs to be pulled low by an I/O expander (VBAT_DIV on EXP_IO12) in order to avoid permanent current on this bridge.

14/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.13

Ethernet
The STM3210C-EVAL evaluation board supports 10M/100M ethernet communication by a PHY DP83848CVV (U1) and integrated RJ45 connector (CN1). Both MII and RMII interface modes are supported and can be selected by setting jumpers JP2, JP3 and JP4. Table 13.
Jumper JP2

Ethernet related jumpers


Description JP2 selects MII or RMII interface mode. MII is enabled when JP2 is open while RMII interface mode is enabled when JP2 is fitted. Default setting: Not fitted. JP3 should be set as shown when MII interface mode is enabled. (Default)
1 2 3

Configuration

JP3 JP3 should be set as shown when RMII interface mode is enabled. 25 MHz clock for MII or 50 MHz clock for RMII is provided by MCO at PA8 when JP4 is set as shown: (Default) JP4 25 MHz clock is provided by external crystal X1 (for MII interface mode only) when JP4 is set as shown: JP4 has to be kept open when the clock is provided by external oscillator U2 (not fitted by default).
1 2 3

1 2 3

1 2 3

Note:

JP11, JP12, JP13 and JP14 are set to support ethernet by default, please verify the jumper configuration before ethernet demonstration. Note2: Test point TP1 is connected to 25MHz clock output pin of Ethernet PHY U1 which provide 25MHz or 50MHz clock for system in MII or RMII mode. Note3: Test point TP4 can be used for PTP_PPS feature only when R45 is removed.

2.14

USB-OTG
The STM3210C-EVAL evaluation board supports USB-OTG full speed communication via a USB MicroAB connector (CN2) and a USB power switch (U3) connected to VBUS. The evaluation board can be powered by this USB connection at 5 V DC with a 500 mA current limitation. LED LD6 is lit:

in Host mode when the power switch (U3) is ON (STM3210C-EVAL is acting as a USB host), in Device mode when a cable is connected to a PC (STM3210C-EVAL is acting as a USB device and VBUS is powered by another USB host).

LD5 is lit when over-current occurs in Host mode.

Doc ID 15082 Rev 3

15/52

Hardware layout and configuration

UM0600

2.15

MEMS
An ST MEMS device LIS302DL is connected to the I2C1 bus of STM32F107VCT.

2.16

Development and debug support


The two debug connectors available on STM3210C-EVAL evaluation board are: 1. 2. CN13, standard 20-pin JTAG interface connector that is compliant with the debug tools of ARM7 and ARM9 and cortex M3. CN12, SAMTEC 20-pin connector FTSH-110-01-L-DV for both SWD and trace that is compliant with ARM CoreSightTM debug tools.

16/52

Doc ID 15082 Rev 3

UM0600

Hardware layout and configuration

2.17

Display and input devices


The 3.2 TFT color LCD connected to SPI3 and 4 general purpose color LEDs (LD 1,2,3,4) are available as display devices. A touch screen connected to an I/O expander (U7), 4-direction joystick with selection key, general purpose button (B3), wakeup button (B2) and tamper detection button (B4) are available as input devices. JP14 should be re-configured to enable wakeup button B2 which shares the same I/O as MII_CRS of the ethernet. You may refer to Table 2 for details. The STM3210C-EVAL board also supports a second optional 2.4 TFT LCD without touch screen that can be mounted on CN15 connector. The 2.4 TFT LCD is not populated by default. Table 14 shows both the LCD modules pin connections. Table 14. LCD modules
2.4" TFT LCD CN15 (optional) Pin on CN15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Description CS SCL SDI RS WR RD SDO RESET VDD VCI GND GND BL_VDD BL_Control BL_GND BL_GND Pin connection PB2 PC10 PC12 PC11 RESET# 3.3V 3.3V GND GND 3.3V 3.3V GND GND

3.2" TFT LCD with touch screen CN14 (default) Pin on CN14 1 2 3 4 5 22 23 24 25 26 27 28 29 30 31 32 33 34 Description CS RS WR/SCL RD RESET BL_GND BL_control VDD VCI GND GND BL_VDD SDO SDI XL XR YD YU Pin connection PB2 PC10 RESET# GND +5V 3.3V 3.3V GND GND +5V PC11 PC12 IO Expander IO Expander IO Expander IO Expander

Doc ID 15082 Rev 3

17/52

Hardware layout and configuration

UM0600

2.18

IDD measurement
Figure 4. STM3210C-EVAL IDD measurement circuit

The circuit above is implemented on STM3210C-EVAL for IDD measurement. In Run mode, IDD current is measured using MAX9938FEUK+ (U21) connected to the 1ohm shunt resistor. In this case IDD_CNT_EN remains high during measurement and JP23 jumper must be set to 2<->3. In Stop or Standby mode, the operational amplifier MAX9938FEUK+ (U21) is connected on the 1 Kohm shunt resistor. To measure a current corresponding to the Stop or Standby modes the procedure is: 1. 2. 3. 4. 5. 6. Configure ADC to measure voltage on IDD_measurement pin. Configure PA0 as interrupt input on falling edge. Enter in Stop or Standby modes with IDD_CNT_EN Low. LP_WAKEUP falling edge wakeup the MCU after 100 ms. Start ADC conversion as soon as possible after wakeup in order to measure the voltage corresponding to Low power mode on 1 uF capacitor. Reset the counter by programming IDD_CNT_EN High in less than 50 mS after the wakeup to avoid 1 Kohm to be connected later on VDD_MCU.

In Stop or Standby modes, the 1K resistor is connected when T2 goes off after entering the Stop or Standby mode. Q13 output of the counter allows connection of the 1K resistor when the current IDD becomes very low. Figure 5 shows the measurement timing.

18/52

Doc ID 15082 Rev 3

UM0600 Figure 5.

Hardware layout and configuration STM3210C-EVAL IDD Low power mode measurement timing diagram
IDD measure Run Stop or Standby Wake-up Clear CNT

MCU mode 0 150ms 300ms 450ms

IDD_CNT_EN

Q13=LOW_POWER_EN (T2 pin 3) Q14=LP_WAKEUP Q14n=Switch control (U22 pin 4)

The Low power mode measurement procedure can be used in Stop or Standby modes if the IDD current does not exceed 60 uA, otherwise the Run mode measurement procedure should be used up to 60 mA.

Doc ID 15082 Rev 3

19/52

Connectors

UM0600

3
3.1

Connectors
Motor control connector CN17
Figure 6. Motor control connector CN17 viewed from above the PCB

Table 15.

Motor control connector CN17


Pin of Pin number STM32F107VCT of CN17 PE15 PE9 PE8 PE11 PE10 PE13 PE12 PA7 PB0 PB1 PD2 PA0 +5V PE0 and PD14 PD15 PC6 via JP10 PC7 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 Pin number Pin of Description of CN17 STM32F107VCT 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 PC8 PC0 PA5 GND GND GND GND GND GND Bus voltage GND GND GND GND GND Heat sink temperature VDD_Micro GND GND Encoder index

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 Dissipative brake PWM +5V power PFC SYNC PFC PWM Encoder A Encoder B

20/52

Doc ID 15082 Rev 3

UM0600

Connectors

3.2

Analog input connector CN10 and CN11


Figure 7. Analog input connector CN10 and CN11 viewed from the bottom

Table 16.

Analog input connector CN10 and CN11


Description GND GND GND Pin number 4 5 GND Analog input PB0 and PA7 for CN10 and CN11 respectively Description

Pin number 1 2 3

3.3

CAN D-type 9-pin male connector CN3 and CN4


Figure 8. CAN D-type 9-pin male connector CN3 and CN4 viewed from the front

Table 17.

CAN D-type 9-pin male connector CN3 and CN4


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

Pin number 1,4,8,9 2

Doc ID 15082 Rev 3

21/52

Connectors

UM0600

3.4

Ethernet RJ45 connector CN1


Figure 9. Ethernet RJ45 connector CN1 viewed from the front

Table 18.

RJ45 connector CN1


Description TxData+ RxData+ Shield Shield Pin number 2 4 6 8 Description TxDataShield RxDataShield

Pin number 1 3 5 7

3.5

Trace debugging connector CN12


Figure 10. Trace debugging connector CN12 viewed from above the PCB
19 17 15 13 11 9 7 5 3 1

20 18 16 14 12 10 8 6 4

Table 19.

Trace debugging connector CN12


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

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

22/52

Doc ID 15082 Rev 3

UM0600

Connectors

3.6

RS-232 connector CN6


Figure 11. RS-232 connector CN6 with ISP support viewed from the front

Table 20.

RS-232 connector CN6 with ISP support


Description Bootloader_RESET RS232_RX (PD6) RS232_TX (PD5) NC GND Pin number 6 7 8 9 NC NC Bootloader_BOOT0 NC Description

Pin number 1 2 3 4 5

3.7

JTAG debugging connector CN13


Figure 12. JTAG debugging connector CN13 viewed from above the PCB
19 17 15 13 11 9 7 5 3 1

20 18 16 14 12 10 8 6 4

Table 21.

JTAG debugging connector CN13


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

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

Doc ID 15082 Rev 3

23/52

Connectors

UM0600

3.8

Daughterboard extension connector CN8 and CN9


Two 50-pin male headers CN8 and CN9 can be used to connect a daughterboard or standard wrapping board to the STM3210C-EVAL evaluation board. All 80 GPI/Os are available on it. The space between these two connectors and power position, GND and RESET pin are defined as a standard, which allows to develop common daughterboards for several evaluation boards. The standard width between CN8 pin1 and CN9 pin1 is 2700 mils (68.58mm). This standard is implemented on the majority of evaluation boards. Each pin on CN8 and CN9 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM3210C-EVAL evaluation board. Please refer to Table 22 and Table 23 for details.

Table 22.
Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 PB3 PB5 PB7 GND PE2 PE4 PB8

Daughterboard extension connector CN8


Alternative function MC USB power switch On USB VBUS MC/Ethernet/WKUP Disconnect STM3210C-EVAL board from motor power drive board Remove R36 Remove R78 Keep JP14 open. Disconnect STM3210C-EVAL board from motor power drive board. Remove R161, close SB1 Remove R43 or disconnect USB cable Remove R59, close SB2 How to disconnect with function block on STM3210C-EVAL

Description GND PC7 PC9 PA9 PA0

PC14 via SB1 32kHz oscillator PA12 USB_DP

PC15 via SB2 32kHz oscillator PC10 GND PC12 PD1 PD3 PD5 PD7 SPI1_CLK SPI1_MOSI CAN1_TX LD3 USART2_TX LD1

Remove R96

Remove R94

TDO/SWO CAN2_RX I2C1_SDA Trace_CK Trace_D1 MC Disconnect STM3210C-EVAL board from motor power drive board Remove R45 Remove R132

24/52

Doc ID 15082 Rev 3

UM0600 Table 22.


Pin 47 49 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 PB4 PB6 PE0 PE1 PE3 PE5 PB9 3V3 GND TRST CAN2_TX/ I2C1_SCK MC/MicroSD card detection USB_Ove-current Trace_D0 Trace_D2 User Button Remove R104 Keep JP20 open Keep JP9 open

Connectors Daughterboard extension connector CN8 (continued)


Alternative function Trace_D3 How to disconnect with function block on STM3210C-EVAL

Description PE6 D5V PC6 PC8 PA8 PA10 GND PA11 PA13 PA14 PC11 PA15 PD0 PD2 PD4 PD6 GND

I2S_MCK/MC MC MCO USB_ID

JP10 open Disconnect STM3210C-EVAL board from motor power drive board JP4 open Remove R38 or disconnect USB cable

USB_DM TMS/SWDIO TCK/SWCLK SPI1_MISO TDI CAN1_RX MC LD4 USART2_RX

Remove R42 or disconnect USB cable

Remove R135 and LCD

Remove R44 Disconnect STM3210C-EVAL board from motor power drive board. Remove R97 Keep JP16 open

Remove MicroSD card. Disconnect STM3210C-EVAL board from motor power drive board. Remove R35

Doc ID 15082 Rev 3

25/52

Connectors Table 23.


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 2 4 6 8 10 12 14 PE12 PE10 PE8 PE7 PB1 PC5 PA7 GND PA4 PA2 PC3 PC1 PC13 PD15 PD13 PD11 PD9 GND PD8 PB14 Ethernet / Smartcard IO_Expandor_INT Keep JP13 open Remove R159 MicroSD card / Audio_DAC Ethernet Ethernet Ethernet IDD_CNT_EN / Anti-tamper button B4 MC LD2 Ethernet Ethernet / Smartcard Keep JP1 open Keep JP15 open Remove R162 Remove RS1 MC MC MC Smartcard_OFF MC VBAT_voltage MC Remove R69 Remove R168 Remove R154 Remove R169

UM0600 daughterboard extension connector CN9


Alternative function MC Ethernet Ethernet/Smartcard IDD_CNT_EN / Anti-tamper button B4 I2S_DIN I2S_CK / Ethernet Ethernet Smartcard_CMDVCC Remove R166 Remove RS3 Remove RS3 Keep JP22 open. Disconnect STM3210C-EVAL board from motor power drive board. Remove RS2 Keep JP11 open Keep JP1 open How to disconnect with component on STM3210C-EVAL board

Description GND PD14 PD12 PD10 PC13 button B3 RESET# PB15 PB13 PB11 D5V PE14

Disconnect STM3210C-EVAL board from motor power drive board

Disconnect STM3210C-EVAL board from motor power drive board Remove R95 Remove RS1 Keep JP12 open

26/52

Doc ID 15082 Rev 3

UM0600 Table 23.


Pin 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 PE11 PE9 GND PB2 PB0 PC4 PA6 PA5 PA3 PA1 PC2 PC0 GND MC MC Potentiometer IDD_Measurement MC MC / Ethernet Ethernet Ethernet MC / Smartcard Remove R168 Remove R167 Remove R103 Remove R79 Remove R84 Keep JP10 open Keep JP3 open Remove RS1 Remove R165 MC

Connectors daughterboard extension connector CN9 (continued)


Alternative function Ethernet / Audio Ethernet MC MC How to disconnect with component on STM3210C-EVAL board Remove RS3 Remove RS2 Remove R139 Disconnect STM3210C-EVAL board from motor power drive board

Description PB12 PB10 PE15 PE13

Disconnect STM3210C-EVAL board from motor power drive board MC

3.9

Audio jack CN7


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

3.10

TFT LCD connector CN14


One 34-pin male header CN14 is available on the board to connect LCD module board MB785. Please refer to Chapter 2.17 for detail.

Doc ID 15082 Rev 3

27/52

Connectors

UM0600

3.11

MicroSD card connector CN16


Figure 13. MicroSD card connector CN16 viewed from the front

Table 24.
Pin number 1 2 3 4 5

MicroSD card connector CN16


Description Pin number 6 MicroSDcard_CS (PA4) MicroSDcard_DIN(PC12) +3V3 MicroSDcard_CLK (PC10) 7 8 9 10 GND MicroSDcard_detect (PE0) Vss/GND MicroSDcard_DOUT(PC11) Description

3.12

USB MicroAB connector CN2


Figure 14. USB MicroAB connector CN2 viewed from the front

Table 25.

USB MicroAB connector CN2


Description VBUS (PA9) D- (PA11) D+ (PA12) Pin number 4 5 Description ID (PA10) GND

Pin number 1 2 3

28/52

Doc ID 15082 Rev 3

UM0600

Connectors

3.13

Power connector CN18


Your STM3210C-EVAL evaluation board can be powered from a DC 5 V 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 viewed from the front DC +5V GND

3.14

Smartcard connector CN5


Figure 16. Smartcard connector CN5
1234

17 18

5678

Table 26.
Pin number 1 2 3 4 17

Smartcard connector CN5


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

Doc ID 15082 Rev 3

29/52

Schematics

UM0600

Schematics
This section provides the following schematics:

Figure 17: STM3210C on page 31 Figure 18: MCU on page 32 Figure 19: Ethernet on page 33 Figure 20: Full speed USB-OTG on page 34 Figure 21: Audio on page 35 Figure 22: LCD on page 36 Figure 23: I/O expander on page 37 Figure 24: CAN on page 38 Figure 25: RS-232 and IrDA on page 39 Figure 26: Smartcard on page 40 Figure 27: Motor control on page 41 Figure 28: I/O peripherals on page 42 Figure 29: Extension connector on page 43 Figure 30: JTAG and trace on page 44

30/52

Doc ID 15082 Rev 3

Figure 17. STM3210C

UM0600

U_Audio Audio.SchDoc Audio_RST Audio_DAC_OUT Audio_SDA Audio_SCK I2S_CK I2S_DIN I2S_CMD I2S_MCK U_CAN CAN.SchDoc CAN1_RX CAN1_TX CAN2_RX CAN2_TX U_MicroSDCard MicroSDCard.SchDoc MicroSDCard_MISO MicroSDCard_Detection MicroSDCard_CS MicroSDCard_MOSI MicroSDCard_SCK U_JTAG&Trace JTAG&Trace.SchDoc TDI RESET# TRST TMS/SWDIO TCK/SWCLK TDO/SWO TRACE_CK TRACE_D0 TRACE_D1 TRACE_D2 TRACE_D3 U_Ethernet Ethernet.SchDoc MII_TX_CLK MII_TXD0 MII_TXD1 MII_TXD2 MII_TXD3 MII_INT MII_TX_EN MII_RX_ER MII_RX_DV/RMII_CRSDV MII_RX_CLK/RMII_REF_CLK MII_RXD0 MII_RXD1 MII_RXD2 MII_RXD3 MII_COL MII_CRS MII_MDIO MII_MDC MCO PHY_RESET# U_SmartCard SmartCard.SchDoc SmartCard_CMDVCC SmartCard_CLK SmartCard_RST SmartCard_IO SmartCard_3/5V SmartCard_OFF U_Power Power.SchDoc IDD_Measurement VBAT_Voltage LP_WAKEUP VBAT_DIV IDD_CNT_EN

U_MCU MCU.SchDoc Audio_DAC_OUT 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_MotorControl MotorControl.SchDoc MC_PFCsync1 MC_PFCsync2 BNC2 MC_WL BNC1 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_IO Peripherals IO Peripherals.SchDoc LED4 LED3 LED2 LED1 LED4 LED3 LED2 LED1 EEPROM_SCK EEPROM_SDA MEMS_SCK MEMS_SDA Potentiometer Anti_Tamper WAKEUP User_Button U_IO_Expandor IO_Expandor.SchDoc I2C1_SCK I2C1_SDA IO_Expandor_INT R131 R132 0 0 IO_Expandor_SCK IO_Expandor_SDA IO_Expandor_INT EXP_IO12 EXP_IO11 EXP_IO10 EXP_IO9 EXP_IO8 EXP_IO7 EXP_IO6 EXP_IO5 EXP_IO4 EXP_IO3 EXP_IO2 EXP_IO1 TouchScreen_YTouchScreen_Y+ TouchScreen_XTouchScreen_X+ BNC1 BNC2 JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP MEMS_INT1 MEMS_INT2

I2S_CK I2S_DIN I2S_CMD I2S_MCK

CAN1_RX CAN1_TX CAN2_RX CAN2_TX

MicroSDCard_Detection MicroSDCard_CS

TDI RESET# TRST TMS/SWDIO TCK/SWCLK TDO/SWO TRACE_CK TRACE_D0 TRACE_D1 TRACE_D2 TRACE_D3

Doc ID 15082 Rev 3 31/52

Potentiometer Anti_Tamper WAKEUP User_Button

MII_TX_CLK MII_TXD0 MII_TXD1 MII_TXD2 MII_TXD3 MII_TX_EN MII_RX_ER MII_RX_DV/RMII_CRSDV MII_RX_CLK/RMII_REF_CLK MII_RXD0 MII_RXD1 MII_RXD2 MII_RXD3 MII_COL MII_CRS MII_MDIO MII_MDC MCO

R133 R134 4K7 4K7 +3V3

U_LCD LCD.SchDoc LCD_CS SPI3_SCK SPI3_MOSI SPI3_MISO LCD_CS LCD_CLK LCD_DI RESET# LCD_DO TouchScreen_YTouchScreen_Y+ TouchScreen_XTouchScreen_X+

SmartCard_CMDVCC SmartCard_CLK SmartCard_RST SmartCard_IO SmartCard_3/5V SmartCard_OFF

U_ExtensionConnector ExtensionConnector.SchDoc PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15] PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15] RESET# U_USB_OTG_FS USB_OTG_FS.SchDoc USB_PowerSwitchOn USB_DM USB_DP USB_ID USB_VBUS USB_OverCurrent USB_PowerSwitchOn USB_DM USB_DP USB_ID USB_VBUS USB_OverCurrent Note1: only decoupling capacitors value was updated from Versioin B.1 to B.2. Note2: only assembly request of R42 and R43 was updated from Versioin B.2 to B.3.

IDD_Measurement VBAT_Voltage_OUT

USB_VBUS

IDD_CNT_EN

U_USART&IrDA USART&IrDA.SchDoc RS232/IrDA_RX RS232/IrDA_TX Bootloader_RESET Bootloader_BOOT0 USART2_RX USART2_TX Bootloader_RESET Bootloader_BOOT0

Schematics

STMicroelectronics
Title:

STM3210C-EVAL
Rev: B.3(PCB.SCH) Date: 9/18/2009 Sheet 1 of

Number:MB784

16

Figure 18. MCU


1 2 3 4

B1 1 4 RESET C15 100nF RESET# +3V3 R62 [N/A] 2


1

32/52 Doc ID 15082 Rev 3

Schematics

MC_DissipativeBrake 3 2 1 JP14 MII_COL MC_BusVoltage IDD_Measurement MC_CurrentA MCO USB_ID USB_DM USB_DP TMS/SWDIO TCK/SWCLK TDI MC_CurrentB MC_CurrentC LCD_CS TDO/SWO TRST CAN2_RX CAN2_TX JP9 I2C1_SCK I2C1_SDA MII_TXD3 User_Button MII_RX_ER MII_TX_EN MII_RX_CLK/RMII_REF_CLK MII_MDIO

TP6 MCO

3 C17 10pF R59 0 PC15-OSC32_OUT PC14-OSC32_IN PC13-ANTI_TAMP PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 9 8 7 80 79 78 66 65 64 63 34 33 18 17 16 15 62 61 60 59 58 57 56 55 88 87 86 85 84 83 82 81 46 45 44 43 42 41 40 39 38 5 4 3 2 1 98 97 PC15 PC14 PC13 PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 4

2 1 C16 10pF R161 0 X2 MC306-G-06Q-32.768 (manufacturer JFVNY)

PA[0..15] PB[0..15] PC[0..15] PD[0..15] 1 2 IDD_CNT_EN Anti_Tamper PE[0..15]

PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15]

WAKEUP MII_CRS

U9A PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 23 24 25 26 29 30 31 32 67 68 69 70 71 72 76 77 35 36 37 89 90 91 92 93 95 96 47 48 51 52 53 54 PA0-WKUP PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15

JP15 MicroSDCard_CS Audio_DAC_OUT USB_VBUS +3V3 1 SW1 2 3 R60 09.03290.01 10K R78 0

SPI3_MOSI SPI3_MISO SPI3_SCK USB_PowerSwitchOn MC_EnIndex MC_EnB VBAT_Voltage_OUT Potentiometer MII_TX_CLK MII_TXD2 MII_MDC

3 JP1

1 2 3 JP10

I2S_MCK MC_EnA

SmartCard_3/5V R165 0 MC_HeatsinkTemperature

MC_PFCpwm MC_PFCsync1 LED2 MII_RXD3 MII_RXD2

1 2 3 JP11 1 2 3 JP12 1 2 3 JP13 Jumper configuration:

SmartCard_CLK MII_RXD1 SmartCard_RST MII_RXD0

MII_TXD0 I2S_CMD I2S_CK MII_TXD1

IO_Expandor_INT I2S_DIN

LED1 USART2_RX USART2_TX LED4 LED3 MC_NTC CAN1_TX CAN1_RX MC_EmergencySTOP SmartCard_CMDVCC MC_WH MC_WL MC_VH MC_VL MC_UH MC_UL SmartCard_OFF TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK USB_OverCurrent MC_PFCsync2 JP26

SmartCard_IO MII_RX_DV/RMII_CRSDV

X3 25MHz (with socket) C18 20pF

TP4 PTP_PPS 12 13 14 73 94 OSC_IN OSC_OUT NRST NC BOOT0

C19 R63 20pF 220 R61 10K D1 1N4148

SW2 09.03290.01

JP18 STM32F107VCT

default set/ feature enabled another set/ feature enabled ================================================== JP1: 2<->3 / Anti_Temper 1<->2 / MCU current measurement JP9: close / I2C device open / CAN2 JP10: 1<->2 / I2S Audio 2<->3 / MC JP11: 2<->3 / Ethernet 1<->2 / Smartcard JP12: 2<->3 / Ethernet 1<->2 / Smartcard JP13: 2<->3 / Ethernet 1<->2 / Smartcard JP14: 1<->2 / Ethernet 2<->3 / WKUP & MC JP15: close / SDcard CS open / output for audio DAC JP18: open/ BL_Boot0 disabled close / BL_Boot0 JP19: open/ BL_Reset disabled close / BL_Reset

+3V3

MicroSDCard_Detection

STMicroelectronics
Title:

D2 1N4148 1

Bootloader_BOOT0 JP19 Bootloader_RESET

STM3210C-EVAL MCU
Rev: B.3(PCB.SCH) Date: 10/10/2009 4 Sheet 2 of

UM0600

Number:MB784 2 3

16

Figure 19. Ethernet


MII_CRS MII_RX_ER MII_COL MII_RXD3 MII_RXD2 MII_TXD3 MII_TXD2 MII_TX_CLK Unused in RMII mode RS3 MII_TX_EN MII_TXD0 MII_TXD1 PB11 PB12 PB13 33 RS4 MII_RXD1 MII_RXD0 MII_RX_DV/RMII_CRSDV R2 2K2 JP2 PD10 PD9 PD8 33 1 2 3 4 5 6 43 44 45 46 41 39 38 42 40 MII_MDC MII_MDIO PHY_RESET# PC1 PA2 R162 0 R1 2K2 R41 0 33 34 25 TP1 25MHz 2 MCO +3V3 4 1 R32 10K U2 VCC OUT EN GND 3 2 C3 100nF C4 100nF C5 100nF PA8 3 R31 4.87K 24 37 18 23 31 30 29 7 PA0 PB10 PA3 PD12 PD11 PB8 PC2 PC3 RS1 33 RS2 33 U1 TX_CLK TX_EN TXD_0 TXD_1 TXD_2 TXD_3/SNI_MODE RXD_0/PHYAD1 RXD_1/PHYAD2 RXD_2/PHYAD3 RXD_3/PHYAD4 RX_ER/MDIX_EN RX_DV/MII_MODE RX_CLK COL/PHYAD0 CRS/CRS_DV/LED_CFG MDC MDIO RESET_N PWR_DOWN/INT LED_LINK/AN0 LED_SPEED/AN1 LED_ACT/COL/AN_EN NC NC AVDD33 IOVDD33 IOVDD33 AGND AGND IOGND IOGND DGND +3V3 C11 10uF C6 100nF C7 100nF C8 100nF External 25MHz crystal mode ===================== JP4 1<->2 (MCO pin free for another application) 28 27 26 21 R6 20 R7 22 48 32 19 15 47 35 36 2K2 2K2 +3V3 2K2 +3V3 TD+ TDRD+ RDNC NC NC NC NC 17 16 14 13 12 11 10 9 8 1 4 2 3 5 6 9 10 12 11 7 8 13 14

UM0600

+3V3 +3V3 R8 1K5 C1 100nF RS5 50 C2 100nF R13 R14 240 240 CN1 TD+ TCT TDRD+ RCT RDLED(green)_A LED(green)_K LED(Yellow)_A LED(Yellow)_K NC CHS GND Shield Shield J0011D21B Second source: SI-60116-F

+3V3

Doc ID 15082 Rev 3 33/52

RS6

+3V3

3 MII_RX_CLK/RMII_REF_CLK PA1 R30 C9 22pF C10 22pF 0 X1 25MHz (with socket) JP4 1 2 1 JP3 MII_INT

+3V3 To IO expandor

X2 X1 25MHz_OUT RBIAS PFBIN2 PFBIN1 PFBOUT DP83848CVV

MII RMII ==================== JP2 open close JP3 2<->3 1<->2 JP4 2<->3 2<->3

SM7745HEV-50.0M (do not fit)

Schematics

STMicroelectronics
Title:

STM3210C-EVAL Ethernet
Rev: B.3(PCB.SCH) Date: 9/18/2009 Sheet 3

Number:MB784

Figure 20. Full speed USB-OTG

R40 10K USB_PowerSwitchOn PC9 R36 0 +5V

U3 2 5 4 GND FAULT IN OUT EN TPS2041BDBV 3 1

R34 47K

C12 4.7uF

Shield 475900001

USB_VBUS USB_DM USB_DP USB_ID

PA9 PA11 PA12 PA10

+3V3 R42 R43 R38 0 22 22 R39 330


1

B3 C3 D3 A2 B2

Vbus D+out D-out Dz Pup

ID D+in D-in Pd1 Pd2 GND

A3 C1 D1 B1 C2 D2

R4 47K R5 [N/A]

U4

LD6 Green

2
1

T3 9013

EMIF02-USB03F2

STMicroelectronics
Title:

USB_Micro-AB receptacle

34/52 Doc ID 15082 Rev 3

Schematics

+3V3

R33 680 +3V3 USB_OverCurrent LD5 Red R35

PE1 1 2 3 4 5

CN2 VBUS DM DP ID GND

UM0600

STM3210C-EVAL USB_OTG_FS
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 4 of

Number:MB784 1 2 3

Figure 21. Audio

UM0600

R72 51

R73 51

+2V5

U13 Audio_SDA Audio_SCK PB7 PB6 PC6 PB13 PB15 PB12 1 2 3 37 38 39 40 32 10 11 C45 1uF +2V5 C47 1uF +3V3 13 16 34 20 36 33 35 0 +VHP VA VD TSTO TSTO VL DGND GND/Thermal Pad CS43L22 I2C address 0x94 C46 1uF 12 SDA SCL A0 MCLK SCLK SDIN LRCK RESET -VHPFILT FLYN FLYP HP/LINE_OUTA HP/LINE_OUTB SPKR/HP 15 14 31

C43 0.022uF

C44 0.022uF

R75 47K 2 CN7 3 1 4 6 5

R74 Audio_RST From IO expandor 10K R82 0

I2S_MCK I2S_CK I2S_DIN I2S_CMD

U25 SPKR_OUTA+ SPKR_OUTASPKR_OUTB+ SPKR_OUTBVP VP AIN1B AIN1A AIN2B AIN2A AIN3B AIN3A AIN4B AIN4A VQ AFILTB AFILTA FILT+ AGND 4 6 7 9 8 5 30 29 26 25 24 23 22 21 19 28 27 18 17 C49 1uF C50 1uF 1 2 KSS-1508 or KSSG1708 +5V C37 100nF C38 100nF R80 100

ST-212-02V

Doc ID 15082 Rev 3 35/52


1

C95 1uF R81 100K

R83 0

Audio_DAC_OUT

C39 100nF

C40 100nF

C41 100nF

C42 100nF

C93 150pF(COG)

C94 150pF(COG)

STMicroelectronics
Title:

Schematics

STM3210C-EVAL Audio
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 5 of

Number:MB784 2 3

16

Figure 22. LCD

36/52 Doc ID 15082 Rev 3

Schematics

CN14 LCD_CS LCD_CLK RESET# PB2 PC10 1 2 3 4 5 CS RS WR/SCL RD RESET PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 XL XR YD YU 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 31 32 33 34 To IO expandor TouchScreen_XTouchScreen_X+ TouchScreen_YTouchScreen_Y+

+5V +3V3

LCD_DO LCD_DI

PC11 PC12

+5V

22 23 24 25 26 27 28 29 30

BL_GND BL_Control VDD VCI GND GND BL_VDD SDO SDI

3.2" LCD_connector (MB785 with AM-240320D4TOQW-T00H(R)) CN15 1 2 3 4 5 6 7 8 +3V3 9 10 11 12 13 14 15 16 CS SCL SDI RS WR RD SDO RESET VDD VCI GND GND BL_VDD BL_Control BL_GND BL_GND 2.4" LCD connector (MB542 with AM240320L8TNQW-00H)

+3V3

STMicroelectronics
Title:

UM0600

STM3210C-EVAL LCD
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 6 of

Number:MB784 1 2 3

Figure 23. I/O expander

UM0600

+3V3 C89 100nF 6 14 10 4 5 2 7 3 R37 10K

U7 VCC Vio GND SCLK SDAT INT Data in A0/Data Out YXY+ X+ IN3 IN2 IN1 IN0 1 16 15 13 12 11 9 8 TouchScreen_YTouchScreen_XTouchScreen_Y+ TouchScreen_X+ EXP_IO9 EXP_IO10 EXP_IO11 EXP_IO12 R57 100K

IO_Expandor_SCK IO_Expandor_SDA IO_Expandor_INT

PB6 PB7 PB14

R159

STMPE811 I2C device address:0x82

+3V3 +3V3

Doc ID 15082 Rev 3 37/52


1 2

C90 100nF 6 14 10 4 5 2 7 3 R164 10K +3V3 +3V3 R56 10K

U8 VCC Vio GND SCLK SDAT INT Data in A0/Data Out YXY+ X+ IN3 IN2 IN1 IN0 1 16 15 13 12 11 9 8 R58 100K EXP_IO1 EXP_IO2 EXP_IO3 EXP_IO4 EXP_IO5 EXP_IO6 EXP_IO7 EXP_IO8

R160 10K

STMPE811 I2C device address:0x88

STMicroelectronics
Title:

Schematics

STM3210C-EVAL IO_Expandor
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 7 of

Number:MB784 3

Figure 24. CAN

38/52 Doc ID 15082 Rev 3

Schematics

+3V3 +3V3 C13 100nF U5 CAN1_TX PD1 R44 0 1 2 3 4 D GND VCC R RS CANH CANL Vref 8 7 6 5 JP5 R46 10K R48 0 Default setting: 1<->2 JP7 Default setting: Open 1 6 2 7 3 8 4 9 5 R49 0 CN3 DB9-male CAN connector

CAN1_RX

PD0

SN65HVD230

R52 120

R54 [N/A]

+3V3

+3V3 +3V3 C14 100nF U6 CAN2_TX PB6 PB5 R45 0 1 2 3 4 D GND VCC R RS CANH CANL Vref 8 7 6 5 JP6 R47 10K R50 0 Default setting: 1<->2 JP8 Default setting: Open 1 6 2 7 3 8 4 9 5 R51 0 CN4 DB9-male CAN connector

CAN2_RX

SN65HVD230

R53 120

R55 [N/A]

+3V3

STMicroelectronics
Title:

STM3210C-EVAL CAN
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 8 of

UM0600

Number:MB784 1 2 3

Figure 25. RS-232 and IrDA

UM0600

+3V3 100nF C30 +3V3 C31 100nF R3 10K RS232/IrDA_TX PD5 28 24 1 2 14 13 12 21 20 19 18 17 16 15 23 U11 C1+ C1C2+ C2T1IN T2IN T3IN 21 20 R1OUT R2OUT R3OUT R4OUT R5OUT nEN ST3241EBPR VCC GND V+ VT1OUT T2OUT T3OUT 26 25 27 3 9 10 11 C32 100nF C33 100nF C34 100nF DCD RXD TXD CTS 1 6 2 7 3 8 4 9 5 CN6 DB9-male UART4

Bootloader_RESET 3 RS232/IrDA_RX PD6 2 1 JP16 Bootloader_BOOT0

R1IN R2IN R3IN R4IN R5IN nSHDN

4 5 6 7 8 +3V3 22

Doc ID 15082 Rev 3 39/52


1

U12 5 3 4 +3V3 R77 47 R76 5 1 2 6 7 8 SD TxD RxD Anode (VCC2) Cathode VCC1 Vlogic GND TFDU4300 C35 4.7uF C28 100nF C36 4.7uF C29 100nF

IrDA

STMicroelectronics
Title:

Schematics

STM3210C-EVAL RS232&IrDA
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 9 of

Number:MB784 2 3

Figure 26. Smartcard

40/52 Doc ID 15082 Rev 3

Schematics

+3V3 +3V3 R64 R65 10K 10K R71 4K7 U10 1 2 3 4 100nF 5 6 7 100nF 8 9 10 11 12 13 14 CLKDIV1 AUX2UC CLKDIV2 AUX1UC 5V/3V I/OUC PGND XTAL2 C1+ XTAL1 Vddp OFF C1GND Vup Vdd PRES RSTIN PRES CMDVCC I/O PORADJ AUX2 Vcc AUX1 RST CGND CLK ST8024CDR C24 100nF R67 10K 5 6 7 8 GND VCC NC RST I/O CLK NC NC CN5 C816 1 2 3 4 17 18 R70 100K +3V3 28 27 26 25 24 23 22 21 20 19 18 17 16 15 R68 0 TP2 AUX2 TP3 AUX1 PC0 SmartCard_3/5V

PD8 PD10 PE7

SmartCard_IO SmartCard_CLK SmartCard_OFF +3V3 C26 10uF

+5V C25 10uF

C20

R69

C21 100nF

C22

R166

C23 100nF

+3V3 PD9 PE14 SmartCard_RST SmartCard_CMDVCC

R66 10K

STMicroelectronics
Title:

UM0600

STM3210C-EVAL Smart card


Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 10 of

Number:MB784 1 2 3

Figure 27. Motor control

UM0600

+3V3

R146 3K3 MC_EmergencySTOP TP7 AINMC_CurrentA PE15 TP8 AIN+ SB5 R141 0 C64 [N/A] R139 0 C61 1nF MC_UH MC_UL MC_VH MC_VL MC_WH MC_WL PE9 PE8 PE11 PE10 PE13 PE12 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33

Motor control connector


CN17 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_connector PC8 GND GND GND GND GND GND BUS VOLTAGE GND GND GND GND GND Heatsink Temperature Vdd_Micro GND GND Encoder Index 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34

R140 0 C62 100nF R145 100K

PA7 R169 0

R84 PA5 0

MC_BusVoltage

MC_NTC MC_DissipativeBrake R143 0 C65 [N/A] MC_PFCpwm MC_EnA MC_EnB

PD2 PA0 +5V PD15 PC6 PC7

Doc ID 15082 Rev 3 41/52

R142 +3V3 0 C63 100nF

MC_CurrentB

PB0 R167 0

R85 PC0 0

MC_HeatsinkTemperature

MC_CurrentC

PB1 R168 0

R144 0 C66 [N/A]

BNC2 BNC1

Default setting: Open C67 [N/A] JP21

MC_EnIndex

MC_PFCsync2 MC_PFCsync1

PE0 PD14 C71 [N/A] JP22 Default setting: Open C72 [N/A] C69 [N/A] C73 10nF

C68 [N/A]

C70 [N/A]

STMicroelectronics
Title:

Schematics

STM3210C-EVAL Motor control


Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 11 of

Number:MB784 1 2 3

16

Figure 28. I/O peripherals


1 2 3 4

R89 10K R90 10K R91 10K R92 10K R93 10K

100nF

100nF

100nF

100nF

100nF

C52

C53

C54

C55

C56

5 4 3 2 1

5 4 3 2 1

R109
4 1

R114 4K7 User_Button PB9 R104 0


2 3

R115 4K7 Anti_Tamper PC13 R105 0

100 B2 WKUP
3 2

Potentiometer

PC4

R103 0 C60 10nF

R86 1K

2
1

B3 USER
1 4

42/52 Doc ID 15082 Rev 3

Schematics

U15 R108 +3V3 100 2 5 COMMON PD7 R94 330 PD13 LD2 Orange R95 1 680 LD3 Red R96 1 680 LD4 Blue R97 1 680 2 LD1 Green 1

Selection

LED1

To IO expandor JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP

R98 R99 R100 R101 R102

0 0 0 0 0

LED2 3 1 4 6 DWON LEFT RIGHT UP MT008-A LED4

LED3

PD3

PD4

Joystick

LEDs

SB3 SB4 PA7 PB0

+3V3 R112 R113 50 50 C91 100nF 8 7 6 PB6 5 PB7 +3V3 C92 +3V3 U16 1 VDD_IO CS 6 VDD SDO 100nF 3 Reserved GND PB7 13 SDA GND PB6 14 SCL GND 8 INT1 GND 9 INT2 Reserved LIS302DL 7 12 2 10 5 4 11 R106 10K

BNC1 BNC2

U17 1 2 3 4 E0 E1 E2 VSS VCC WC SCL SDA

R107 10K

JP17 MEMS_SDA MEMS_SCK MEMS_INT1 MEMS_INT2 To IO expandor

EEPROM_SCK EEPROM_SDA

M24C64-WMN6 CN10 VB334 CN11 VB334

BNC

EEPROM

MEMS

+3V3

+3V3

+3V3

+3V3

RV1 10K

C59 [N/A] B4 Tamper C58 100nF PA0 R116 330 R117 220K

C57 100nF

Potentiometer

WAKEUP

R110 100

R111 100

STMicroelectronics
Title:

BUTTON
1 2 3

STM3210C-EVAL IO Peripherals
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 12 of

UM0600

Number:MB784

16

Figure 29. Extension connector

UM0600

Pin assignment fixed

Pin assignment fixed

Pin assignment fixed

Pin assignment fixed

Left
CN8 PC7 PC9 PA9 PA0 PA12 PC10 Open by default PC12 PD1 PD3 PD5 PD7 PB3 PB5 PB7 PE2 PE4 PB8 PE6 D5V 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 PC6 PC8 PA8 PA10 PA11 PA13 PA14 PC11 PA15 PD0 PD2 PD4 PD6 D5V PC13 RESET# PD14 PD12 PD10 R87 R88 PB15 PB13 PB11 PE14 PE12 PE10 PE8 PE7 PB1 PC5 PA7 PA4 PA2 PC3 PC1 PC13

Right
CN9 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 PD15 PD13 PD11 PD9 PD8 PB14 PB12 PB10 PE15 PE13 PE11 PE9 PB2 PB0 PC4 PA6 PA5 PA3 PA1 PC2 PC0

PC14 PC15

SB1 SB2

820 820

Doc ID 15082 Rev 3 43/52

PB4 PB6 PE0 PE1 PE3 PE5 PB9 +3V3

Header 25X2

Header 25X2 PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15] RESET#

PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15] RESET#

STMicroelectronics
Title:

Schematics

STM3210C-EVAL Extension connector


Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 13 of

Number:MB784 1 2 3

16

Figure 30. JTAG and trace

44/52 Doc ID 15082 Rev 3

Schematics

+3V3

JP20

R121 R122 R123 10K 10K 10K

R124 10K

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

PA13 PA14 PB3 PA15 PB4

R125 10K CN12 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 CN13 JTAG 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

+3V3

+3V3

KEY

R118 [N/A]

R129 0 R119 [N/A] R130 0 R120 [N/A]

R126 10K

R127 R128

10K 10K

TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK

PE6 PE5 PE4 PE3 PE2

JTAG connector

Trace connector

STMicroelectronics
Title:

STM3210C-EVAL JTAG & Trace


Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 14 of

UM0600

Number:MB784 1 2 3

Figure 31. MicroSD card

UM0600

+3V3

R138 4K7 MicroSDCard_MISO MicroSDCard_SCK MicroSDCard_MOSI MicroSDCard_CS PC11 PC10 PC12 PA4 +3V3 R136 0 R135 0

CN16 PJS008-2000 SMS064FF or SMS128FF

MicroSDCard_Detection

PE0

R137 0

MicroSD card

9 10

Doc ID 15082 Rev 3 45/52

SW2 SW1

1 2 3 4 5 6 7 8

Schematics

STMicroelectronics
Title:

STM3210C-EVAL MicroSD card


Rev: B.3(PCB.SCH) Date: 9/18/2009 Sheet 15 of

Number:MB784

Figure 32. Power


1 2 3 4

JP23 5

+3V3

R156 1(1%)
4

R157

1K(1%)
5 1 2 6

+3V3

S
3

D G

T2 STT5PF20V +3V3 5

U23 74LX1G04CTR

+3V3

5 1 2 6 STT5PF20V +3V3

U9B L1 VDD_MCU BEAD 21 22 50 C76 C87 75 1uF 100nF 100 28 11 VDD_MCU 6 VREF+ VDDA VDD_1 VDD_2 VDD_3 VDD_4 VDD_5 VBAT VREFVSSA VSS_1 VSS_2 VSS_3 VSS_4 VSS_5 20 19 49 74 99 27 10

VREFR147 0

VDD_MCU +3V3 3 2 1 JP24 BT1 CR1220 holder R150 10K(1%) R154 0 R151 20K(1%) R163 0 PC5 C81 100nF C82 100nF C83 100nF C84 100nF C85 100nF +5V VBAT_Voltage

C79 220uF

C79_1 220uF

GND

46/52 Doc ID 15082 Rev 3

Schematics

VDD_MCU

U21 MAX9938FEUK+ U22 3 1 4 3 I/O O/I C GND VCC 74H1G66STR 2 5 R149 4K7 C78 0.47uF R79 0 T1 4 PA6 +3V3 IDD_Measurement

PA0

LP_WAKEUP

U24 1 2 3 4 5 6 7 8 Q12 VCC Q13 Q10 Q14 Q8 Q6 Q9 Q5 CLR Q7 CI Q4 CO GND CO M74HC4060TTR 16 15 14 13 12 11 10 9 C88 1nF

C48 100nF

R152 10K PC13

IDD_CNT_EN

R158 15K

R153 30K

Oscillator frequency 30KHz

C27 U18 ZEN056V130A24LS VREF+ VDDA R155 47 TP13 VREF 1uF C86 100nF CN18 U20 1 2 3 1 3 1 2 Z1 SMAJ5.0A-TR C77 100nF SV CV 3 4 5 6 C74 10uF E5V

DC-10B

SG CG1 CG2 CG3 BNX002-01

+5V 3

U19 LD1086D2M33 Vin Vout 2 C75 10uF

TP10 3V3 +3V3

D5V

E5V JP25 6 4 2 LD7 2 5 3 1

TP11 5V +5V

BARRACUDA_256K

C80 100nF

USB_VBUS

TP12 Ground R148 1K5

U27 LD1117S25TR 3 Vin Vout 2

TP5 2V5 +2V5 red

C51 10uF

STMicroelectronics
Title:

VBAT_DIV From IO expandor

STM3210C-EVAL Power
Rev: B.3(PCB.SCH) Date: 9/18/2009 4 Sheet 16 of

UM0600

Number:MB784 2 3

16

Figure 33. 3.2 LCD module with SPI and 16-bit interface

UM0600

CN1 CS RS WR RD #RESET 1 2 3 4 5 CS RS WR/SCL RD RESET PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 XL XR YD YU 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 31 32 33 34 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 XL XR YD YU Soldered for i80-system 16-bit interface R1 10K VDD

SDO SDI

R2 R3

4K7 4K7

BLGND BL_Control VDD 22 23 24 25 26 27 28 29 30 BL_GND BL_Control VDD VCI GND GND BL_VDD SDO SDI

Soldered for Serial interface only R4 CN2 VSYNC HSYNC DotClk Enable 36 37 38 39 11 CS WR RD RS SDO SDI #RESET VDD 31 34 35 33 10 12 32 40 41 44 43 6 42 45 1 VSYNC HSYNC DOTCLK ENABLE NC CS WR/SCL RD RS SDO SDI RESET VCC VCC LED_A LED_K VSS VSS VSS VSS IM1 IM3 IM0/ID YU YD XR XL D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 8 9 7 5 4 3 2 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 YU YD XR XL PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 RP1 PD16 PD14 PD12 PD10 10K RP2 PD8 PD6 PD4 PD2 10K RP3 PD9 PD0 RS RD 10K RP4 PD17 PD15 PD13 PD11 10K RP5 PD7 PD5 PD3 PD1 C3 1uF/50V 10K 10K 0

BLVDD

SDO SDI

Doc ID 15082 Rev 3 47/52

3.2LCD_connector The 34-pin connector to mother board for both serial & 16bit interface. Compatible with MB694 with Touch screen signals added on Pin 31-34. LCD board connector to Mother board

BLVDD

4.7uH(1A) L1

Z1 A K STPS1L40M U1 8 1 7 3 9 SW Vo Vi NC EN GND FB PGND Rset STLD40DPMR 6 5 4 2 R6 100K R7 10 C1 4.7uF/50V BLGND

C2 2.2uF BLGND

FF0245SS1 AM-240320D4TOQW-T00H(R)

BL_Control R5 0 BLVDD R8 do not fit

BLGND

VDD RP6 BLGND HSYNC Enable VSYNC DotClk

Schematics

STMicroelectronics
Title:

3.2" LCD module with both SPI & 1


Rev: A.1(PCB.SCH) Date: 3/27/2009

Number:MB785

STM3210C-EVAL I/O assignment

UM0600

Appendix A
Table 27.
Pin No. 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

STM3210C-EVAL I/O assignment


STM3210C-EVAL I/O assignment
Pin name PE2 PE3 PE4 PE5 PE6 VBAT PC13-ANTI_TAMP PC14-OSC32_IN Trace_CK Trace_D0 Trace_D1 Trace_D2 Trace_D3 Battery Anti-tamper button / IDD_CNT_EN 32K OSC STM3210C-EVAL I/O assignment

PC15-OSC32_OUT 32K OSC VSS_5 VDD_5 OSC_IN OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA VREFVREF+ VDDA PA0-WKUP PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 GND +3V3 25MHz OSC 25MHz OSC RESET# MC_ADC10 pin 26 (heatsinktemp) / SmartCard_3/5V ETHER_MDC ETHER_TXD2 ETHER_TX_CLK GND GND +3V3 +3V3 ETHER_CRS / IDD_WAKEUP / MC_TIM5_CH1 pin 23 (Dissip_brake) ETHER_RX_CLK ETHER_MDIO ETHER_COL GND +3V3 MicroSD card CS / Audio_DAC MC_ADC5 pin 14 (Bus voltage) IDD_Measure MC_ADC7 pin 15 (Current A)/BNC1

48/52

Doc ID 15082 Rev 3

UM0600 Table 27.


Pin No. 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 PC4 PC5 PB0 PB1 PB2 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VSS_1 VDD_1 PB12 PB13 PB14 PB15 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PC6 PC7 PC8 PC9 PA8

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


Pin name Potentiometer VBAT_measure MC_ADC8 pin 17(Current B)/BNC2 MC_ADC9 pin 19 (Current C) Boot1/ LCD CS SmartCard_OFF MC_TIM1_CH1N pin 5 (UL) MC_TIM1_CH1 pin 3 (UH) MC_TIM1_CH2N pin 9 (VL) / CS_Sdcard MC_TIM1_CH2 pin 7 (VH) MC_TIM1_CH3N pin 13 (WL) MC_TIM1_CH3 pin 11 (WH) SmartCard_CMDVCC MC_TIM1_BKIN pin 1 (STOP) ETHER_RX_ER ETHER_TX_EN GND +3V3 ETHER_TXD0 / Audio_WS ETHER_TXD1 / Audio_CK IO_EXP_INT Audio_SD ETHER_RX_DV / SmartCard_IO ETHER_RXD0 / SmartCard_Reset ETHER_RXD1 / SmartCard_CK ETHER_RXD2 ETHER_RXD3 LED2 MC_TIM3_CH2 pin 27(PFCsync1) MC_TIM3_CH3 pin 29 (PFCpwm) MC_TIM4_CH3 pin 31 (EnA) / Audio MCK MC_TIM4_CH4 pin 33 (EnB) MC_TIM5_CH4 pin 34 (Index) OTG_PPWR MCO STM3210C-EVAL I/O assignment

Doc ID 15082 Rev 3

49/52

STM3210C-EVAL I/O assignment Table 27.


Pin No. 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 PA9 PA10 PA11 PA12 PA13 NC VSS_2 VDD_2 PA14 PA15 PC10 PC11 PC12 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PB3 PB4 PB5 PB6 PB7 BOOT0 PB8 PB9 PE0 PE1 VSS_3 VDD_3 GND +3V3 Debug TCK Debug TDI SCL_Sdcard_LCD MISO_Sdcard_LCD MOSI_Sdcard_LCD CAN1 RX CAN1 TX MC_IO pin21(NTC) LED3 LED4 UART2 TX / IrDA TX UART2 RX / IrDA RX LED1 Debug TDO Debug TRST ETHER_PPS_OUT / CAN2_RX E2P_SCL / Audio_SCL / IO_SCL / Mems_SCL / CAN2_TX E2P_SDA / Audio_SDA / IO_SCL / Mems_SDA BOOT0 ETHER_TXD3 User Button MC_TIM3_ETR pin 27 (PFC SYNC2) / microsdCard_Detect OTG_Overcurrent GND +3V3

UM0600

STM3210C-EVAL I/O assignment (continued)


Pin name OTG_VBUS OTG_ID OTG_DM OTG_DP Debug TMS STM3210C-EVAL I/O assignment

50/52

Doc ID 15082 Rev 3

UM0600

Revision history

Revision history
Table 28.
Date 26-Feb-2009 19-Jun-2009 16-Oct-2009

Document revision history


Revision 1 2 3 Initial release Update for PCB rev.B Update to make schematics searchable Changes

Doc ID 15082 Rev 3

51/52

UM0600

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.

2009 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

52/52

Doc ID 15082 Rev 3

Potrebbero piacerti anche