Sunteți pe pagina 1din 46

UM0426 User manual

STM3210B-EVAL evaluation board


Introduction
The STM3210B-EVAL is an evaluation board for STMicroelectronics ARMTM Cortex-M3 core-based STM32F10x 128K microcontrollers. It is designed as a complete development environment for the STM32F10x microcontrollers with full speed USB2.0, CAN2.0A/B compliant interface, two I2C channels, two SPI channels, three USART channels with smartcard support, internal 20KB SRAM and 128KB Flash, JTAG and SWD debugging. With a complete range of hardware evaluations features, the STM3210B-EVAL board is designed to help developers evaluate all device peripherals (such as USB, motor control, CAN, MicroSD card, smartcard, USART) and develop their own applications. Extension connectors make it possible to easily connect a daughter board or wrapping board for a specific application. This user manual provides information on using the STM3210B-EVAL board and its hardware features. Figure 1. STM32F10X 128K evaluation board (STM3210B-EVAL)

October 2007

Rev 4

1/46
www.st.com

UM0426

Features

Three 5V power supply options: power jack, USB connector or daughter board Boot from user Flash, test Flash or SRAM Audio play and record 64Mbyte MicroSD card Type A and Type B smartcard support 8Mbyte serial Flash I2C/SMBus compatible serial interface temperature sensor Two RS232 communication channels with support for RTS/CTS handshake on one channel IrDA transceiver USB 2.0 full speed connection CAN 2.0A/B compliant connection Induction motor control connector JTAG, SWD and trace tool support 240x320 TFT color LCD Joystick with 4-direction control and selector Reset, wakeup, tamper and user push buttons 4 LEDs RTC with backup battery Extension connector for daughter board or wrapping board

Order code
To order the STM32F10x 128K evaluation board, use the order code STM3210B-EVAL.

2/46

UM0426

Contents

Contents
1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 LCD configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Serial flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 RS232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 USB type B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 CAN D-type 9-pin male connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Analog input connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Power supply connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 RS232 connector CN5 with RTS/CTS handshake support . . . . . . . . . . . 18 RS232 connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

JTAG debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Audio jack CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SWD debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Trace debugging connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

3/46

Contents

UM0426

2.11 2.12 2.13 2.14

Daughter board extension connectors CN12 and CN13 . . . . . . . . . . . . . 21 Motor control connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 MicroSD connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Smartcard connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Appendix A STM3210B-EVAL IO assignments . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

4/46

UM0426

Hardware layout and configuration

Hardware layout and configuration


The STM3210B-EVAL board is designed around a STM32F103VBT6 microcontroller in a 100-pin LQFP package. The hardware block diagram Figure 2 shows the connections between the STM32F10x microcontroller and peripherals (LCD, SPI Flash, USART, IrDA, USB, Audio, CAN bus, RTC, smartcard, MicroSD card and motor control). Figure 3 will help you locate these features on the evaluation board.

Figure 2.

Hardware block diagram

Fixed 3.3V Power Supply

ADC PWM

Audio Circuit

LED, Key & Joystick 8Mbyte Flash 64MByte MicroSD card LCD Module SPI2 USART1 RS232 transceiver RS232 transceiver USART DB9 male connector USART DB9 male connector SPI1 GPIO Extension Connector for GPIOs

USART2 STM32F103VBT6 Temperature sensor Motor control connector I2C1 USART3

IrDA transceiver Smart card interface chip CAN transceiver Smart card connector CAN DB9 connector

MC

Smart card

10-pin SWD connector 20-pin JTAG connector 20-pin future JTAG connector with Trace Debug

CAN

ADC

BNC connector USB Type B connector

USB

5/46

Hardware layout and configuration Figure 3. STM3210B-EVAL board layout


U1 STM32F103VBT6 CN15 MicroSD card CN14 Motor control CN13 Extension connector

UM0426

CN12 Extension connector

CN5 USART2

CN2 CAN connector

CN9 SWD CN6 USART1 CN10 Trace

U11 IrDA

CN7 JTAG

U17 Color LCD CN1 USB CN8 Audio jack

CN4 5V power

RV1 Potentiometer

U17 MIC

B1 RESET

B2 WAKEUP

CN16 Smartcard

B4 Tamper

U18 Joystick

B3 General purpose key

6/46

UM0426

Hardware layout and configuration The following sections provide jumper settings for configuring your STM3210B-EVAL board and peripherals. Two types of jumpers are used on the STM3210B-EVAL board:

3-pin jumpers with two possible positions, for which the possible settings are presented in schematics in the following sections 2-pin jumpers with two possible settings: Fitted the circuit is closed, and Not fitted the circuit is open (see Figure 4.) Settings for two-pin jumpers Not fitted Fitted

Figure 4.

1.1

LCD configuration
The STM3210B-EVAL can be delivered with either one of two LCDs mounted on the MB542 board, depending on the board version. These two LCDs look alike and operate in the same way, however they have different control circuits, and therefore require different software drivers. You must ensure that the demonstration software pre-loaded in the flash memory of the microcontroller on the evaluation board supports the LCD that you have. If your STM3210B-EVAL product includes the MB542 board version B-01 or later, it is mounted with the LCD reference AM240320L8TNQW-00H (from Ampire). The controller reference is ILI9320 (from ILITEK, www.ilitek.com). The products that include this LCD have a label on the daughter board (to the left of the display) as shown in Figure 5. Figure 5. LCD label on MB542 board version B-01 or later

7/46

Hardware layout and configuration Table 1. LCD label on MB542 board version B-01 or later
Label marking MB542B-0120743001 B 01 20743001 Meaning

UM0426

LCD version B-01


PCB version B Version 01 Board ID

The demonstration software delivered with the evaluation boards that carry this label is STM3210B-EVAL_DEMO version 1.1 or later. It automatically detects which version of the LCD is mounted on the daughter board, and it supports both. If your STM3210B-EVAL product includes the MB542 board version B-00 or earlier, it is mounted with the LCD reference AM-240320LTNQW01H. The controller reference is HX8312-A (from Himax, www.himax.com.tw). The products that include this LCD do not have a label on the component side of the daughter board as shown in Figure 6. The label is on the solder side, therefore not visible when the MB452 board is screwed onto the MB525 board. Figure 6. No LCD label on component side of MB542 board version B-00

The demonstration software delivered with the evaluation boards that do not carry a visible label is STM3210B-EVAL_DEMO version 1.0 or earlier. This software only supports the LCD reference AM-240320LTNQW01H. Note: You can download the latest version of the software demonstration from the STmicroelectronics support site, www.st.com/mcu. The STM3210B-EVAL_DEMO software is included in the STM3210B-EVAL demonstration software user manual (UM0435) download file. STM3210B-EVAL_DEMO version 1.1 and later support both types of LCD.

8/46

UM0426

Hardware layout and configuration

1.2

