Stm3210c Eval

Embed Size (px)

DESCRIPTION

evaluation board description

Citation preview

  • October 2009 Doc ID 15082 Rev 3 1/52

    UM0600User manual

    STM3210C-EVALevaluation board

    IntroductionThe 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 (USB-OTG 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

    www.st.com

  • Contents UM0600

    2/52 Doc ID 15082 Rev 3

    Contents

    1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.2 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.3 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    2 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.1 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.2 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.3 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.4 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.5 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.6 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.7 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.8 RS-232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.9 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.10 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132.11 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142.12 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142.13 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152.14 USB-OTG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152.15 MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162.16 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162.17 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172.18 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

    3 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203.1 Motor control connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203.2 Analog input connector CN10 and CN11 . . . . . . . . . . . . . . . . . . . . . . . . . 213.3 CAN D-type 9-pin male connector CN3 and CN4 . . . . . . . . . . . . . . . . . . 213.4 Ethernet RJ45 connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223.5 Trace debugging connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

  • UM0600 Contents

    Doc ID 15082 Rev 3 3/52

    3.6 RS-232 connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233.7 JTAG debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233.8 Daughterboard extension connector CN8 and CN9 . . . . . . . . . . . . . . . . . 243.9 Audio jack CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273.10 TFT LCD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273.11 MicroSD card connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283.12 USB MicroAB connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283.13 Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293.14 Smartcard connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

    4 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

    Appendix A STM3210C-EVAL I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

    Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

  • Overview UM0600

    4/52 Doc ID 15082 Rev 3

    1 Overview

    1.1 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 softwareDemonstration 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 codeTo order the STM32F107VCT evaluation board, use the order code STM3210C-EVAL.

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 5/52

    2 Hardware layout and configuration

    The STM3210C-EVAL evaluation board is designed around the STM32F107VCT in a 100-pin 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

    STM32F107VCT

    DAC

  • Hardware layout and configuration UM0600

    6/52 Doc ID 15082 Rev 3

    Figure 3. STM3210C-EVAL evaluation board layout

    CN17 Motor control

    CN1

    CN6RS-232

    CN2USB MicroAB

    RJ45

    CN8, CN9 Extension header

    CN4CAN2

    CN3CAN1

    U9STM32F107VCT

    CN10, CN11 BNC

    CN12Trace

    CN13JTAG

    CN185V power

    CN7Audio jack

    CN16MicroSD card

    B1Reset

    B2 Wakeup

    CN5

    B4 Tamper U15 Joystick

    B3

    RV1Potentiometer

    U12IrDA

    CN14Color LCD

    connector

    Smartcard

    User key

    connector

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 7/52

    2.1 Power supplyThe 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.

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

    Table 1. Power related jumpersJumper Description Configuration

    JP25

    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)

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

    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 STM3210C-EVAL 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):

    JP24

    Vbat is connected to 3.3 V power when JP24 is set as shown: (Default)

    Vbat is connected to battery when JP24 is set as shown:

    PSU

    DTB

    USB

    PSU

    D

    TB U

    SB

    PSU

    D

    TB U

    SB

    PSU

    D

    TB U

    SB

    1 2 3

    1 2 3

  • Hardware layout and configuration UM0600

    8/52 Doc ID 15082 Rev 3

    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.

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

    Table 2. MCU power consumption measurement related jumpersJumper Description Configuration

    JP1

    PC13 is connected to anti-tamper button when JP1 is set as shown: (Default)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.

    JP14

    PA0 is connected to WUKP button and MCU power consumption measurement circuit as LP_WAKEUP when JP14 is set as shown:

    PA0 is connected to ethernet PHY as signal MII_CRS when JP14 is set as shown: (Default)

    JP23

    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)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

    1 2 3

    1 2 3

    1 2 3

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 9/52

    2.2 Boot optionThe STM3210C-EVAL board is able to boot from: Embedded user Flash System memory with boot loader for ISP Embedded SRAM for debuggingThe 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.

    2.3 Clock sourceTwo 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 sourceThe 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.

    Table 3. Boot related switchesSwitch Boot from Configuration

    SW1 and SW2

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

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

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

    0 < > 1SW2

    0 < > 1SW2

    SW1

    0 < > 1

    SW1

    SW2

    Table 4. Reset related jumper Jumper Description

    JP20Enables 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.

  • Hardware layout and configuration UM0600

    10/52 Doc ID 15082 Rev 3

    2.5 AudioThe 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 EEPROMA 64 Kbit EEPROM connected to the I2C1 bus of STM32F107VCT.

    2.7 CANThe 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 5. EEPROM related jumper Jumper Description

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

    Table 6. CAN1 related jumpersJumper Description Configuration

    JP7

    CAN1 transceiver works in standby mode when JP7 is set as shown:

    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.

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

    Table 7. CAN2 related jumpersJumper Description Configuration

    JP8

    CAN2 transceiver works in standby mode when JP8 is set as shown:

    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.

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

    1 2 3

    1 2 3

    1 2 3

    1 2 3

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 11/52

    2.8 RS-232 and IrDABoth 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.

    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.

    Table 8. RS-232 and IrDA related jumpersJumper Description Configuration

    JP16

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

    USART2_RX is connected to IrDA transceiver and IrDA communication is enabled when JP16 is set as shown:

    JP18 Bootloader_BOOT0 is disconnected from CN6 when JP18 is open. Default setting: Not fitted

    JP19 Bootloader_RESET is disconnected from CN6 when JP19 is open. Default setting: Not fitted

    1 2 3

    1 2 3

  • Hardware layout and configuration UM0600

    12/52 Doc ID 15082 Rev 3

    2.9 Motor controlThe 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. Motor control related jumpers

    Jumper Description ConfigurationMultiplexed 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.

    JP21JP21 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.

    JP10

    MC_EnA is enabled when JP10 is set as shown:

    Audio

    I2S_MCK is enabled when JP10 is set as shown: (Default)

    JP26PE0 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

    MicroSD card

    1 2 3

    1 2 3

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 13/52

    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:

    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 10. Connection between the ST8024 and STM32F107VCT Signals of

    ST8024 DescriptionConnect to

    STM32F107VCT

    5V/3V Smartcard power supply selection pin PC0I/OUC MCU data I/O line PD8

    XTAL1 Crystal or external clock input PD10OFF Detect presence of a card, interrupt to MCU PE7RSTIN Card reset input from MCU PD9

    CMDVCC Start activation sequence input (active low) PE14

    Table 11. Smartcard related jumpersJumper Description Configuration

    JP11

    PD10 is connected to ethernet PHY as signal MII_RXD1 when JP11 is set as shown: (Default)

    PD10 is connected to smartcard interface chip as signal smartcard_CLK when JP11 is set as shown:

    JP12

    PD9 is connected to ethernet PHY as signal MII_RXD0 when JP12 is set as shown: (Default)

    PD9 is connected to smartcard interface chip as signal smartcard_RST when JP12 is set as shown:

    JP13

    PD8 is connected to ethernet PHY as signal MII_RX_DV/RMII_CRSDV when JP13 is set as shown: (Default)

    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

    1 2 3

  • Hardware layout and configuration UM0600

    14/52 Doc ID 15082 Rev 3

    2.11 MicroSD cardThe 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.

    2.12 Analog inputTwo 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. 10 Kohm potentiometer RV1 connected to PC4.2. IDD measurement output signal connected to PA6 for power consumption test in RUN,

    SLEEP and STOP mode.3. 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.

    Table 12. MicroSD card related jumper

    Jumper Description

    JP15

    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.

    JP26PE0 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.

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 15/52

    2.13 EthernetThe 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.

    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-OTGThe 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.

    Table 13. Ethernet related jumpersJumper Description Configuration

    JP2JP2 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

    JP3 should be set as shown when MII interface mode is enabled. (Default)

    JP3 should be set as shown when RMII interface mode is enabled.

    JP4

    25 MHz clock for MII or 50 MHz clock for RMII is provided by MCO at PA8 when JP4 is set as shown: (Default)

    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

    1 2 3

  • Hardware layout and configuration UM0600

    16/52 Doc ID 15082 Rev 3

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

    2.16 Development and debug supportThe two debug connectors available on STM3210C-EVAL evaluation board are:1. CN13, standard 20-pin JTAG interface connector that is compliant with the debug tools

    of ARM7 and ARM9 and cortex M3.2. CN12, SAMTEC 20-pin connector FTSH-110-01-L-DV for both SWD and trace that is

    compliant with ARM CoreSightTM debug tools.

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 17/52

    2.17 Display and input devicesThe 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 modules3.2" TFT LCD with touch screen

    CN14 (default)2.4" TFT LCD CN15

    (optional)Pin on CN14 Description Pin connection Pin on CN15 Description Pin connection

    1 CS PB2 1 CS PB2

    2 RS - 2 SCL PC103 WR/SCL PC10 3 SDI PC124 RD - 4 RS -

    5 RESET RESET# 5 WR -22 BL_GND GND 6 RD -23 BL_control +5V 7 SDO PC11

    24 VDD 3.3V 8 RESET RESET#25 VCI 3.3V 9 VDD 3.3V26 GND GND 10 VCI 3.3V

    27 GND GND 11 GND GND28 BL_VDD +5V 12 GND GND29 SDO PC11 13 BL_VDD 3.3V

    30 SDI PC12 14 BL_Control 3.3V31 XL IO Expander 15 BL_GND GND32 XR IO Expander 16 BL_GND GND

    33 YD IO Expander34 YU IO Expander

  • Hardware layout and configuration UM0600

    18/52 Doc ID 15082 Rev 3

    2.18 IDD measurementFigure 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 23.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. Configure ADC to measure voltage on IDD_measurement pin.2. Configure PA0 as interrupt input on falling edge.3. Enter in Stop or Standby modes with IDD_CNT_EN Low.4. LP_WAKEUP falling edge wakeup the MCU after 100 ms.5. Start ADC conversion as soon as possible after wakeup in order to measure the

    voltage corresponding to Low power mode on 1 uF capacitor.6. 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.

  • UM0600 Hardware layout and configuration

    Doc ID 15082 Rev 3 19/52

    Figure 5. STM3210C-EVAL IDD Low power mode measurement timing diagram

    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.

    Run Stop or Standby IDD measure

    Wake-up Clear CNT

    150ms 300ms 450ms

    MCU mode

    IDD_CNT_EN

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

    0

  • Connectors UM0600

    20/52 Doc ID 15082 Rev 3

    3 Connectors

    3.1 Motor control connector CN17Figure 6. Motor control connector CN17 viewed from above the PCB

    Table 15. Motor control connector CN17

    Description Pin of STM32F107VCTPin number

    of CN17Pin number

    of CN17Pin of

    STM32F107VCT Description

    Emergency stop PE15 1 2 GNDPWM-UH PE9 3 4 GND

    PWM-UL PE8 5 6 GNDPWM-VH PE11 7 8 GND

    PWM-VL PE10 9 10 GNDPWM-WH PE13 11 12 GNDPWM-WL PE12 13 14 PA5 Bus voltagePHASE A current PA7 15 16 GNDPHASE B current PB0 17 18 GNDPHASE C current PB1 19 20 GND

    NTC bypass relay PD2 21 22 GNDDissipative brake PWM PA0 23 24 GND

    +5V power +5V 25 26 PC0 Heat sink temperature PFC SYNC PE0 and PD14 27 28 VDD_Micro

    PFC PWM PD15 29 30 GNDEncoder A PC6 via JP10 31 32 GND

    Encoder B PC7 33 34 PC8 Encoder index

  • UM0600 Connectors

    Doc ID 15082 Rev 3 21/52

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

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

    Table 16. Analog input connector CN10 and CN11Pin number Description Pin number Description

    1 GND 4 GND

    2 GND 5 Analog input PB0 and PA7 for CN10 and CN11 respectively3 GND

    Table 17. CAN D-type 9-pin male connector CN3 and CN4 Pin number Description Pin number Description

    1,4,8,9 NC 7 CANH

    2 CANL 3,5,6 GND

  • Connectors UM0600

    22/52 Doc ID 15082 Rev 3

    3.4 Ethernet RJ45 connector CN1Figure 9. Ethernet RJ45 connector CN1 viewed from the front

    3.5 Trace debugging connector CN12Figure 10. Trace debugging connector CN12 viewed from above the PCB

    Table 18. RJ45 connector CN1Pin number Description Pin number Description

    1 TxData+ 2 TxData-

    3 RxData+ 4 Shield

    5 Shield 6 RxData-7 Shield 8 Shield

    Table 19. Trace debugging connector CN12Pin number Description Pin number Description

    1 3.3V power 2 TMS/PA133 GND 4 TCK/PA145 GND 6 TDO/PB3

    7 KEY 8 TDI/PA159 GND 10 RESET#11 GND 12 TraceCLK/PE2

    13 GND 14 TraceD0/PE3 or SWO/PB315 GND 16 TraceD1/PE4 or nTRST/PB4

    17 GND 18 TraceD2/PE519 GND 20 TraceD3/PE6

    19 17 15 13 11 9 7 5 3 1

    18 16 14 12 1020 8 6 4 2

  • UM0600 Connectors

    Doc ID 15082 Rev 3 23/52

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

    3.7 JTAG debugging connector CN13Figure 12. JTAG debugging connector CN13 viewed from above the PCB

    Table 20. RS-232 connector CN6 with ISP supportPin number Description Pin number Description

    1 Bootloader_RESET 6 NC2 RS232_RX (PD6) 7 NC3 RS232_TX (PD5) 8 Bootloader_BOOT04 NC 9 NC5 GND

    Table 21. JTAG debugging connector CN13Pin number Description Pin number Description

    1 3.3V power 2 3.3V power

    3 PB4 4 GND5 PA15 6 GND7 PA13 8 GND

    9 PA14 10 GND11 RTCK 12 GND13 PB3 14 GND

    15 RESET# 16 GND17 DBGRQ 18 GND19 DBGACK 20 GND

    19 17 15 13 11 9 7 5 3 1

    18 16 14 12 1020 8 6 4 2

  • Connectors UM0600

    24/52 Doc ID 15082 Rev 3

    3.8 Daughterboard extension connector CN8 and CN9Two 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. Daughterboard extension connector CN8Pin Description Alternative function How to disconnect with function block on STM3210C-EVAL

    1 GND -3 PC7 MC Disconnect STM3210C-EVAL board from motor power drive board

    5 PC9 USB power switch On Remove R367 PA9 USB VBUS Remove R78

    9 PA0 MC/Ethernet/WKUP Keep JP14 open. Disconnect STM3210C-EVAL board from motor power drive board.11 PC14 via SB1 32kHz oscillator Remove R161, close SB113 PA12 USB_DP Remove R43 or disconnect USB cable

    15 PC15 via SB2 32kHz oscillator Remove R59, close SB217 PC10 SPI1_CLK19 GND -

    21 PC12 SPI1_MOSI23 PD1 CAN1_TX25 PD3 LD3 Remove R96

    27 PD5 USART2_TX29 PD7 LD1 Remove R94

    31

    33 PB3 TDO/SWO35 PB5 CAN2_RX Remove R4537 PB7 I2C1_SDA Remove R132

    39 GND -41 PE2 Trace_CK43 PE4 Trace_D1

    45 PB8 MC Disconnect STM3210C-EVAL board from motor power drive board

  • UM0600 Connectors

    Doc ID 15082 Rev 3 25/52

    47 PE6 Trace_D3

    49 D5V

    2 PC6 I2S_MCK/MC JP10 open4 PC8 MC Disconnect STM3210C-EVAL board from motor power drive board

    6 PA8 MCO JP4 open8 PA10 USB_ID Remove R38 or disconnect USB cable10 GND

    12 PA11 USB_DM Remove R42 or disconnect USB cable14 PA13 TMS/SWDIO16 PA14 TCK/SWCLK

    18 PC11 SPI1_MISO Remove R135 and LCD20 PA15 TDI

    22 PD0 CAN1_RX Remove R4424 PD2 MC Disconnect STM3210C-EVAL board from motor power drive board.26 PD4 LD4 Remove R97

    28 PD6 USART2_RX Keep JP16 open30 GND32

    34 PB4 TRST Keep JP20 open36 PB6 CAN2_TX/ I2C1_SCK Keep JP9 open

    38 PE0 MC/MicroSD card detectionRemove MicroSD card. Disconnect STM3210C-EVAL board from motor power drive board.

    40 PE1 USB_Ove-current Remove R3542 PE3 Trace_D0

    44 PE5 Trace_D2

    46 PB9 User Button Remove R104

    48 3V3

    50 GND

    Table 22. Daughterboard extension connector CN8 (continued)Pin Description Alternative function How to disconnect with function block on STM3210C-EVAL

  • Connectors UM0600

    26/52 Doc ID 15082 Rev 3

    Table 23. daughterboard extension connector CN9Pin Description Alternative function How to disconnect with component on STM3210C-EVAL board

    1 GND -

    3 PD14 MC Keep JP22 open. Disconnect STM3210C-EVAL board from motor power drive board.

    5 PD12 Ethernet Remove RS27 PD10 Ethernet/Smartcard Keep JP11 open

    9 PC13 button B3IDD_CNT_EN / Anti-tamper button B4 Keep JP1 open

    11 RESET# -13 PB15 I2S_DIN

    15 PB13 I2S_CK / Ethernet Remove RS317 PB11 Ethernet Remove RS3

    19 D5V -

    21 PE14 Smartcard_CMDVCC Remove R16623

    25 PE12 MCDisconnect STM3210C-EVAL board from motor power drive board27 PE10 MC

    29 PE8 MC

    31 PE7 Smartcard_OFF Remove R6933 PB1 MC Remove R16835 PC5 VBAT_voltage Remove R15437 PA7 MC Remove R16939 GND

    41 PA4 MicroSD card / Audio_DAC Keep JP15 open

    43 PA2 Ethernet Remove R162

    45 PC3 Ethernet Remove RS1

    47 PC1 Ethernet

    49 PC13 IDD_CNT_EN / Anti-tamper button B4 Keep JP1 open

    2 PD15 MC Disconnect STM3210C-EVAL board from motor power drive board4 PD13 LD2 Remove R95

    6 PD11 Ethernet Remove RS1

    8 PD9 Ethernet / Smartcard Keep JP12 open10 GND12 PD8 Ethernet / Smartcard Keep JP13 open

    14 PB14 IO_Expandor_INT Remove R159

  • UM0600 Connectors

    Doc ID 15082 Rev 3 27/52

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

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

    16 PB12 Ethernet / Audio Remove RS3

    18 PB10 Ethernet Remove RS220 PE15 MC Remove R13922 PE13 MC Disconnect STM3210C-EVAL board from motor power drive board

    24

    26 PE11 MCDisconnect STM3210C-EVAL board from motor power drive board

    28 PE9 MC

    30 GND32 PB2 MC Remove R16834 PB0 MC Remove R167

    36 PC4 Potentiometer Remove R10338 PA6 IDD_Measurement Remove R79

    40 PA5 MC Remove R8442 PA3 MC / Ethernet Keep JP10 open44 PA1 Ethernet Keep JP3 open

    46 PC2 Ethernet Remove RS148 PC0 MC / Smartcard Remove R16550 GND

    Table 23. daughterboard extension connector CN9 (continued)Pin Description Alternative function How to disconnect with component on STM3210C-EVAL board

  • Connectors UM0600

    28/52 Doc ID 15082 Rev 3

    3.11 MicroSD card connector CN16Figure 13. MicroSD card connector CN16 viewed from the front

    3.12 USB MicroAB connector CN2Figure 14. USB MicroAB connector CN2 viewed from the front

    Table 24. MicroSD card connector CN16Pin number Description Pin number Description

    1 6 Vss/GND2 MicroSDcard_CS (PA4) 7 MicroSDcard_DOUT(PC11)3 MicroSDcard_DIN(PC12) 84 +3V3 9 GND5 MicroSDcard_CLK (PC10) 10 MicroSDcard_detect (PE0)

    Table 25. USB MicroAB connector CN2 Pin number Description Pin number Description

    1 VBUS (PA9) 4 ID (PA10)2 D- (PA11) 5 GND3 D+ (PA12)

  • UM0600 Connectors

    Doc ID 15082 Rev 3 29/52

    3.13 Power connector CN18Your 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

    3.14 Smartcard connector CN5 Figure 16. Smartcard connector CN5

    GND

    DC +5V

    Table 26. Smartcard connector CN5Pin number Description Pin number Description

    1 VCC 5 GND

    2 RST 6 NC3 CLK 7 I/O4 NC 8 NC

    17 Detection pin of card presence 18 Detection pin of card presence

    5 6 7 8

    1 2 3 4

    17 18

  • Schematics UM0600

    30/52 Doc ID 15082 Rev 3

    4 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

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 331/52

    Figure 17. STM3210C

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH)Date:9/18/2009MB784 1 16

    STM3210C-EVAL

    I2S_CMDI2S_DINI2S_CK

    Audio_SCKAudio_SDA

    Audio_RST

    I2S_MCK

    Audio_DAC_OUT

    U_AudioAudio.SchDoc

    CAN1_TXCAN1_RX

    CAN2_TXCAN2_RX

    U_CANCAN.SchDoc

    MII_TXD0

    MII_TX_EN

    MII_TX_CLK

    MII_RXD0

    MII_RX_ERMII_RX_DV/RMII_CRSDV

    MII_RX_CLK/RMII_REF_CLK

    MII_COLMII_CRS

    MII_MDCMII_MDIO

    MCOPHY_RESET#

    MII_TXD1MII_TXD2MII_TXD3

    MII_RXD1MII_RXD2MII_RXD3

    MII_INT

    U_EthernetEthernet.SchDoc

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

    U_ExtensionConnectorExtensionConnector.SchDoc

    BNC1BNC2

    LED4LED3

    LED1LED2

    Potentiometer

    JOY_SELJOY_DOWNJOY_LEFT

    JOY_RIGHTJOY_UP

    Anti_TamperWAKEUPUser_Button

    EEPROM_SCKEEPROM_SDAMEMS_SCKMEMS_SDA

    MEMS_INT1MEMS_INT2

    U_IO PeripheralsIO Peripherals.SchDoc

    TDIRESET#

    TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CK

    TRSTTMS/SWDIOTCK/SWCLK

    TDO/SWO

    U_JTAG&TraceJTAG&Trace.SchDoc

    LCD_CSLCD_CLK

    LCD_DO

    LCD_DIRESET#

    TouchScreen_X+TouchScreen_X-TouchScreen_Y+TouchScreen_Y-

    U_LCDLCD.SchDoc

    USB_PowerSwitchOn

    USB_VBUS

    USB_DMUSB_DPUSB_ID

    MII_TX_EN

    MII_TX_CLK

    MII_RX_ERMII_RX_DV/RMII_CRSDV

    MII_COLMII_CRS

    MII_MDCMII_MDIO

    IO_Expandor_INT

    CAN1_TXCAN1_RX

    CAN2_TXCAN2_RX

    USART2_TXUSART2_RX

    SmartCard_3/5VSmartCard_IOSmartCard_RSTSmartCard_CLK

    SmartCard_OFF

    SmartCard_CMDVCC

    I2S_CMDI2S_DINI2S_CK

    I2C1_SCKI2C1_SDA

    I2S_MCK

    MC_WLMC_VHMC_VLMC_UHMC_ULMC_WHMC_NTC

    MC_DissipativeBrakeMC_PFCpwm

    MC_EnAMC_EnB

    MC_HeatsinkTemperatureMC_BusVoltage

    MC_EnIndex

    MC_EmergencySTOPMC_CurrentAMC_CurrentBMC_CurrentC

    MC_PFCsync1MC_PFCsync2

    LCD_CS

    RESET#

    LED4LED3

    LED1LED2

    PotentiometerAnti_Tamper

    WAKEUPUser_Button

    TDI

    TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CK

    TRSTTMS/SWDIOTCK/SWCLKTDO/SWO

    IDD_Measurement

    IDD_CNT_EN

    VBAT_Voltage_OUT

    SPI3_SCK

    SPI3_MISO

    SPI3_MOSI

    MicroSDCard_CS

    USB_OverCurrent

    MicroSDCard_Detection

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

    MII_TXD0

    MII_RXD0

    MII_TXD1MII_TXD2MII_TXD3

    MII_RXD1MII_RXD2MII_RXD3

    MII_RX_CLK/RMII_REF_CLK

    MCO

    Bootloader_RESETBootloader_BOOT0

    Audio_DAC_OUT

    U_MCUMCU.SchDoc

    MicroSDCard_SCK

    MicroSDCard_MISO

    MicroSDCard_MOSIMicroSDCard_CS

    MicroSDCard_Detection

    U_MicroSDCardMicroSDCard.SchDoc

    MC_EmergencySTOPMC_CurrentAMC_CurrentBMC_CurrentC

    MC_PFCsync1MC_PFCsync2MC_WLMC_VHMC_VLMC_UHMC_ULMC_WHMC_NTCMC_DissipativeBrakeMC_PFCpwm

    MC_EnAMC_EnBMC_HeatsinkTemperatureMC_BusVoltageMC_EnIndex

    BNC1BNC2

    U_MotorControlMotorControl.SchDoc

    IDD_Measurement

    IDD_CNT_EN

    VBAT_VoltageLP_WAKEUPVBAT_DIV

    USB_VBUS

    U_PowerPower.SchDoc

    SmartCard_3/5VSmartCard_IO

    SmartCard_RSTSmartCard_CLK

    SmartCard_OFF

    SmartCard_CMDVCC

    U_SmartCardSmartCard.SchDoc

    RS232/IrDA_TXRS232/IrDA_RX

    Bootloader_RESETBootloader_BOOT0

    U_USART&IrDAUSART&IrDA.SchDoc

    USB_PowerSwitchOn

    USB_OverCurrentUSB_VBUS

    USB_DMUSB_DPUSB_ID

    U_USB_OTG_FSUSB_OTG_FS.SchDoc

    IO_Expandor_SCKIO_Expandor_SDAIO_Expandor_INT

    TouchScreen_X+TouchScreen_X-TouchScreen_Y+TouchScreen_Y-

    EXP_IO2EXP_IO3EXP_IO4EXP_IO5EXP_IO6EXP_IO7EXP_IO8EXP_IO9EXP_IO10EXP_IO11EXP_IO12

    EXP_IO1

    U_IO_ExpandorIO_Expandor.SchDoc

    R132 0R131 0

    R1344K7

    R1334K7

    +3V3

    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.

  • Schematics

    UM0600

    32/52 D

    oc ID 15082

    Rev 3

    Figure 18. MCU

    1

    1

    2

    2

    3

    3

    4

    4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:10/10/2009MB784 2 16

    STM3210C-EVAL MCU

    PE2 1PE3 2PE4 3PE5 4PE6 5

    PC13-ANTI_TAMP 7PC14-OSC32_IN 8

    PC15-OSC32_OUT 9

    OSC_IN12

    OSC_OUT13

    NRST14

    PC0 15PC1 16PC2 17PC3 18

    PA0-WKUP23

    PA124

    PA225

    PA326

    PA429

    PA530

    PA631

    PA732

    PC4 33PC5 34

    PB035

    PB136

    PB237

    PE7 38PE8 39PE9 40PE10 41PE11 42PE12 43PE13 44PE14 45PE15 46

    PB1047

    PB1148

    PB1251

    PB1352

    PB1453

    PB1554

    PD8 55PD9 56PD10 57PD11 58PD12 59PD13 60PD14 61PD15 62

    PC6 63PC7 64PC8 65PC9 66

    PA867

    PA968

    PA1069

    PA1170

    PA1271

    PA1372

    NC73

    PA1476

    PA1577

    PC10 78PC11 79PC12 80

    PD0 81PD1 82PD2 83PD3 84PD4 85PD5 86PD6 87PD7 88

    PB389

    PB490

    PB591

    PB692

    PB793

    BOOT094

    PB895

    PB996

    PE0 97PE1 98

    U9A

    STM32F107VCT

    USB_PowerSwitchOn

    USB_VBUS

    USB_DMUSB_DP

    USB_ID

    MII_TX_EN

    MII_TX_CLK

    MII_RX_ER

    MII_RX_DV/RMII_CRSDV

    MII_COL

    MII_CRS

    MII_MDC

    MII_MDIO

    IO_Expandor_INT CAN1_TXCAN1_RX

    CAN2_TXCAN2_RX

    USART2_TXUSART2_RX

    SmartCard_3/5V

    SmartCard_IO

    SmartCard_RST

    SmartCard_CLK

    SmartCard_OFF

    SmartCard_CMDVCC

    I2S_CMD

    I2S_DIN

    I2S_CK

    I2C1_SCKI2C1_SDA

    I2S_MCK

    MC_WLMC_VHMC_VLMC_UHMC_UL

    MC_WH

    MC_NTC

    MC_DissipativeBrake

    MC_PFCpwm

    MC_EnA

    MC_EnB

    MC_HeatsinkTemperature

    MC_BusVoltage

    MC_EnIndex

    MC_EmergencySTOP

    MC_CurrentA

    MC_CurrentBMC_CurrentC MC_PFCsync1

    MC_PFCsync2

    LCD_CS

    LED4LED3

    LED1

    LED2

    Potentiometer

    Anti_Tamper

    WAKEUP

    User_Button

    TDI

    TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CK

    TRST

    TMS/SWDIOTCK/SWCLK

    TDO/SWO

    IDD_CNT_EN

    VBAT_Voltage_OUT

    SPI3_SCKSPI3_MISOSPI3_MOSI

    MicroSDCard_CS

    PE0PE1PE2PE3PE4PE5PE6PE7PE8PE9PE10PE11PE12PE13PE14PE15

    PC0PC1PC2PC3PC4PC5PC6PC7PC8PC9PC10PC11PC12PC13

    USB_OverCurrent

    MicroSDCard_Detection

    PA[0..15] PA[0..15]

    PB[0..15] PB[0..15]

    PC[0..15] PC[0..15]

    PD[0..15] PD[0..15]

    PE[0..15] PE[0..15]

    MII_TXD0MII_RXD0

    MII_TXD1

    MII_TXD2

    MII_TXD3

    MII_RXD1MII_RXD2MII_RXD3

    MII_RX_CLK/RMII_REF_CLK

    MCO

    1

    4 3

    2B1

    RESET

    R62[N/A]

    +3V3C15

    100nF

    C19

    20pF

    C1820pF

    X325MHz (with socket)

    R63220

    R6110K

    +3V3

    231

    SW209.03290.01

    RESET#

    R60 10K

    +3V3

    23

    1 SW1

    09.03290.01

    32

    1

    JP14

    4 1

    3 2

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

    C1710pF

    C1610pF

    R590

    PC14PC15

    Jumper configuration:

    default set/ feature enabled another set/ feature enabled==================================================JP1: 23 / Anti_Temper 12 / MCU current measurementJP9: close / I2C device open / CAN2JP10: 12 / I2S Audio 23 / MCJP11: 23 / Ethernet 12 / SmartcardJP12: 23 / Ethernet 12 / SmartcardJP13: 23 / Ethernet 12 / SmartcardJP14: 12 / Ethernet 23 / WKUP & MCJP15: close / SDcard CS open / output for audio DACJP18: open/ BL_Boot0 disabled close / BL_Boot0JP19: open/ BL_Reset disabled close / BL_Reset

    PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11PA12PA13PA14PA15

    PB0PB1PB2PB3PB4PB5PB6PB7PB8PB9PB10PB11PB12PB13PB14PB15 PD0

    PD1PD2PD3PD4PD5PD6PD7PD8PD9PD10PD11PD12PD13PD14PD15

    32

    1

    JP1

    R1610

    TP4PTP_PPS

    R1650

    IDD_Measurement

    Bootloader_BOOT0

    Bootloader_RESET

    D11N4148

    D2

    1N4148

    32

    1

    JP10

    32

    1

    JP11

    32

    1

    JP12

    32

    1

    JP13

    JP9

    R780

    JP15

    Audio_DAC_OUT

    JP18

    JP19

    JP26

    TP6MCO

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 333/52

    Figure 19. Ethernet

    STMicroelectronicsTitle:

    Number: Rev: Sheet B.3(PCB.SCH) Date:9/18/2009MB784 3

    STM3210C-EVAL Ethernet

    MII_TXD0MII_TX_EN

    MII_TX_CLK

    MII_RXD0

    MII_RX_ER

    MII_RX_DV/RMII_CRSDV

    MII_RX_CLK/RMII_REF_CLK

    MII_COL

    MII_CRS

    MII_MDCMII_MDIO

    X125MHz (with socket)

    C1022pF

    C922pF

    12

    3

    JP4

    MCO

    EN1 GND 2OUT 3VCC4

    U2

    SM7745HEV-50.0M (do not fit)

    +3V3

    R3210K

    PHY_RESET#

    R300

    JP2R22K2

    +3V3

    +3V3

    R314.87K

    R6 2K2

    +3V3R7 2K2

    C3100nF

    C4100nF

    C5100nF

    C1110uF

    R12K2

    MII_TXD1

    MII_TXD2MII_TXD3

    MII_RXD1

    MII_RXD2MII_RXD3

    TX_CLK1

    TX_EN2

    TXD_03

    TXD_14

    TXD_25

    TXD_3/SNI_MODE6

    PWR_DOWN/INT7

    NC 8NC 9NC 10NC 11NC 12RD- 13RD+ 14

    AGND 15

    TD- 16TD+ 17

    PFBIN118

    AGND 19

    NC 20NC 21

    AVDD33 22

    PFBOUT23

    RBIAS24

    25MHz_OUT25

    LED_ACT/COL/AN_EN 26LED_SPEED/AN1 27LED_LINK/AN0 28

    RESET_N29

    MDIO30MDC31

    IOVDD33 32X233

    X134

    IOGND 35

    DGND 36

    PFBIN237

    RX_CLK38RX_DV/MII_MODE39

    CRS/CRS_DV/LED_CFG40

    RX_ER/MDIX_EN41

    COL/PHYAD042

    RXD_0/PHYAD143

    RXD_1/PHYAD244

    RXD_2/PHYAD345

    RXD_3/PHYAD446

    IOGND 47

    IOVDD33 48

    U1

    DP83848CVV

    +3V3

    C6100nF

    C7100nF

    C8100nF

    +3V3

    R81K5

    12

    3

    JP3

    TP125MHz

    TD+1

    TCT4

    TD-2

    RD+3

    RCT5

    RD-6

    NC7

    CHS GND8

    LED(green)_A9

    LED(green)_K10

    LED(Yellow)_A12

    LED(Yellow)_K11

    Shield13

    Shield14

    CN1

    J0011D21B

    R13240

    R14240

    +3V3

    C1100nF

    C2100nF

    MII RMII====================JP2 open closeJP3 23 12JP4 23 23

    External 25MHz crystal mode=====================JP4 12 (MCO pin free for another application)

    +3V3MII_INT R41 0

    R162 0 Second source: SI-60116-F

    PC3

    PB11PB12PB13

    PC2PB8

    PD9PD10

    PD11PD12

    PB10

    PD8

    PA3

    PA0

    PC1PA2

    PA1

    PA8

    To IO expandor

    RS133

    RS233

    RS3

    33

    +3V3

    Unused in RMII mode

    RS6

    2K2

    RS550

    RS4

    33

  • Schematics

    UM0600

    34/52 D

    oc ID 15082

    Rev 3

    Figure 20. Full speed USB-OTG

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009MB784 4

    STM3210C-EVAL USB_OTG_FS

    +5V

    +3V3

    R4010K

    USB_PowerSwitchOn

    USB_OverCurrent

    R3447K

    +3V3

    R39330

    12

    LD6Green

    12

    LD5Red

    R33680

    USB_VBUSUSB_DMUSB_DPUSB_ID

    C124.7uF

    R36 0

    R42 22R43 22

    R38 0

    R35 0GND2

    IN5

    EN4OUT 1

    FAULT 3U3

    TPS2041BDBV

    PC9

    PA9

    PE1

    PA11PA12PA10

    VBUS1

    DM2

    DP3

    ID4

    GND5

    Shield0 USB

    _Micro-A

    Breceptacle

    CN2

    475900001

    3

    2

    1

    T39013Dz

    A2

    ID A3

    Pd1 B1

    PupB2

    VbusB3

    D+in C1

    Pd2 C2

    D+outC3

    D-in D1

    GND D2

    D-outD3

    U4

    EMIF02-USB03F2

    R447K

    +3V3

    R5[N/A]

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 335/52

    Figure 21. Audio

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009MB784 5 16

    STM3210C-EVAL Audio

    I2S_CMDI2S_DINI2S_CKR74

    10K

    Audio_SCKAudio_SDA

    R7251

    12

    U25

    KSS-1508 or KSSG1708R82 0Audio_RST

    I2S_MCK PC6

    PB15PB12

    PB13

    PB6PB7

    +5V

    I2C address 0x94

    C461uF

    C471uF

    C41100nF

    SDA1

    SCL2

    A03

    SPKR_OUTA+ 4

    VP 5

    SPKR_OUTA- 6

    SPKR_OUTB+ 7

    VP 8SPKR_OUTB- 9

    -VHPFILT10

    FLYN11

    FLYP12

    +VHP13

    HP/LINE_OUTB 14HP/LINE_OUTA 15

    VA16

    AGND 17FILT+ 18

    VQ 19TSTO20

    AIN4A 21AIN4B 22AIN3A 23AIN3B 24AIN2A 25AIN2B 26

    AFILTA 27AFILTB 28

    AIN1A 29AIN1B 30

    SPKR/HP 31

    RESET32

    VL33

    VD34

    DGND35

    TSTO36

    MCLK37

    SCLK38

    SDIN39

    LRCK40

    GND/Thermal Pad0

    U13

    CS43L22

    C451uF

    C40100nF

    C39100nF

    +2V5

    C42100nF

    +3V3

    C491uF

    C501uF

    C93150pF(COG)

    C94150pF(COG)

    C38100nF

    C430.022uF

    R7351

    C440.022uF

    C37100nF

    R7547K

    +2V5

    1

    2

    3

    4

    56

    CN7

    ST-212-02V

    From IO expandor

    Audio_DAC_OUTR80100

    R81100K

    C95

    1uF

    R830

  • Schematics

    UM0600

    36/52 D

    oc ID 15082

    Rev 3

    Figure 22. LCD

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    LCD_CS

    LCD_CLK

    LCD_DOLCD_DI

    RESET#

    TouchScreen_X+TouchScreen_X-

    TouchScreen_Y+TouchScreen_Y-

    CS1

    RS2

    WR/SCL3

    RD4

    RESET5

    VDD24

    VCI25

    GND26

    GND27

    BL_VDD28

    BL_Control23BL_GND22

    PD1 6

    PD2 7

    PD3 8

    PD4 9

    PD5 10

    PD6 11

    PD7 12

    PD8 13

    PD10 14

    PD11 15

    PD12 16

    PD13 17

    PD14 18

    PD15 19

    PD16 20

    PD17 21

    SDO29

    SDI30 XL 31

    XR 32

    YD 33

    YU 34

    CN14

    3.2" LCD_connector (MB785 with AM-240320D4TOQW-T00H(R))

    CS1

    SCL2

    SDI3

    RS4

    WR5

    RD6

    RESET8

    VDD9

    VCI10

    SDO7

    GND11

    GND12

    BL_VDD13

    BL_Control14

    BL_GND15

    BL_GND16

    CN15

    2.4" LCD connector (MB542 with AM240320L8TNQW-00H)

    +3V3

    +3V3

    +5V

    +3V3+5V

    MB784 6

    STM3210C-EVAL LCD

    PB2

    PC10

    PC11PC12

    To IO expandor

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 337/52

    Figure 23. I/O expander

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009MB784 7

    STM3210C-EVAL IO_Expandor

    Y- 1

    INT2

    A0/Data Out3

    SCLK4

    SDAT5

    VCC6

    Data in7

    IN0 8IN1 9

    GND10

    IN2 11IN3 12X+ 13

    Vio14

    Y+ 15X- 16

    U7

    STMPE811

    Y- 1

    INT2

    A0/Data Out3

    SCLK4

    SDAT5

    VCC6

    Data in7

    IN0 8IN1 9

    GND10

    IN2 11IN3 12X+ 13

    Vio14

    Y+ 15X- 16

    U8

    STMPE811R5610K

    +3V3

    I2C device address:0x82

    I2C device address:0x88

    +3V3

    +3V3

    R57100K

    R58100K

    IO_Expandor_SCKIO_Expandor_SDAIO_Expandor_INT

    TouchScreen_X+

    TouchScreen_X-TouchScreen_Y+

    TouchScreen_Y-

    EXP_IO2EXP_IO3EXP_IO4EXP_IO5EXP_IO6EXP_IO7EXP_IO8

    EXP_IO9EXP_IO10EXP_IO11EXP_IO12

    EXP_IO1

    R16010K

    R159 0

    +3V3

    R3710K

    R16410K

    +3V3

    C89100nF

    C90100nF

    PB6PB7PB14

  • Schematics

    UM0600

    38/52 D

    oc ID 15082

    Rev 3

    Figure 24. CAN

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    D1

    GND2

    VCC3

    R4 Vref 5CANL 6CANH 7

    RS 8U5

    SN65HVD230

    +3V3

    +3V3

    R52120

    JP5

    32

    1

    JP7

    R4610K

    +3V3

    C13

    100nF

    R480

    R440

    CAN1_TX

    CAN1_RX

    R490

    R54[N/A]

    Default setting: 12Default setting: Open

    D1

    GND2

    VCC3

    R4 Vref 5CANL 6CANH 7

    RS 8U6

    SN65HVD230

    +3V3

    +3V3

    R53120

    JP6

    32

    1

    JP8

    R4710K

    +3V3

    C14

    100nF

    R500

    R450

    CAN2_TX

    CAN2_RX

    R510

    R55[N/A]

    Default setting: 12Default setting: Open

    MB784 8

    STM3210C-EVAL CAN

    162738495

    CN3DB9-male CAN connector

    162738495

    CN4DB9-male CAN connector

    PD1

    PD0

    PB6

    PB5

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 339/52

    Figure 25. RS-232 and IrDA

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    RS232/IrDA_TX

    RS232/IrDA_RX

    SD5

    TxD3

    GND8

    Anode (VCC2)1

    Cathode2

    RxD4

    VCC16

    Vlogic7

    U12

    TFDU4300

    R76

    5R77

    47

    C28100nF

    C29100nF

    +3V3

    C364.7uF

    C354.7uF

    IrDA

    12

    3

    JP16

    MB784 9

    STM3210C-EVAL RS232&IrDA

    PD5

    PD6

    C2+1

    C2-2 V- 3

    R1IN 4

    R2IN 5

    R3IN 6

    R4IN 7

    R5IN 8

    T1OUT 9

    T2OUT 10

    T3OUT 11T3IN12T2IN13T1IN14

    R5OUT15R4OUT16R3OUT17R2OUT18R1OUT1920202121

    nSHDN 22nEN23

    C1-24 GND 25VCC 26

    V+ 27

    C1+28U11

    ST3241EBPR

    C30100nF

    C31100nF

    C34100nF

    C32100nFC33100nF

    +3V3

    162738495

    CN6DB9-male UART4

    DCD

    RXD

    TXDCTS

    +3V3

    Bootloader_BOOT0

    Bootloader_RESET

    R310K

    +3V3

  • Schematics

    UM0600

    40/52 D

    oc ID 15082

    Rev 3

    Figure 26. Smartcard

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    VCC 1

    RST 2

    CLK 3

    NC 4

    GND5

    NC6

    I/O7

    NC8

    18

    17CN5C816

    CLKDIV11

    CLKDIV22

    5V/3V3

    PGND4

    C1+5

    Vddp6

    C1-7

    Vup8

    PRES9

    PRES10

    I/O11

    AUX212

    AUX113

    CGND14 CLK 15RST 16Vcc 17

    PORADJ 18CMDVCC 19

    RSTIN 20Vdd 21GND 22OFF 23

    XTAL1 24XTAL2 25I/OUC 26

    AUX1UC 27AUX2UC 28

    U10

    ST8024CDR

    C20 100nF

    C21100nF

    C2510uF

    +5V

    C22 100nF

    C24

    100nF

    R70100K

    +3V3

    R714K7

    +3V3

    R6710K

    R6610K

    +3V3

    C23100nF

    C2610uF

    +3V3

    R6410K

    +3V3

    R68 0

    R69 0

    R6510K

    TP2AUX2TP3AUX1

    SmartCard_3/5V

    SmartCard_IO

    SmartCard_RST

    SmartCard_CLKSmartCard_OFF

    SmartCard_CMDVCC

    MB784 10

    STM3210C-EVAL Smart card

    R166 0

    PC0

    PD8

    PD10PE7

    PD9PE14

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 341/52

    Figure 27. Motor control

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    R1463K3

    C611nF

    +3V3

    +3V3+5V

    R1390

    C62100nF

    C63100nF

    R1410C64[N/A]

    C65[N/A]

    C66[N/A]

    C72[N/A]

    C69[N/A]

    C7310nF

    C70[N/A]

    C67[N/A]

    R1430

    R1440

    R1400

    R1420

    JP22

    C71[N/A]

    EMERGENCY STOP1

    MC-UH3

    MC_UL5

    MC_VH7

    MC_VL9

    MC_WH11

    MC_WL13

    CURRENT A15

    CURRENT C19CURRENT B17

    NTC BYPASS RELAY21

    DISSIPATIVE BRAKE23

    +5V POWER25

    PFC SYNC27

    PFC PWM29

    Encoder A31

    Encoder B33

    GND 2

    GND 4

    GND 6

    GND 8

    GND 10

    GND 12

    BUS VOLTAGE 14

    GND 16

    GND 18

    GND 20

    GND 22

    GND 24

    Heatsink Temperature 26

    Vdd_Micro 28

    GND 30

    GND 32

    Encoder Index 34

    CN17

    MC_connector

    MC_EmergencySTOP

    MC_CurrentA

    MC_CurrentB

    MC_CurrentC

    MC_PFCsync1

    MC_PFCsync2

    MC_WL

    MC_VHMC_VL

    MC_UHMC_UL

    MC_WH

    MC_NTCMC_DissipativeBrake

    MC_PFCpwmMC_EnAMC_EnB

    MC_HeatsinkTemperature

    MC_BusVoltage

    MC_EnIndex

    R145100K

    JP21C68[N/A]

    Motor control connector

    Default setting: Open

    Default setting: Open

    BNC1BNC2

    MB784 11 16

    STM3210C-EVAL Motor control

    R1690

    R1670

    R1680

    PE15

    PA7

    PB0

    PB1

    PE0

    PD14

    PE9PE8PE11PE10PE13PE12

    PD2PA0

    PD15PC6PC7

    PA5

    PC0

    PC8

    R840

    R850

    SB5

    TP8

    AIN+

    TP7

    AIN-

  • Schematics

    UM0600

    42/52 D

    oc ID 15082

    Rev 3

    Figure 28. I/O peripherals

    1

    1

    2

    2

    3

    3

    4

    4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    12345

    CN10VB334

    BNC1

    12345

    CN11VB334

    BNC2

    SB4

    R112 50

    R113 50

    SB3

    1 2

    LD3Red

    1 2

    LD2Orange

    1 2

    LD4Blue

    1 2

    LD1Green

    R94330

    R95680

    R96680

    R97680

    LED4

    LED3

    LED1

    LED2

    13

    2 RV110K

    R1030

    +3V3

    Potentiometer

    C6010nF

    R90

    10K

    R91

    10K

    R92

    10K

    R93

    10K

    R89

    10K

    +3V3

    C56

    100nF

    C55

    100nF

    C54

    100nF

    C53

    100nF

    C52

    100nF

    R108100

    COMMON5

    Selection2

    DWON3

    LEFT1

    RIGHT4

    UP6

    U15

    MT008-A

    R117220K

    143 2

    B2WKUPC59

    [N/A]

    +3V3

    R109100R114

    4K7

    1 432

    B3USER C57

    100nF

    +3V3

    R110100

    R1154K7

    1 432

    B4Tamper C58

    100nF

    +3V3

    R111100

    R102 0R101 0R100 0R99 0R98 0

    R116330

    R1040

    R1050

    JOY_SELJOY_DOWNJOY_LEFTJOY_RIGHTJOY_UP

    Anti_Tamper

    WAKEUP

    User_Button

    EEPROM_SCKEEPROM_SDA

    MEMS_SCKMEMS_SDA

    MEMS_INT1MEMS_INT2

    E01

    E12

    E23

    VSS4 SDA 5SCL 6WC 7VCC 8

    U17

    M24C64-WMN6

    +3V3

    R10710K

    JP17 VDD_IO1

    GND 2Reserved3

    GND 4GND 5

    VDD6CS 7

    INT18

    INT29

    GND 10

    Reserved 11

    SDO 12

    SDA13

    SCL14

    U16

    LIS302DL

    +3V3R10610K

    +3V3

    MB784 12 16

    STM3210C-EVAL IO Peripherals

    Joystick LEDs

    BNC EEPROM MEMS

    BUTTON

    Potentiometer

    C91

    100nF

    C92

    100nF

    PD7

    PD13

    PD3

    PD4

    PA7PB0

    PB6PB7

    PB7PB6

    PB9 PC13

    PA0

    PC4

    To IO expandor

    To IO expandor

    R861K

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 343/52

    Figure 29. Extension connector

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    R88820R87820

    1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 50

    CN8

    Header 25X2

    1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 50

    CN9

    Header 25X2

    +3V3D5V

    D5V

    PA[0..15] PA[0..15]

    PB[0..15] PB[0..15]

    PC[0..15] PC[0..15]

    PD[0..15] PD[0..15]

    PE[0..15] PE[0..15]

    RESET# RESET#

    MB784 13 16

    STM3210C-EVAL Extension connector

    Left Right

    PA0

    PA1PA2PA3PA4PA5PA6PA7

    PA8PA9 PA10

    PA11PA12 PA13

    PA14

    PA15

    PB0PB1PB2

    PB3 PB4PB5 PB6PB7

    PB8 PB9

    PB10PB11PB12PB13PB14PB15

    PE0PE1

    PE2 PE3PE4 PE5

    PE6

    PE7PE8

    PE9PE10PE11PE12

    PE13PE14PE15

    PC0PC1PC2PC3

    PC4PC5

    PC6PC7 PC8PC9

    PC10 PC11

    PC12

    PC13PC14

    PC15

    PD0PD1 PD2PD3 PD4PD5 PD6PD7

    PD8

    PD9PD10PD11PD12PD13PD14PD15

    PC13

    RESET#

    Pin assignment fixed Pin assignment fixed

    SB1

    SB2

    Pin assignment fixed Pin assignment fixed

    Open by default

  • Schematics

    UM0600

    44/52 D

    oc ID 15082

    Rev 3

    Figure 30. JTAG and trace

    1 2 3 4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    1234567891011121314151617181920

    CN12FTSH-110-01-L-DV

    +3V3

    R12110K

    R12510K

    R12210K

    R12310K

    R118[N/A]

    +3V3

    1234567891011121314151617181920

    CN13JTAG +3V3

    +3V3

    R127 10K

    R128 10K

    R12610K

    JP20

    R12410K

    R1290R119[N/A]R1300R120[N/A]

    TDI

    RESET#

    TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CK

    TRST

    TMS/SWDIOTCK/SWCLKTDO/SWO

    Trace connector

    JTAG connector

    KEY

    MB784 14

    STM3210C-EVAL JTAG & Trace

    PA13PA14PB3PA15PB4

    PE6PE5PE4PE3PE2

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 345/52

    Figure 31. MicroSD card

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    +3V3

    R1384K7

    +3V3

    R135 0

    R136 0

    MicroSDCard_SCK

    MicroSDCard_MISO

    MicroSDCard_MOSIMicroSDCard_CS

    MicroSD card

    MicroSDCard_DetectionR1370

    1 2 3 4 5 6 7 8SW

    29

    SW1

    10

    CN16PJS008-2000SMS064FF or SMS128FF

    MB784 15

    STM3210C-EVAL MicroSD card

    PC11

    PC10

    PC12PA4

    PE0

  • Schematics

    UM0600

    46/52 D

    oc ID 15082

    Rev 3

    Figure 32. Power

    1

    1

    2

    2

    3

    3

    4

    4

    STMicroelectronicsTitle:

    Number: Rev: Sheet ofB.3(PCB.SCH) Date:9/18/2009

    IDD_Measurement

    IDD_CNT_EN

    VBAT_Voltage

    LP_WAKEUP

    Vin3

    GND

    1

    Vout 2

    U19LD1086D2M33

    C79220uF

    C7510uF

    C80100nF

    +5V

    TP103V3

    SV1

    SG2

    CV 3

    CG1 4

    CG2 5

    CG3 6

    U20

    BNX002-01

    C7410uF

    E5V

    TP115V

    +5V

    R1481K5

    12LD7

    red

    TP12Ground

    1

    32

    CN18

    DC-10BZ1SMAJ5.0A-TR C77

    100nF

    1

    2

    3

    U18ZEN056V130A24LS

    +3V3D5V E5V

    2

    3

    4

    5

    U2374LX1G04CTR

    I/O1 O/I 2

    GND3C4

    VCC 5

    U22

    74H1G66STR+3V3R1561(1%)

    R157 1K(1%)

    3

    4 5

    G

    S D

    1 2 6

    T2STT5PF20V

    3

    4

    5G

    SD 1

    26

    T1

    STT5PF20V

    +3V3

    Q121

    Q132

    Q143

    Q64

    Q55

    Q76

    Q47

    GND8 CO 9CO 10CI 11

    CLR 12Q9 13Q8 14Q10 15VCC 16

    U24

    M74HC4060TTR

    +3V3+3V3

    R15210K

    R1494K7 C78

    0.47uF +3V3

    VDD_MCU

    VBAT6VSS_5 10VDD_511

    VSSA 19VREF- 20VREF+21

    VDDA22

    VSS_4 27VDD_428

    VSS_1 49VDD_150

    VSS_2 74VDD_275

    VSS_3 99VDD_3100

    U9B

    BARRACUDA_256K

    BT1CR1220 holder

    L1

    BEAD C761uF

    C87100nF

    R15547

    R1470

    VDDA

    VDD_MCU

    VREF+

    VREF-

    C86

    100nF

    TP13

    VREF

    32

    1

    JP24

    +3V3

    VDD_MCU

    R15010K(1%)

    R15120K(1%)

    VBAT_DIV

    C81100nF

    C82100nF

    C83100nF

    C84100nF

    C85100nF

    VDD_MCU

    MB784 16 16

    STM3210C-EVAL Power

    12

    3 JP23

    R1540

    USB_VBUS 123456

    JP25

    C881nF

    R15815K

    R15330K

    Oscillator frequency 30KHz

    +3V3

    R790

    R1630

    PA6

    PA0

    PC13

    PC5 Vin3 Vout 2

    1

    U27LD1117S25TR+5V

    C5110uF

    +2V5

    TP52V5

    From IO expandor

    C79_1220uF

    C48100nF

    4

    5

    2

    3

    1 U21MAX9938FEUK+

    C27

    1uF

  • UM0600

    Schematics

    Doc ID

    15082 R

    ev 347/52

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

    STMicroelectronicsTitle:

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

    EnableDotClkHSYNCVSYNC

    CS

    RS

    WRRD

    #RESET

    SDOSDI

    VDD

    PD0PD1PD2PD3PD4PD5PD6PD7PD8PD9PD10PD11PD12PD13PD14PD15PD16PD17

    YUYDXRXL

    VSS1

    XL 2XR 3YD 4YU 5

    VSS6

    IM0/ID 7

    IM1 8

    IM3 9

    SDO10

    NC11

    SDI12

    D17 13D16 14D15 15D14 16D13 17D12 18D11 19D10 20D9 21D8 22D7 23D6 24D5 25D4 26D3 27D2 28D1 29D0 30

    CS31

    RESET32

    RS33

    WR/SCL34

    RD35

    VSYNC36

    HSYNC37

    DOTCLK38

    ENABLE39

    VCC40

    VCC41

    VSS42

    LED_K43LED_A44

    VSS45

    CN2

    FF0245SS1

    R4 0

    R1 10K VDD

    RP1

    10KRP2

    10K

    RP4

    10K

    PD0

    PD2PD4PD6PD8

    PD9

    PD10

    PD11

    PD12

    PD13

    PD14

    PD15

    PD16

    PD17

    Enable

    DotClk

    HSYNC

    VSYNC

    VDD

    C31uF/50V

    R3 4K7R2 4K7

    SDISDO

    RDRS

    Soldered for Serial interface only

    Soldered for i80-system 16-bit interface

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

    CSRSWRRD#RESET

    VDD

    BLGND

    BLVDD

    BL_Control

    PD1PD2PD3PD4PD5PD6PD7PD8

    PD10PD11PD12PD13PD14PD15PD16PD17

    SDOSDI

    AK

    Z1

    STPS1L40M C14.7uF/50V

    L1

    4.7uH(1A)

    R710

    BLGND

    BLVDD

    R6100K

    C22.2uF

    R50

    R8do not fit

    BLVDD

    BL_Control

    BLGND

    BLGND

    BLGND

    AM-240320D4TOQW-T00H(R)

    Vi1

    Rset 2GND3 FB 4

    NC 5Vo 6

    EN7

    SW8

    PGND9

    U1

    STLD40DPMR

    CS1

    RS2

    WR/SCL3

    RD4

    RESET5

    VDD24

    VCI25

    GND26

    GND27

    BL_VDD28

    BL_Control23BL_GND22

    PD1 6

    PD2 7

    PD3 8

    PD4 9

    PD5 10

    PD6 11

    PD7 12

    PD8 13

    PD10 14

    PD11 15

    PD12 16

    PD13 17

    PD14 18

    PD15 19

    PD16 20

    PD17 21

    SDO29

    SDI30 XL 31

    XR 32

    YD 33

    YU 34

    CN1

    3.2LCD_connector

    YUYDXRXL

    LCD board connector to Mother board

    MB785

    3.2" LCD module with both SPI & 1

    RP3

    10K

    RP6

    10K

    RP5

    10K

    PD1PD3PD5PD7

  • STM3210C-EVAL I/O assignment UM0600

    48/52 Doc ID 15082 Rev 3

    Appendix A STM3210C-EVAL I/O assignment

    Table 27. STM3210C-EVAL I/O assignmentPin No. Pin name STM3210C-EVAL I/O assignment

    1 PE2 Trace_CK

    2 PE3 Trace_D0

    3 PE4 Trace_D1

    4 PE5 Trace_D2

    5 PE6 Trace_D3

    6 VBAT Battery

    7 PC13-ANTI_TAMP Anti-tamper button / IDD_CNT_EN

    8 PC14-OSC32_IN 32K OSC9 PC15-OSC32_OUT 32K OSC

    10 VSS_5 GND11 VDD_5 +3V3

    12 OSC_IN 25MHz OSC

    13 OSC_OUT 25MHz OSC14 NRST RESET#15 PC0 MC_ADC10 pin 26 (heatsinktemp) / SmartCard_3/5V16 PC1 ETHER_MDC17 PC2 ETHER_TXD218 PC3 ETHER_TX_CLK

    19 VSSA GND20 VREF- GND21 VREF+ +3V3

    22 VDDA +3V3

    23 PA0-WKUP ETHER_CRS / IDD_WAKEUP / MC_TIM5_CH1 pin 23 (Dissip_brake)24 PA1 ETHER_RX_CLK 25 PA2 ETHER_MDIO26 PA3 ETHER_COL

    27 VSS_4 GND28 VDD_4 +3V3

    29 PA4 MicroSD card CS / Audio_DAC

    30 PA5 MC_ADC5 pin 14 (Bus voltage)31 PA6 IDD_Measure

    32 PA7 MC_ADC7 pin 15 (Current A)/BNC1

  • UM0600 STM3210C-EVAL I/O assignment

    Doc ID 15082 Rev 3 49/52

    33 PC4 Potentiometer

    34 PC5 VBAT_measure35 PB0 MC_ADC8 pin 17(Current B)/BNC236 PB1 MC_ADC9 pin 19 (Current C)37 PB2 Boot1/ LCD CS38 PE7 SmartCard_OFF39 PE8 MC_TIM1_CH1N pin 5 (UL) 40 PE9 MC_TIM1_CH1 pin 3 (UH) 41 PE10 MC_TIM1_CH2N pin 9 (VL) / CS_Sdcard42 PE11 MC_TIM1_CH2 pin 7 (VH)43 PE12 MC_TIM1_CH3N pin 13 (WL) 44 PE13 MC_TIM1_CH3 pin 11 (WH)45 PE14 SmartCard_CMDVCC46 PE15 MC_TIM1_BKIN pin 1 (STOP) 47 PB10 ETHER_RX_ER

    48 PB11 ETHER_TX_EN

    49 VSS_1 GND50 VDD_1 +3V3

    51 PB12 ETHER_TXD0 / Audio_WS52 PB13 ETHER_TXD1 / Audio_CK53 PB14 IO_EXP_INT

    54 PB15 Audio_SD55 PD8 ETHER_RX_DV / SmartCard_IO56 PD9 ETHER_RXD0 / SmartCard_Reset

    57 PD10 ETHER_RXD1 / SmartCard_CK58 PD11 ETHER_RXD2

    59 PD12 ETHER_RXD3

    60 PD13 LED2

    61 PD14 MC_TIM3_CH2 pin 27(PFCsync1)62 PD15 MC_TIM3_CH3 pin 29 (PFCpwm)63 PC6 MC_TIM4_CH3 pin 31 (EnA) / Audio MCK64 PC7 MC_TIM4_CH4 pin 33 (EnB)65 PC8 MC_TIM5_CH4 pin 34 (Index)66 PC9 OTG_PPWR67 PA8 MCO

    Table 27. STM3210C-EVAL I/O assignment (continued)Pin No. Pin name STM3210C-EVAL I/O assignment

  • STM3210C-EVAL I/O assignment UM0600

    50/52 Doc ID 15082 Rev 3

    68 PA9 OTG_VBUS

    69 PA10 OTG_ID 70 PA11 OTG_DM71 PA12 OTG_DP

    72 PA13 Debug TMS73 NC74 VSS_2 GND

    75 VDD_2 +3V3

    76 PA14 Debug TCK77 PA15 Debug TDI78 PC10 SCL_Sdcard_LCD79 PC11 MISO_Sdcard_LCD

    80 PC12 MOSI_Sdcard_LCD81 PD0 CAN1 RX82 PD1 CAN1 TX

    83 PD2 MC_IO pin21(NTC) 84 PD3 LED3

    85 PD4 LED4

    86 PD5 UART2 TX / IrDA TX87 PD6 UART2 RX / IrDA RX88 PD7 LED1

    89 PB3 Debug TDO90 PB4 Debug TRST91 PB5 ETHER_PPS_OUT / CAN2_RX

    92 PB6 E2P_SCL / Audio_SCL / IO_SCL / Mems_SCL / CAN2_TX 93 PB7 E2P_SDA / Audio_SDA / IO_SCL / Mems_SDA94 BOOT0 BOOT0

    95 PB8 ETHER_TXD3

    96 PB9 User Button

    97 PE0 MC_TIM3_ETR pin 27 (PFC SYNC2) / microsdCard_Detect98 PE1 OTG_Overcurrent99 VSS_3 GND100 VDD_3 +3V3

    Table 27. STM3210C-EVAL I/O assignment (continued)Pin No. Pin name STM3210C-EVAL I/O assignment

  • UM0600 Revision history

    Doc ID 15082 Rev 3 51/52

    Revision history

    Table 28. Document revision historyDate Revision Changes

    26-Feb-2009 1 Initial release

    19-Jun-2009 2 Update for PCB rev.B16-Oct-2009 3 Update to make schematics searchable

  • UM0600

    52/52 Doc ID 15082 Rev 3

    Please Read Carefully:

    Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (ST) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, without notice.

    All ST products are sold pursuant to 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 noliability whatsoever relating to the choice, selection or use of the ST products and services described herein.

    No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of thisdocument refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird party products or services or any intellectual property contained therein.

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

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

    ST and the ST logo are trademarks or registered trademarks of ST in various countries.

    Information in this document supersedes and replaces all information previously supplied.

    The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

    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

    Figure 1. STM3210C-EVAL evaluation board1 Overview1.1 Features1.2 Demonstration software1.3 Order code

    2 Hardware layout and configurationFigure 2. Hardware block diagramFigure 3. STM3210C-EVAL evaluation board layout2.1 Power supplyTable 1. Power related jumpersTable 2. MCU power consumption measurement related jumpers

    2.2 Boot optionTable 3. Boot related switches

    2.3 Clock source2.4 Reset sourceTable 4. Reset related jumper

    2.5 Audio2.6 EEPROMTable 5. EEPROM related jumper

    2.7 CANTable 6. CAN1 related jumpersTable 7. CAN2 related jumpers

    2.8 RS-232 and IrDATable 8. RS-232 and IrDA related jumpers

    2.9 Motor controlTable 9. Motor control related jumpers

    2.10 SmartcardTable 10. Connection between the ST8024 and STM32F107VCTTable 11. Smartcard related jumpers

    2.11 MicroSD cardTable 12. MicroSD card related jumper

    2.12 Analog input2.13 EthernetTable 13. Ethernet related jumpers

    2.14 USB-OTG2.15 MEMS2.16 Development and debug support2.17 Display and input devicesTable 14. LCD modules

    2.18 IDD measurementFigure 4. STM3210C-EVAL IDD measurement circuitFigure 5. STM3210C-EVAL IDD Low power mode measurement timing diagram

    3 Connectors3.1 Motor control connector CN17Figure 6. Motor control connector CN17 viewed from above the PCBTable 15. Motor control connector CN17

    3.2 Analog input connector CN10 and CN11Figure 7. Analog input connector CN10 and CN11 viewed from the bottomTable 16. Analog input connector CN10 and CN11

    3.3 CAN D-type 9-pin male connector CN3 and CN4Figure 8. CAN D-type 9-pin male connector CN3 and CN4 viewed from the frontTable 17. CAN D-type 9-pin male connector CN3 and CN4

    3.4 Ethernet RJ45 connector CN1Figure 9. Ethernet RJ45 connector CN1 viewed from the frontTable 18. RJ45 connector CN1

    3.5 Trace debugging connector CN12Figure 10. Trace debugging connector CN12 viewed from above the PCBTable 19. Trace debugging connector CN12

    3.6 RS-232 connector CN6Figure 11. RS-232 connector CN6 with ISP support viewed from the frontTable 20. RS-232 connector CN6 with ISP support

    3.7 JTAG debugging connector CN13Figure 12. JTAG debugging connector CN13 viewed from above the PCBTable 21. JTAG debugging connector CN13

    3.8 Daughterboard extension connector CN8 and CN9Table 22. Daughterboard extension connector CN8Table 23. daughterboard extension connector CN9

    3.9 Audio jack CN73.10 TFT LCD connector CN143.11 MicroSD card connector CN16Figure 13. MicroSD card connector CN16 viewed from the frontTable 24. MicroSD card connector CN16

    3.12 USB MicroAB connector CN2Figure 14. USB MicroAB connector CN2 viewed from the frontTable 25. USB MicroAB connector CN2

    3.13 Power connector CN18Figure 15. Power supply connector CN18 viewed from the front

    3.14 Smartcard connector CN5Figure 16. Smartcard connector CN5Table 26. Smartcard connector CN5

    4 SchematicsFigure 17. STM3210CFigure 18. MCUFigure 19. EthernetFigure 20. Full speed USB-OTGFigure 21. AudioFigure 22. LCDFigure 23. I/O expanderFigure 24. CANFigure 25. RS-232 and IrDAFigure 26. SmartcardFigure 27. Motor controlFigure 28. I/O peripheralsFigure 29. Extension connectorFigure 30. JTAG and traceFigure 31. MicroSD cardFigure 32. PowerFigure 33. 3.2 LCD module with SPI and 16-bit interface

    Appendix A STM3210C-EVAL I/O assignmentTable 27. STM3210C-EVAL I/O assignment

    Revision historyTable 28. Document revision history