Power supply
The STM3210B-EVAL board is designed to be powered by 5V DC power supply and to be protected by PolyZen U6 in case of incorrect power supply configuration. It is possible to configure the evaluation board to use any of the following sources for the power supply.

5V DC power adapter connected to CN4, the power supply jack labeled PSU (for Power Supply Unit) on the silkscreen 5V DC power with 500mA limitation from CN1, the type-B USB connector on the evaluation board labeled USB on the silkscreen 5V DC power from both CN12 and CN13, the daughter board extension connectors labeled DTB (for Daughter Board) on the silkscreen

The power supply is configured by setting the related jumpers JP4, JP9 and JP11 as described in Table 2. Table 2.
Jumper

Power related jumpers


Description JP4 is used to select one of the three possible power supply resources. For power supply from the power supply jack (CN4) to the STM3210BEVAL only, JP4 is set as shown (default setting):
PSU DTB USB

For power supply from the daughter board connectors (CN12 and CN13) to the STM3210B-EVAL only, JP4 is set as shown:

PSU DTB USB

JP4

For power supply from USB (CN1) to the STM3210B-EVAL only, JP4 is set as shown:

PSU DTB USB

For power supply from power supply jack (CN4) to both the STM3210B-EVAL board and to a daughter board connected on CN12 and CN13, JP4 is set as shown below. The daughter board must not have its own power supply connected. Measures the consumption of VDD and VDDA. Default setting: Fitted
1 2 3

PSU DTB USB

JP9

Vbat is connected to 3.3V power when JP11 is set as shown (default setting):

JP11
1 2 3

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

The LED LD5 is lit when the STM3210B-EVAL board is powered correctly.

9/46

Hardware layout and configuration

UM0426

1.3

Boot option
The STM3210B-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 the switches SW1 and SW2 as shown in Table 3. The two possible positions of these micro switches are shown in Figure 7. Figure 7. Switch positions >0
Switch in position 1

Table 3.
Switch

Boot switches
Boot from STM3210B-EVAL boots from user Flash when SW2 is set as shown to the right (default setting). In this configuration, the position of SW1 doesnt affect the boot process. Boot 0 = 0, Boot 1 = X Switch configuration
SW1 Boot 1 SW2 Boot 0 SW2 Boot 0 SW2 Boot 0 1< >0 1< >0 SW1 Boot 1 1< SW1 Boot 1 >0

SW1 SW2

STM3210B-EVAL boots from embedded SRAM when SW1 and SW2 are set as shown to the right. Boot 0 = 1, Boot 1 = 1

STM3210B-EVAL boots from system memory when SW1 and SW2 are set as shown to the right. Boot 0 = 1, Boot 1 = 0

1.4

Clock source
Two clock sources are available on the STM3210B-EVAL board for the STM32F10X microcontroller and RTC.

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

10/46

1<

Switch in position 0

UM0426

Hardware layout and configuration

1.5

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

Reset button B1 Debugging tools from connector CN7, CN9 and CN10 Daughter board from CN13 Reset jumper
Description Enables reset of the STM32F10X microcontroller embedded JTAG TAP controller each time a system reset occurs. JP10 connects the TRST signal from the JTAG connection with the system reset signal RESET#. Default setting: Not fitted

Table 4.
Jumper

JP10

1.6

Audio
The STM3210B-EVAL board supports both audio recording and playback. This can be disabled or enabled by setting the jumpers JP6 and JP7. The audio volume can be adjusted using the potentiometer RV2, and the microphone amplifier gain can be adjusted using the potentiometer RV3. Table 5.
Jumper JP6 JP7

Audio jumpers
Description Audio power amplifier TS4871 is forced into standby mode when JP6 is not fitted. Default setting: Fitted Microphone pre-amplifier MAX4061 is forced into shutdown mode when JP7 is fitted. Default setting: Not fitted

1.7

Serial flash
A 64Mbit serial flash connected to SPI1 of the STM32F10X microcontroller shares the same SPI port with the MicroSD card using a different chip select signal. Serial Flash Chip select is managed by the standard IO port PA4.

1.8

CAN
The STM3210B-EVAL board supports CAN 2.0A/B compliant CAN bus communication based on 3.3V CAN transceiver. The high-speed mode, standby mode and slope control mode are available and selected by setting JP2.

11/46

Hardware layout and configuration Table 6.


Jumper

UM0426

CAN jumpers
Description CAN transceiver functions in standby mode when JP2 is set as shown below:
1 2 3

JP2

CAN transceiver functions in high-speed mode when JP2 is set as shown below:
1 2 3

CAN transceiver functions in slope control mode when JP2 is not fitted. (Default setting) JP3 CAN terminal resistor is enabled when JP3 is fitted. Default setting: Not fitted

1.9

RS232
Two Type D 9-pin connectors, CN6 (USART1) and CN5 (USART2) are available on the STM3210B-EVAL board. The USART1 connector is connected to the RS232 transceiver U10, and the USART2 connector with RTS/CTS handshake signal support is connected to the RS232 transceiver U9.

1.10

Motor control
The STM3210B-EVAL board supports induction motor control via a 34-pin connector, CN14, which provides all required control and feedback signals to and from a motor power-drive board. Available signals on this connector include emergency stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature coming from the motor drive board and 6 channels of PWM control signals going to the motor drive circuit. Special motor current sampling operation is enabled by setting jumper JP8. Table 7.
Jumper

Motor control jumpers


Description Enables special motor current sampling operation when JP8 is fitted (PD2 connected to PB0). The IO pins PD2 and PB0 are disconnected and can be used by the daughter board when JP8 is not fitted. Default setting: Fitted JP12 must be open when the digital encoder signal comes from pin31 of CN14. It must be closed when an analog signal comes from pin31 of CN14. Default setting: Not fitted (open)

JP8

JP12

12/46

UM0426

Hardware layout and configuration

1.11

Smartcard
The STMicroelectronics smartcard interface device ST8024 is used on the STM3210BEVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with the STM32F10X microcontroller, which are listed inTable 8. Table 8. Connection between ST8024 and STM32F10X
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 STM32F10X PD11 PB10 PB12 PE14 PB11 PE7

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

An example of smartcard is provided with the board called GSM file system sample. With this board, you can play basic commands, select a file and do simple read/write operations to become familiar with this interface and the ISO/IEC 7816-3 protocol.

1.12

MicroSD card
The 64Mbyte or 128Mbyte MicroSD card, which is connected to SPI1 of the STM32F10x microcontroller (shared with serial Flash), is available on the board. The MicroSD card chip selection is managed by the standard IO port PC12.

1.13

Temperature sensor
One I2C interface temperature sensor STLM75 (55C to +125C), which is connected to I2C1 of the STM32F10x microcontroller, is available on the board. Two discrete N-channel enhancement MOS-FETs are used to demonstrate how different voltage level devices can be connected to the same I2C bus.

1.14

Analog input
One BNC connector, CN3, is connected to PC1, the ADC channel 11 of the STM32F10x microcontroller as an external analog input.

13/46

Hardware layout and configuration

UM0426

1.15

IrDA
IrDA communication is supported by the IrDA transceiver U11, which is connected to USART3 of the STM32F10x microcontroller. It can be enabled or disabled by setting the jumper JP5. Table 9.
Jumper

IrDA jumpers
Description Enables/disables the IrDA transceiver. IrDA is enabled when JP5 is fitted, and disabled when JP5 is not fitted. Default setting: Fitted

JP5

1.16

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

USB jumpers
Description USB 1.5K pull-up register is always connected to USB+ line when JP1 is set as shown.

123

JP1

USB 1.5K pull-up register can be disconnected by software from the USB+ line when JP1 is set as shown (default setting). In this case, USB connect/disconnect features are managed by the standard IO port PD9.

123

1.17

Development and debug support


The following debug connectors are available on the STM3210B-EVAL board:

CN7, an industry standard 20-pin JTAG interface connector for connection of debugging/programming tools for ARM7 and ARM9 core-based devices. CN9, a 10-pin SWD debug connector that supports the new Serial Wire Debug feature of ARM Cortex-M3 devices. CN10, a 20-pin connector for legacy and future JTAG tools that are compliant with ARM CoreSight.

14/46

UM0426

Hardware layout and configuration

1.18

Display and input devices


The 240x320 TFT color LCD (U17) and 4 general purpose LEDs (LD1, 2, 3, 4) are available as display devices. A 4-direction joystick with selection key, general purpose pushbutton (B3), wakeup button (B2) and tamper detection button (B4) are available as input devices. The STM3210B-EVAL board also supports a second optional 122x32 graphic LCD that can be mounted on the U19 connector. The graphic LCD is not provided. Table 11. LCD modules
Graphic LCD U17 (default) Pin on U17 Description Pin connection Pin on U19 Character LCD U19 (optional) Description Pin connection

1 2 3 4 5 6 7 8 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

PB2 PB13 PB15 PD7 PD15 GND PB14 RESET# +3V3 +3V3 GND GND +3V3 PA8 GND GND

1 2 3 4 5 6 7 8

Vss Vcc VO CLK SID CS A K

GND +3.3V PB13 PB15 PB2 +5V GND

15/46

Connectors

UM0426

2
2.1

Connectors
USB type B connector CN1
Figure 8. USB type B connector CN1 (front view)

Table 12.

USB type B connector (CN1)


Description VBUS(power) DM DP Pin number 4 5, 6 GND Shield Description

Pin number 1 2 3

2.2

CAN D-type 9-pin male connector CN2


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

Table 13.

CAN D-type 9-pin male connector (CN2)


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

Pin number 1, 4, 8, 9 2

16/46

UM0426

Connectors

2.3

Analog input connector CN3


Figure 10. Analog input connector CN3 (top view)

1 5 4

Table 14.

Analog input connector CN3


Description GND GND GND Pin number 4 5 GND Analog input/PC1 Description

Pin number 1 2 3

2.4

Power supply connector CN4


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

GND

17/46

Connectors

UM0426

2.5

RS232 connector CN5 with RTS/CTS handshake support


Figure 12. RS232 connector CN5 with RTS/CTS handshake support (front view)

Table 15.

RS232 connector CN5 with full modem control support


Description NC USART2_RXD USART2_TXD Connect to Pin 6 GND Pin number 6 7 8 9 Description Connect to Pin 4 USART2_RTS USART2_CTS NC

Pin number 1 2 3 4 5

2.6

RS232 connector CN6


Figure 13. RS232 connector CN6 (front view)

Table 16.

RS232 connector CN6


Description NC USART1_RXD USART1_TXD Connect to Pin 6 GND Pin number 6 7 8 9 Description Connect to Pin 4 Connect to Pin 8 Connect to Pin 7 NC

Pin number 1 2 3 4 5

18/46

UM0426

Connectors

2.7

JTAG debugging connector CN7


Figure 14. JTAG debugging connector CN7 (front view)

19 17 15 13 11 9 7 5

20 18 16 14 12 10 8 6

Table 17.

JTAG debugging connector


Description 3.3V power TRST TDI TMS TCK RTCK TDO 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

2.8

Audio jack CN8


A 3.5mm mono audio jack CN8 is available on the STM3210B-EVAL board. The speaker U12 is bypassed when earphones are plugged into CN8.

2.9

SWD debugging connector CN9


Figure 15. SWD debugging connector CN9 (top view)

9 7 5

10 8 6

19/46

Connectors Table 18. SWD debugging connector (CN9)


Description +3V3 GND GND GND GND Pin number 2 4 6 8 10

UM0426

Pin number 1 3 5 7 9

Description SWDIO/PA13 SWCLK/PA14 SWO/PB3 TDI/PA15 RESET#

2.10

Trace debugging connector CN10


Figure 16. Trace debugging connector CN10 (front view)

19 17 15 13 11 9 7 5

20 18 16 14 12 10 8 6

Table 19.

Trace debugging connector (CN10)


Description 3.3V power GND GND GND GND GND GND GND GND GND Pin number 2 4 6 8 10 12 14 16 18 20 Description 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

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

20/46

UM0426

Connectors

2.11

Daughter board extension connectors CN12 and CN13


Two 50-pin male headers, CN12 and CN13, can be used to connect a daughter board or standard wrapping board to the STM3210B-EVAL board. A total of 80 GPI/Os are available on these connectors. Each pin on CN12 and CN13 can be used by a daughter board after disconnecting it from the corresponding function block on the STM3210B-EVAL board. Refer to Table 20 and Table 21 for details. Table 20.
Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45

Daughter board extension connector CN12


Description GND PC1 PC3 PA1 PA3 PA4 PA6 PC4 PB0 GND PE7 PE9 PE11 PE13 PE15 NC PB10 PB13 PB15 GND PD9 PD11 PD13 Alternate function MC connector pin 15 MC connector pin 19 MC connector pin 33 MC connector pin 14 SPI Flash How to disconnect from function block on STM3210B-EVAL board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Remove R63

SPI Flash & MicroSD Remove R65 and R82 card Potentiometer RV1 Remove R80

MC connector pin 27 JP8 is not fitted Smartcard MC connector pin 3 MC connector pin 7 MC connector pin 11 MC connector pin 1 Smartcard LCD LCD USB Smartcard MC connector pin 23 Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Remove R53 Remove R115 Disconnect JP1 Disconnect STM3210B-EVAL board from motor power drive board

21/46

Connectors Table 20.


Pin 47 49 2 4

UM0426 Daughter board extension connector CN12 (continued)


Description PD15 D5V PC0 PC2 Alternate function LCD MC connector pin 26 MC connector pin 17 How to disconnect from function block on STM3210B-EVAL board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board

PA0

Disconnect STM3210B-EVAL board from motor MC connector pin 31 power drive board & wakeup button Remove R85 MC connector pin 34 Disconnect STM3210B-EVAL board from motor power drive board -

8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46

PA2 GND PA5 PA7 PC5 PB1 PB2 PE8 PE10 PE12 PE14 GND NC PB11 PB12 PB14 PD8 PD10 PD12 PD14

SPI Flash & MicroSD card SPI Flash & MicroSD card Microphone MC connector pin 29 BOOT & LCD MC connector pin 5 MC connector pin 9 MC connector pin 13 Smartcard Smartcard Smartcard LCD Joystick Up MC connector pin 21 Joystick selection Joystick Down Remove R71 Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Disconnect STM3210B-EVAL board from motor power drive board Remove R117 Remove LCD module Remove R76 Disconnect STM3210B-EVAL board from motor power drive board Remove R72 Remove R73

22/46

UM0426 Table 20.


Pin 48 50

Connectors Daughter board extension connector CN12 (continued)


Description +3V3 GND Alternate function How to disconnect from function block on STM3210B-EVAL board -

Table 21.
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

Daughter board extension connector CN13


Description GND NC PE6 PE4 PC13 RESET# PE1 PB9 PB7 D5V PB4 NC PD6 PD4 PD3 PD1 PC12 PC10 PA14 GND PA12 PA10 PA8 PC8 PC6 NC PC13 PE5 PE3 Tamper button Debug TraceD2 Debug TraceD0 Remove R62 Debug TraceD3 Debug TraceD1 Tamper key RESET# button Joystick Left User button Temperature sensor Debug nTRST USART2 USART2 USART2 CAN_TX MicroSD card IrDA Debug TCK USB USART1_RX LCD LED3 LED1 Remove R74 Remove R78 Remove R114 JP10 is not fitted Remove R77 Remove R79 Remove R81 Remove R70 Remove R6 Remove R8 Alternate function How to disconnect from component on STM3210B-EVAL board

23/46

Connectors Table 21.


Pin 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50

UM0426 Daughter board extension connector CN13 (continued)


Description GND PE2 PE0 PB8 PB6 PB5 PB3 NC PD7 PD5 GND PD2 PD0 PC11 PA15 PA13 PA11 PA9 PC9 PC7 GND Alternate function Debug trace CLK Joystick Right Speaker Temperature sensor Temperature sensor Debug SWO LCD USART2 MC connector pin 27 CAN_RX IrDA Debug TDI Debug TMS USB USART1_TX LED4 LED2 Remove R75 Unfitted JP6 Remove R113 Remove R112 Disconnect STM3210B-EVAL board from motor power drive board Remove R116 Remove R64 Remove R5 Remove R7 How to disconnect from component on STM3210B-EVAL board

2.12

Motor control connector CN14


Figure 17. Motor control connector CN14 (top view)

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

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

24/46

UM0426 Table 22. Motor control connector CN14


Pin of Pin number Pin number Pin of STM32F10X on CN1 on CN1 STM32F10x PE15 PE9 PE8 PE11 PE10 PE13 PE12 PC1 PC2 PC3 PD10 PD13 1 3 5 7 9 11 13 15 17 19 21 23 25 PD2/PB0 PB1 PA0 PA1 27 29 31 33 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 PD14 PC0 PA3

Connectors

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

Description GND GND GND GND GND GND BUS VOLTAGE GND GND GND GND GND Heatsink temperature 3.3V power GND GND Encoder Index

25/46

Connectors

UM0426

2.13

MicroSD connector CN15


Figure 18. MicroSD connector CN15 (top view)

Table 23.

MicroSD connector CN15


Description Reserved CS/PC12 DI/PA7 VDD Pin number 5 6 7 8, 9 Description SCLK/PA5 Vss/GND DO/PA6 Reserved

Pin number 1 2 3 4

2.14

Smartcard connector CN16


Figure 19. Smartcard connector CN16 (top view of connector underneath PCB)

26/46

UM0426 Table 24. Smartcard connector CN16


Description VCC RST CLK NC Card presence detection pin Pin number 5 6 7 8 18 GND NC I/O NC

Connectors

Pin number 1 2 3 4 17

Description

Card presence detection pin

27/46

Schematics

UM0426

Schematics
This section provides design schematics for the STM3210B-EVAL key features to help you implement these features in your own application designs. This section includes:

Overall schematics for the board, see Figure 20 MCU connections, see Figure 21 EEPROM, USB, LED, CAN and temperature sensor, see Figure 22 USART1, USART2, IrDA, see Figure 23 Audio amplifier and micro amplifier, see Figure 24 Joystick, LCD, tamper button, wakeup button, user button, see Figure 25 Smartcard and MicroSD card, Figure 26 Motor control, Figure 27 JTAG, SWD debugger, see Figure 28 Power supply, see Figure 29 Extension connectors, see Figure 30 MB542 daughter board schematics, see Figure 31

28/46

UM0426

U_Audio Audio.SchDoc MIC_IN Audio_PWM U_MotorCtrl MotorCtrl.SchDoc

U_MCU MCU.SchDoc

MIC_IN Audio_PWM

U_JTAG&SWD JTAG&SWD.SchDoc TDI TRST TMS/SWDIO TCK/SWCLK TDO/SWO TRACE_CK TRACE_D0 TRACE_D1 TRACE_D2 TRACE_D3

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

U_LCD&Joystick LCD&Joystick.SchDoc

MC_PFCsync1 MC_PFCsync2 MC_WL MC_VH MC_VL MC_UH MC_UL MC_WH MC_NTC MC_DissipativeBrake MC_PFCpwm MC_EmergencySTOP MC_EnIndex MC_BusVoltage MC_HeatsinkTemperature MC_EnB MC_EnA/WAKEUP MC_CurrentC MC_CurrentB MC_CurrentA/BNC U_Peripherals Peripherals.SchDoc

JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP Anti_Tamper User_Button LCD_backlight LCD_DO LCD_WR LCD_RS LCDI_DI LCD_CLK LCD_CS SPI1_NSS SPI1_SCK SPI1_MOSI SPI1_MISO USB_DM USB_DP USB_Disconnect TemperatureSensor_SCL TemperatureSensor_SDA TemperatureSensor_INT CAN_TX CAN_RX LED4 LED3 LED2 LED1 Potentiometer U_SD&Smart Card SD&Smart Card.SchDoc SPI1_NSS SPI1_SCK SPI1_MOSI SPI1_MISO USB_DM USB_DP USB_Disconnect TemperatureSensor_SCL TemperatureSensor_SDA TemperatureSensor_INT CAN_TX CAN_RX LED4 LED3 LED2 LED1 Potentiometer MC_CurrentA/BNC

Figure 20. Evaluation board schematics

JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP Anti_Tamper MC_EnA/WAKEUP User_Button RESET# LCD_backlight LCD_DO LCD_WR LCD_RS LCDI_DI LCD_CLK LCD_CS

MC_PFCsync1 MC_PFCsync2 MC_WL MC_VH MC_VL MC_UH MC_UL MC_WH MC_NTC MC_DissipativeBrake MC_PFCpwm MC_EmergencySTOP MC_EnIndex MC_BusVoltage MC_HeatsinkTemperature MC_EnB MC_EnA/WAKEUP MC_CurrentC MC_CurrentB MC_CurrentA/BNC

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

U_Extension Extension.SchDoc RESET#

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

SmartCard_3/5V SmartCard_IO SmartCard_RST SmartCard_CLK SmartCard_CMDVCC SmartCard_OFF

SmartCard_3/5V SmartCard_IO SmartCard_RST SmartCard_CLK SmartCard_CMDVCC SmartCard_OFF SPI1_MISO SPI1_MOSI SPI1_SCK MicroSDCard_CS U_RS232&IrDA RS232&IrDA.SchDoc

U_Power Power.SchDoc

STMicroelectronics
Title:

STM32F10X-128K-EVAL
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 1 of
11

Schematics

USART1_TX USART1_RTS USART1_RX USART1_CTS IrDA_RX IrDA_TX USART0_RX USART0_TX

USART1_TX USART1_RTS USART1_RX USART1_CTS IrDA_RX IrDA_TX USART0_RX USART0_TX

29/46

B1

30/46
X1 MC306-G-06Q-32.768 (manufacturer JFVNY) +3V3 JP9 VDDA R83 C77 10nF R84 0 VREFVREFVSSA 20 19 L1 BEAD 47 VREF U1B TP11 VDD VREF+ 3 C1 10pF 4 R15 0 C55 10uF C56 10nF VDD 2 1 Vbat JP11 BT1 CR1220 holder 21 22 11 28 50 75 100 VREF+ VDDA VDD_5 VDD_4 VDD_1 VDD_2 VDD_3 6 1 U1A C2 10pF 2 +3V3 3 VSS_2 VSS_3 VSS_1 VBAT VSS_4 VSS_5 STM32F103VBH6 74 99 49 27 10

Schematics

TP8

MC_EnA/WAKEUP MC_EnB MC_EnIndex MC_BusVoltage SPI1_NSS SPI1_SCK SPI1_MISO SPI1_MOSI Anti_Tamper MicroSDCard_CS IrDA_RX IrDA_TX LED4 LED3 LED2 LED1 MIC_IN Potentiometer MC_CurrentC MC_CurrentB MC_CurrentA/BNC MC_HeatsinkTemperature

Figure 21. MCU connections

LCD_backlight

MCO

USART0_TX USART0_RX USB_DM USB_DP TMS/SWDIO TCK/SWCLK TDI

PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PA0-WKUP/USART2_CTS/ADC_IN0/TIM2_CH1_ETR PA1/USART2_RTS/ADC_IN1/TIM2_CH2 PA2/USART2_TX/ADC_IN2/TIM2_CH3 PA3/USART2_RX/ADC_IN3/TIM2_CH4 PA4/SPI1_NSS/USART2_CK/ADC_IN4 PA5/SPI1_SCK/ADC_IN5 PA6/SPI1_MISO/ADC_IN6/TIM3_CH1 PA7/SPI1_MOSI/ADC_IN7/TIM3_CH2 PA8/USART1_CK/TIM1_CH1/MCO PA9/USART1_TX/TIM1_CH2 PA10/USART1_RX/TIM1_CH3 PA11 / USART1_CTS/CANRX / USBDM (2)/TIM1_CH4 PA12 / USART1_RTS/CANTX / USBDP (2)/TIM1_ETR PA13/JTMS-SWDAT PA14/JTCK-SWCLK PA15/JTDI PC15-OSC32_OUT PC14-OSC32_IN PC13-ANTI_TAMP PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5/ADC_IN15 PC4/ADC_IN14 PC3/ADC_IN13 PC2/ADC_IN12 PC1/ADC_IN11 PC0/ADC_IN10

23 24 25 26 29 30 31 32 67 68 69 70 71 72 76 77 PC15 PC14 PC13 PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0

9 8 7 80 79 78 66 65 64 63 34 33 18 17 16 15

LCD_CS

+3V3 1 SW1

R86

MC_PFCsync1 MC_PFCpwm

10K

X2 8MHz (with socket) OSC_IN 12 OSC_OUT 13 RESET# 14 OSC_IN OSC_OUT NRST BOOT0 Not connected BOOT0 73 94

TDO/SWO TRST TemperatureSensor_INT TemperatureSensor_SCL TemperatureSensor_SDA Audio_PWM User_Button SmartCard_IO SmartCard_RST SmartCard_CLK LCD_CLK LCD_DO LCDI_DI

PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 PB0/ADC_IN8/TIM3_CH3 PB1/ADC_IN9/TIM3_CH4 PB2 / BOOT1 PB3/JTDO PB4/JTRST PB5/I2C1_SMBAl PB6/I2C1_SCL/TIM4_CH1 PB7/I2C1_SDA/TIM4_CH2 PB8/TIM4_CH3 PB9/TIM4_CH4 PB10/I2C2_SCL/USART3_TX PB11/I2C2_SDA /USART3_RX PB12/SPI2_NSS /I2C2_SMBAl/USART3_CK /TIM1_BKIN PB13/SPI2_SCK /USART3_CTS /TIM1_CH1N PB14/SPI2_MISO /USART3_RTS /TIM1_CH2N PB15/SPI2_MOSITIM1_CH3N

35 36 37 89 90 91 92 93 95 96 47 48 51 52 53 54

PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2/TIM3_ETR PD1 PD0

62 61 60 59 58 57 56 55 88 87 86 85 84 83 82 81 LCD_WR JOY_DOWN MC_DissipativeBrake JOY_SEL SmartCard_3/5V MC_NTC USB_Disconnect JOY_UP LCD_RS USART1_RX USART1_TX USART1_RTS USART1_CTS MC_PFCsync2 CAN_TX CAN_RX

PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0

PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15

PC15 PC14 PC13 PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PA[0..15]

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

PC[0..15]

C3 20pF

R1 1M

C4

R87 10K

20pF

SW2

4 STM32F103VBH6 VDD

RESET

PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0/TIM4_ETR

46 45 44 43 42 41 40 39 38 5 4 3 2 1 98 97

PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0

MC_EmergencySTOP SmartCard_OFF MC_WH MC_WL MC_VH MC_VL MC_UH MC_UL SmartCard_CMDVCC TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK JOY_LEFT JOY_RIGHT

PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 PB[0..15] PB[0..15]

PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 PD[0..15]

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

PE[0..15]

C5

R2

+3V3

+3V3 TP12 TP13 TP14 TP15 C57 100nF C58 100nF C59 100nF C60 100nF C61 100nF GND GND GND GND

100nF

10K

STMicroelectronics
Title:

RESET#

STM32F10X-128K-EVAL MCU
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-07-23 Sheet 2 of
11

UM0426

UM0426

+3V3 C7 U5V U2 R9 22 PA11 USB_DM USB_DP 22 PA12 R10 1 2 3 I/O1 I/O1 GND Vbus I/O2 I/O2 U5V USBLC6-2P6 +3V3 1.5K 3 T1 1 R12 6 5 4 PA5 PA7 C6 100nF

+3V3

R11 10K

SPI1_NSS SPI1_MISO M25P64-VME6G +3V3

PA4 R63 PA6 R65

0 0

100nF U3 7 HOLD C 8 D VCC 1 VSS S 2 Q W 6 5 4 3

SPI1_SCK SPI1_MOSI

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

SPI Flash USB


R13 U5V 10K 9013 36K T2 3 1 +3V3
2

LED1 R14

PC6

R8

LD1 red 1

R3 C9 1M 4.7nF

600

LED2

PC7

R7

LD2 red 1

600

LED3
2

PC8

R6

LD3 red 1 R18 47K

600 9013

1 2 3 JP1 +3V3 PD9 USB_Disconnect

LED4

PC9

R5

LD4 red 1

600

+3V3 C8 100nF U5 CAN_TX CAN_RX PD0 R116 0 PD1

R4
1 3

R91 10K 2K2


2

CN3

CN2 DB9-male CAN connector JP2 JP3

MC_CurrentA/BNC

PC1 1 2 3 4

1 2 3 4 5 D GND VCC R

VB334

BNC connector +3V3

RS CANH CANL Vref SN65HVD230

8 7 6 5

R19 120

Potentiometer

PC4

R80

1 6 2 7 3 8 4 9 5

RV1 10K

CAN
R21 do not fit +3V3 TR1 BSS123 G U4 1 S
2

Figure 22. EEPROM, USB, LED, CAN and temperature sensor

R118 0

Potentiometer
+5V +3V3 R16 R17 4K7 4K7
2

R88 R89 R90 4K7 4K7 4K7 3 D 1 2 3 4

TemperatureSensor_SDA TemperatureSensor_SCL TemperatureSensor_INT G 1 S D TR2 BSS123 3

PB7 R114 PB6 R113 PB5 R112

0 TS_SDA 0 TS_SCL 0 TS_INT

SDA VDD SCL A0 OS/INT A1 GND A2 STLM75M2E

8 7 6 5

C10 100nF

STMicroelectronics
Title:

STM32F10X-128K-EVAL Peripherals Temperature sensor


Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 3 of
11

Schematics

31/46

32/46
+3V3 C16 100nF VCC C2C20 100nF 4 14 RS232_TX2 RS232_RX2 RS232_RTS2 RS232_CTS2 13 7 8 15 +3V3 C17 100nF VCC C2C2+ T1in 12 10 9 6 C25 100nF R1out T2in R2out VT1out R1in T2out R2in GND ST3232ECTR 16 5 C21 100nF 4 C114 13 7 8 15 RS232_TX1 RS232_RX1 do not fit R25 CN6 DB9-male USART1 C2+ T1out R1in T2out R2in GND 5 16 do not fit R24 CN5 DB9-male USART2 U9 2 V+ C1+ C1T1in R1out T2in R2out VST3232ECTR 1 3 11 12 10 9 6 1 6 2 7 3 8 4 9 5

Schematics

C18 100nF

C22 100nF

USART1_TX

PD5

USART1_RX

PD6 R77

USART1_RTS

PD4

USART1_CTS

PD3 R79

USART2 connector

Figure 23. USART1, USART2, IrDA

C24 100nF

U10 C19 100nF 2 V+ C1+ 1 +3V3 3 11 0 PA9 PA10 R70 C23 100nF USART0_TX USART0_RX

1 6 2 7 3 8 4 9 5

JP5 5 SD TxD RxD 3 4

R23 10K U11

IrDA_TX IrDA_RX 0

PC10 PC11

R64

+3V3

USART1 connector

R27

R28

47 TFDU4300 C29 0.1uF

1 2 6 7 8 Anode (VCC2) Cathode VCC1 Vlogic GND

C26 4.7uF

C28 0.1uF

C27 4.7uF

IrDA

STMicroelectronics
Title:

STM32F10X-128K-EVAL RS232&IrDA
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 4 of
11

UM0426

UM0426

+3V3 C31 SpeakerR29 10K JP6 1 U13 C32 R33 +3V3 C34 100uF 22K TS4871IST C35 2.2uF R35 0 C30 100nF 150nF 1 4 3 2 Standby VinVin+ Bypass Uout1 Vout2 VCC GND 5 8 6 7 ST-613 Speaker+ RV2 50K 2 R34 0(don't solder) 100K 470pF R31 1 10 2 CN8 2 1 U12 KDMG15008-03

Audio_PWM C33 33nF 3

PB8

R32

TP4 Audio

1.2K

+3V3

Speaker

Figure 24. Audio amplifier and micro amplifier

R36 1K TP6 MIC_OUT U14 +3V3 R119 JP7 R30 10K 2 3 RV3 20K +3V3 0 R71 C54 do not fit 0 PC5 MIC_IN

C36 2.2uF C38 1uF C39 1uF MAX4061EUA+ 5 6 7 8 IN+ INGND G1 Vcc OUT SHDN G2 4 3 2 1

R37 1K

TP5 MIC+

U15

2 1

KECG2740TBL

R38 1K

TP7 MIC-

C37 2.2uF R40 1 1K

R39 1K

Microphone

STMicroelectronics
Title:

STM32F10X-128K-EVAL Audio
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 5 of
11

Schematics

33/46

R41 10K R42 10K R43 10K R44 10K R45 10K

Tamper Button
B4 Tamper 1 4 DWON LEFT RIGHT UP R49 100 MT008-A

100nF

100nF

100nF

100nF

100nF

C40

C41

C42

C43

C44

LCD_CS LCD_CLK LCDI_DI LCD_RS LCD_WR PB14 RESET# +3V3

PB2 PB13 PB15 PD7 PD15 1 2 3 4 5 6 7 8 CS SCL SDI RS WR RD SDO RESET

Wakeup Button
1 4

User Button
+3V3 C70 U19 1 100nF R107 do not fit R108 do not fit R106 0 +5V PB13 PB15 PB2 4

34/46
R46 5 COMMON Selection Anti_Tamper PC13 R62 0 R52 4K7 2 +3V3 100 U16 +3V3 3 1 4 6 C47 100nF

Schematics

JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP

PD12 PD14 PE1 PE0 PD8

R72 R73 R74 R75 R76

0 0 0 0 0

Joystick
R50 220K PA0 R85 330

U17

MC_EnA/WAKEUP

B2 WKUP

C45 do not fit R47 100 +3V3 +3V3

LCD_DO RESET#

+3V3 0 R67 do not fit Color LCD module PA8

R66

+3V3

9 10 11 12 13 14 15 16 VDD VCI GND GND BL_VDD BL_Control BL_GND BL_GND

LCD_backlight

R51 4K7 User_Button PB9 R78 0

TFT LCD

B3 USER

C46 100nF R48 100

Figure 25. Joystick, LCD, tamper button, wakeup button, user button

+3V3

1 2 3 4 5 6 7 8 Vss Vcc VO CLK SID CS A K

HXM122032-GB1 (do not fit)

Gray LCD

STMicroelectronics
Title:

STM32F10X-128K-EVAL LCD&Joystick
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 6 of
11

UM0426

UM0426

Smart Card
+3V3 R94 R99 10K 10K PD11 U18 SPI1_MISO SPI1_SCK SmartCard_IO SmartCard_CLK SmartCard_OFF +3V3 C68 47uF SPI1_MOSI MicroSDCard_CS +3V3 R115 R117 0 PB12 PE14 0 PB10 TP9 AUX2 TP10 AUX1 SmartCard_3/5V PA6 R82 PA5 PA7 PC12 R81 0 0

+3V3 R98 4K7

+3V3

R97 4K7

+5V

C62

1 2 3 4 100nF 5 6 7 100nF 8 9 10 11 12 13 14 PB11 PE7 C65 100nF CLKDIV1 AUX2UC CLKDIV2 AUX1UC I/OUC 5V/3V XTAL2 PGND XTAL1 C1+ OFF Vddp GND C1Vdd Vup RSTIN PRES PRES CMDVCC I/O PORADJ AUX2 Vcc AUX1 RST CGND CLK +3V3 R95 10K R96 10K 5 6 7 8 GND VCC NC RST I/O CLK NC NC CN16 C816 17 18 100K +3V3 R100 1 2 3 4 SmartCard_RST SmartCard_CMDVCC ST8024CDR C66 100nF

Figure 26. Smartcard and MicroSD card

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

CN15 PJS008-2000 SMS064FF

MicroSD card

1. Clock divider fixed to 1. 2.AUX1&2 connected to Vdd? 3. USART_CK connect to XTAL1to provide clock to card? 4. Need 2 IO pins(PD11&PE7) for 3/5V control and card activition.

STMicroelectronics
Title:

STM32F10X-128K-EVAL SD&Smart Card


Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 7 of
11

9 1 2 3 4 5 6 7 8

C63 100nF

C69 330nF

C67 47uF

C64

Schematics

35/46

36/46

Schematics

+3V3

Motor control connector


CN14

R61 3.3K

MC_EmergencySTOP

PE15 R53 0

C48 1nF R54 0 C49 100nF PC0 0 +3V3 C51 100nF

Figure 27. Motor control

MC_CurrentA/BNC MC_NTC MC_DissipativeBrake +5V MC_PFCpwm MC_EnA/WAKEUP MC_EnB MC_connector PB1 PA0 PA1 PD10 PD13

PC1

R55

MC_UH MC_UL MC_VH MC_VL MC_WH MC_WL

PE9 PE8 PE11 PE10 PE13 PE12

PA3 R20 100K

MC_BusVoltage

0 C50 do not fit R56

MC_CurrentB

PC2

R57

MC_HeatsinkTemperature

0 C52 do not fit

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 EMERGENCY STOP MC-UH MC_UL MC_VH MC_VL MC_WH MC_WL CURRENT A CURRENT B CURRENT C NTC BYPASS RELAY DISSIPATIVE BRAKE +5V POWER PFC SYNC PFC PWM Encoder A Encoder B PA2 C71 do not fit JP12 C78 do not fit GND GND GND GND GND GND BUS VOLTAGE GND GND GND GND GND Heatsink Temperature 3.3V Power GND GND Encoder Index

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

MC_CurrentC

PC3

R58

0 C53 do not fit

MC_EnIndex

MC_PFCsync2 JP8 C75 do not fit C72 do not fit C73 10nF C74 do not fit

PD2

MC_PFCsync1

PB0

C76 do not fit

STMicroelectronics
Title:

STM32F10X-128K-EVAL Motor Control


Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 8 of
11

UM0426

UM0426

+3V3 JP10

PB4

RESET#

R101 R103 R104 10K 10K 10K

R122 10K

TMS/SWDIO TCK/SWCLK TDO/SWO TDI TRST RESET# R102 10K

Trace connector
CN7 JTAG +3V3 RESET# PB4 PA15 +3V3 PB3 PA14 PA13 +3V3 PA13 PA14 R105 do not fit R109 10K R110 10K 10K RTCK PB3 RESET# DBGRQ DBGACK R111 CN9 SWD

CN10 Trace

+3V3

PA13

Figure 28. JTAG and SWD debugger

PA14

PB3

PA15

RESET# PE3 PB3 PE4 PB4

PE2

10 9 8 7 6 5 4 3 2 1

R124 0 R129 do not fit R125 0 R130 do not fit

SWD connector

PE5

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

PE6

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

TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK

JTAG connector

CN10 will suppot both legacy JTAG and future JTAG by 0 ohm resistors.

STMicroelectronics
Title:

STM32F10X-128K-EVAL JTAG&SWD
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 9 of
11

Schematics

37/46

DC-10B Z1 SMAJ5.0A-TR C11 100nF BNX002-01 1

Figure 29. Power supply

SG CG1 CG2 CG3

4 5 6

C12 10uF

C14 470uF

GND

38/46
U8 1 SV CV Vin Vout 2 3 3 2 C13 10uF C15 100nF E5V +5V U7 LD1086D2M33 TP1 3V3 +3V3

Schematics

U6 ZEN056V130A24LS

CN4

1 2 3

Power regulator
TP2 5V +5V R22 2 300 LD5 red 1

U5V 5 3 1

D5V

E5V

JP4

6 4 2

Jumper for choice between power connector and daughter board

TP3 Ground

STMicroelectronics
Title:

STM32F10X-128K-EVAL Power
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 10 of
11

UM0426

UM0426

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]

Extension connector
CN12 PC1 PC3 PA1 PA3 PA4 PA6 PC4 PB0 PE7 PE9 PE11 PE13 PE15 PB10 PB13 PB15 PD9 PD11 PD13 PD15 +3V3 D5V Header 25X2 CN13 PC13 PE5 PE3 PE2 PE0 PB11 PB12 PB14 PD8 PD10 PD12 PD14 PA5 PA7 PC5 PB1 PB2 PE8 PE10 PE12 PE14 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 PC0 PC2 PA0 PA2

Figure 30. Extension connectors

RESET#

RESET#

PE6 PE4 PC13 R59 R60 PE1 PB9 PB7 820 820 PB4 PD6 PD4 PD3 PD1 PC12 PC10 PA14 PD7 PD5 D5V PB8 PB6 PB5 PB3

Connect 3.3V to extension connector, it may be not compatible with daughter board for STR910&STR750

PA12 PA10 PA8 PC8 PC6

PD2 PD0 PC11 PA15 PA13 PA11 PA9 PC9 PC7

STMicroelectronics
Title:

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 Header 25X2

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

STM32F10X-128K-EVAL Extension
Number:MB525 Rev: B.1(PCB.SCH) Date: 2007-06-21 Sheet 11 of
11

Schematics

39/46

HSYNC Enable VSYNC DotClk

40/46
CN1 VDD R2 4K7 BSW2 R4 do not fit PD6 PD4 PD2 PD0 VDD 10K PD17 4K7 PD16 4K7 RP4 16-pin connector to mother board only for serial signal of color LCD CN2 10K RP5 R10 R9 BLVDD BSW2 BSW1 38 39 BWS2 BWS1 10K RP2 Enable DotClk HSYNC VSYNC 1 2 3 4 Enable DotClk HSYNC VSYNC PD14 PD12 PD10 PD8 CS SCL SDI RS WR RD SDO #RESET CS SCL SDI RS WR RD SDO RESET CN3 RP1 1 2 3 4 5 6 7 8 CS SCL SDI RS SDO WR RD CS SCL SDI RS SDO WR RD RESET VDD VCI VCI #RESET VDD 30 31 32 A K C1 1uF/50V BLGND 7 6 5 4 R6 100K BLGND R7 15 PD7 PD5 PD3 AM-240320LTNQW01H or AM240320L8TNQW-00H PD1 10K A K GND GND GND GND 11 5 6 7 8 46 9 10 BL_Control 9 10 11 12 13 14 15 16 BLGND VDD VCI GND GND BL_VDD BL_Control BL_GND BL_GND Color LCD module PD15 PD13 PD11 PD9 52 53 40 45 50 51

Schematics

C3 1uF/50V

RP6 10K

R1 4K7 BSW1

R3 do not fit

BLVDD

22uH

Z1

L1

STPS1L40M

C2 2.2uF

U2

Figure 31. MB542 daughter board schematics

BLGND

8 2 3 1

SW Vout Vin LDS SHDN FB GND Rset

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

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

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

BL_Control R5 0

BLGND

STLD20D-C8

BLVDD

R8 do not fit

PD17 PD15 PD13 PD11 PD9 PD7 PD5 PD3 PD1 DotClk Enable

22 20 18 16 14 12 10 8 6 4 2

21 19 17 15 13 11 9 7 5 3 1 do not fit

PD16 PD14 PD12 PD10 PD8 PD6 PD4 PD2 PD0 VSYNC HSYNC

22-pin connector for parallel interface of color LCD, do not fit for MB542

STMicroelectronics
Title:

Color LCD module for MB525 board

UM0426

Number:MB542

Rev: B.3(PCB.SCH)

Date: 2007-10-15

Sheet 1 of

UM0426

STM3210B-EVAL IO assignments

Appendix A
Table 25.
LQFP100 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

STM3210B-EVAL IO assignments
Evaluation board IO assignments
Level Pin name PE2 PE3 PE4 PE5 PE6 VBAT PC13-ANTI_TAMP PC14-OSC32_IN PC15OSC32_OUT 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 Type Input I/O I/O I/O I/O I/O S I/O I/O I/O S S I O I/O I/O I/O I/O I/O S S S S I/O I/O I/O I/O S S I/O TC External Flash TC TC TC TC MC_TIM2_CH1 pin 31/WAKEUP Button MC_TIM2_CH2 pin 33 MC_TIM4_CH3 pin 34 MC_ADC3 pin 14 TC TC TC TC TC TC RESET# MC_ADC10 pin 26 MC_ADC11 pin 15/BNC connector MC_ADC12 pin 17 MC_ADC13 pin 19 TC TC Anti-tamper button 32K OSC 32K OSC FT FT FT FT FT Output Debug connector Debug connector Debug connector Debug connector Debug connector EVAL board IO assignment

41/46

STM3210B-EVAL IO assignments Table 25.


LQFP100 30 31 32 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

UM0426

Evaluation board IO assignments


Level Pin name PA5 PA6 PA7 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 Type Input I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O S S I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O FT FT FT FT FT FT FT FT FT FT FT FT SmartCard_CK LCD CLK LCD DO LCD DI JOY_UP USB DISCONNECT MC_pin21 SmartCard_3/5V JOY_SEL MC_TIM4_CH2 pin 23 JOY_DOWN LCD_WR TC TC TC TC TC TC TC FT FT FT FT FT FT FT FT FT FT FT FT Output External Flash/Sdcard External Flash/Sdcard External Flash/Sdcard Potentiometer Mirco ADC in MC_TIM3_CH3 pin 27 MC_TIM3_CH4 pin 29 Boot1/ LCD CS SmartCard_CMDVCC MC_TIM1_CH1N pin 5 MC_TIM1_CH1 pin 3 MC_TIM1_CH2N pin 9 MC_TIM1_CH2 pin 7 MC_TIM1_CH3N pin 13 MC_TIM1_CH3 pin 11 SmartCard_Detect MC_STOP pin 1 SmartCard_IO SmartCard_Reset EVAL board IO assignment

42/46

UM0426 Table 25.


LQFP100 63 64 65 66 67 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

STM3210B-EVAL IO assignments Evaluation board IO assignments


Level Pin name PC6 PC7 PC8 PC9 PA8 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 S S I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I I/O FT Audio PWM FT FT FT FT FT FT FT FT FT FT FT FT FT TC TC TC FT FT Debug TCK Debug TDI IRDA TX IRDA RX SD CS CAN RX CAN TX MC_TIM3_ETR pin 27 USART2 CTS USART2 RTS USART2 TX USART2 RX LCD_RS Debug TDO Debug TRST Temperature SMBIA Temperature SCL Temperature SDA Type Input I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O FT FT FT FT FT FT FT FT FT FT Output LED LED LED LED LCD backlight control USART1 TX USART1 RX USB DM USB DP Debug TMS EVAL board IO assignment

43/46

STM3210B-EVAL IO assignments Table 25.


LQFP100 96 97 98 99 100

UM0426

Evaluation board IO assignments


Level Pin name PB9 PE0 PE1 VSS_3 VDD_3 Type Input I/O I/O I/O S S FT FT FT Output User Button JOY_RIGHT JOY_LEFT EVAL board IO assignment

44/46

UM0426

Revision history

Revision history
Date 2-May-2006 23-May-2007 Revision 1 2 Initial release. Corrected product name: used to be STM32F10X-128K-EVAL, now STM3210B-EVAL. Default setting for jumper JP1 corrected in Table 10: USB jumpers. Schematics updated in Section 3: Schematics. Corrected error in Table 20: Daughter board extension connector CN12. The functions of pin 8 and pin 46 were inverted. Added LCD description in Section 1.1: LCD configuration on page 7. Changes

22-Aug-2007

29-Oct-2007

45/46

UM0426

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.

2007 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 - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com

46/46

S-ar putea să vă placă și