STMicroelectronics STM32F10x 128K Evaluation board User manual
Реклама
Реклама
UM0426
User manual
STM3210B-EVAL
Evaluation board
Introduction
The STM3210B-EVAL is an evaluation board for STMicroelectronic’s ARM
TM
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 I
2
C channels, two SPI channels, three USART channels with smart card support, internal 20KB SRAM and 128KB Flash, JTAG and SWD debugging support.
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, Smart card, 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)
May 2007 Rev 2 1/42 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 smart card support
8Mbyte serial Flash
I
2
C/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/42
UM0426
Contents
Contents
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
USB type B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CAN D-type 9-pin male connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Analog input connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Power supply connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
RS232 connector CN5 with RTS/CTS handshake support . . . . . . . . . . . 17
RS232 connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
JTAG debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
SWD debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Trace debugging connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3/42
Contents UM0426
Daughter board extension connectors CN12 and CN13 . . . . . . . . . . . . . 20
Motor control connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
MicroSD connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Smartcard connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Appendix A STM3210B-EVAL IO assignments . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4/42
UM0426
1
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,
Smart card, MicroSD card and motor control).
will help you locate these features on the evaluation board.
Figure 2.
Hardware block diagram
Fixed 3.3V
Power Supply
ADC
PWM
Audio Circuit
8Mbyte Flash
64MByte
MicroSD card
LCD Module
Temperature sensor
Motor control connector
10-pin SWD connector
20-pin JTAG connector
20-pin future
JTAG connector with
Trace
SPI1
SPI2
GPIO
USART1
I2C1
STM32F103VBT6
USART2
USART3
MC Smart card
CAN
Debug
ADC
USB
RS232 transceiver
RS232 transceiver
IrDA transceiver
Smart card interface chip
CAN transceiver
LED, Key &
Joystick
Extension
Connector for
GPIOs
USART DB9 male connector
USART DB9 male connector
Smart card connector
CAN DB9 connector
BNC connector
USB Type B connector
5/42
Hardware layout and configuration
Figure 3.
STM3210B-EVAL board layout
CN12
Extension connector CN15
MicroSD card
U1
STM32F103VBT6
CN14
Motor control
CN13
Extension connector
UM0426
CN5
USART2
CN2
CAN connector
CN6
USART1
CN9
SWD
CN10
Trace
U11
IrDA
CN1
USB
CN7
JTAG
U17
Color LCD
CN8
Audio jack
RV1
Potentiometer
CN4
5V power
U17
MIC
6/42
B1
RESET
B2
WAKEUP
CN16
Smartcard
B4
Tamper
U18
Joystick
B3
General purpose key
UM0426 Hardware layout and configuration
Hardware 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
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
7/42
Hardware layout and configuration UM0426
Table 1.
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 STM3210B-EVAL only,
JP4 is set as shown below (default setting):
For power supply from the daughter board connectors (CN12 and CN13) to the
STM3210B-EVAL only, JP4 is set as shown below:
JP4
For power supply from USB (CN1) to the STM3210B-EVAL only, JP4 is set as shown below:
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.
JP9
Measures the consumption of VDD and VDDA.
Default setting: Fitted
V bat
is connected to 3.3V power when JP11 is set as shown below (default setting):
1 2 3
JP11
V bat
is connected to battery when JP11 is set as shown below:
1 2 3
The LED LD5 is lit when the STM3210B-EVAL board is powered correctly.
8/42
UM0426 Hardware layout and configuration
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 2
.
The two possible positions of these micro switches are shown in
Figure 5.
Switch positions
Switch in position “1”
Switch in position “0”
Table 2.
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 doesn’t affect the boot process.
Boot 0 = 0, Boot 1 = X
Switch configuration
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
9/42
Hardware layout and configuration UM0426
●
●
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.
●
●
●
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
Table 3.
Jumper
JP10
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
1.5 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 4.
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
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.
10/42
UM0426 Hardware layout and configuration
1.7 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.
Table 5.
Jumper
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
JP3
CAN transceiver functions in slope control mode when JP2 is not fitted.
(Default setting)
CAN terminal resistor is enabled when JP3 is fitted.
Default setting: Not fitted
1.8 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.
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.
11/42
Hardware layout and configuration UM0426
Table 6.
Jumper
JP8
JP12
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)
The STMicroelectronics smart card interface device ST8024 is used on the STM3210B-
EVAL board for asynchronous 3V and 5V smart cards. It performs all supply protection and control functions based on the connections with the STM32F10X microcontroller, which are listed in
Table 7.
Connection between ST8024 and STM32F10X
ST8024 signals
5V/3V
I/OUC
XTAL1
OFF
RSTIN
CMDVCC
Description
Smart card 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
The 64Mbyte MicroSD card, SMS064FF, 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.
One I
2
C interface temperature sensor STLM75 (–55°C to +125°C), which is connected to
I
2
C1 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 I
2
C bus.
12/42
One BNC connector, CN3, is connected to PC1, the ADC channel 11 of the STM32F10x microcontroller as an external analog input.
UM0426 Hardware layout and configuration
1.14 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 8.
Jumper
JP5
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
1.15 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 9.
Jumper
USB jumpers
Description
USB 1.5K pull-up register is always connected to USB+ line when JP1 is set as shown below (default setting):
JP1
1 2 3
USB 1.5K pull-up register can be disconnected by software from the USB+ line when
JP1 is set as shown below. In this case USB connect/disconnect features are managed by the standard IO port PD9.
1 2 3
1.16 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.
13/42
Hardware layout and configuration UM0426
1.17 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 10.
LCD modules
Graphic LCD U17 (default)
Pin on
U17
13
14
15
16
9
10
11
12
7
8
5
6
3
4
1
2
Description
CS
SCL
SDI
RS
WR
RD
SDO
RESET#
VDD
VCI
GND
GND
BL_VDD
BL_Control
BL_GND
BL_GND
Character LCD U19 (optional)
+3V3
+3V3
GND
GND
+3V3
PA8
GND
GND
PB2
PB13
PB15
PD7
PD15
GND
PB14
RESET#
Pin connection
7
8
5
6
3
4
1
2
Pin on
U19
Description
A
K
SID
CS
Vss
Vcc
VO
CLK
Pin connection
GND
+3.3V
-
PB13
PB15
PB2
+5V
GND
14/42
UM0426
2 Connectors
2.1 USB type B connector CN1
Figure 6.
USB type B connector CN1 (front view)
Connectors
2.2
Table 11.
USB type B connector (CN1)
Pin number Description
1
2
3
VBUS(power)
DM
DP
Pin number
4
5, 6
GND
Shield
Description
CAN D-type 9-pin male connector CN2
Figure 7.
CAN D-type 9-pin male connector CN2 (front view)
Table 12.
CAN D-type 9-pin male connector (CN2)
Pin number Description Pin number
1, 4, 8, 9
2
NC
CANL
7
3, 5, 6
CANH
GND
Description
15/42
Connectors
2.3 Analog input connector CN3
Figure 8.
Analog input connector CN3 (top view)
1
4
5
2
3
UM0426
2.4
Table 13.
Analog input connector CN3
Pin number Description
1
2
3
GND
GND
GND
Pin number
4
5
Description
GND
Analog input/PC1
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 9 . The central pin of CN4 must be positive.
Figure 9.
Power supply connector CN4 (front view)
DC +5V
GND
16/42
UM0426
2.5
Connectors
RS232 connector CN5 with RTS/CTS handshake support
Figure 10.
RS232 connector CN5 with RTS/CTS handshake support (front view)
2.6
Table 14.
RS232 connector CN5 with full modem control support
Pin number Description Pin number
3
4
1
2
5
NC
USART2_RXD
USART2_TXD
Connect to Pin 6
GND
8
9
6
7
Description
Connect to Pin 4
USART2_RTS
USART2_CTS
NC
RS232 connector CN6
Figure 11.
RS232 connector CN6 (front view)
Table 15.
RS232 connector CN6
Pin number Description
1
2
3
4
5
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
17/42
Connectors
2.7 JTAG debugging connector CN7
Figure 12.
JTAG debugging connector CN7 (front view)
19 17 15 13 11 9 7 5 3 1
UM0426
2.8
2.9
20 18 16 14 12 10 8 6 4 2
Table 16.
JTAG debugging connector
Pin number Description
9
11
13
15
17
19
5
7
1
3
3.3V power
TRST
TDI
TMS
TCK
RTCK
TDO
RESET#
DBGRQ
DBGACK
Pin number
10
12
14
16
18
20
6
8
2
4
Description
3.3V power
GND
GND
GND
GND
GND
GND
GND
GND
GND
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.
SWD debugging connector CN9
Figure 13.
SWD debugging connector CN9 (top view)
9 7 5 3 1
10 8 6 4 2
18/42
UM0426 Connectors
Table 17.
SWD debugging connector (CN9)
Pin number Description
1
3
5
7
9
+3V3
GND
GND
GND
GND
Pin number
8
10
2
4
6
Description
SWDIO/PA13
SWCLK/PA14
SWO/PB3
TDI/PA15
RESET#
2.10 Trace debugging connector CN10
Figure 14.
Trace debugging connector CN10 (front view)
19 17 15 13 11 9 7 5 3 1
20 18 16 14 12 10 8 6 4 2
Table 18.
Trace debugging connector (CN10)
Pin number Description Pin number
9
11
5
7
1
3
3.3V power
GND
GND
GND
GND
GND
10
12
6
8
2
4
13 GND 14
15
17
19
GND
GND
GND
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
19/42
Connectors UM0426
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 19.
Daughter board extension connector CN12
Pin Description
How to disconnect from function block on
STM3210B-EVAL board
1 GND
3
5
7
9
11
13
23
25
27
35
37
39
29
31
33
41
43
15
17
19
21
PC1
PC3
PA1
PA3
PA4
PA6
PC4
PB0
GND
PE7
PE9
PE11
PE13
PE15
NC
PB10
PB13
PB15
GND
PD9
PD11
-
MC connector pin 15
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 19
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 33
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 14
Disconnect STM3210B-EVAL board from motor power drive board
SPI Flash Remove R63
SPI Flash & MicroSD card
Remove R65 and R82
Potentiometer RV1 Remove R80
MC connector pin 27 JP8 is not fitted
-
Smart card -
MC connector pin 3
MC connector pin 7
Disconnect STM3210B-EVAL board from motor power drive board
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 11
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 1 Remove R53
-
Smart card Remove R115
LCD
LCD
-
-
-
45 PD13
Smart card
MC connector pin 23
-
Disconnect STM3210B-EVAL board from motor power drive board
20/42
UM0426 Connectors
Table 19.
Daughter board extension connector CN12 (continued)
Pin Description
How to disconnect from function block on
STM3210B-EVAL board
47
49
2
4
6
8
10
12
14
16
18
20
22
24
26
34
36
38
40
28
30
32
42
44
46
PD15
D5V
PC0
PC2
PA0
PA2
GND
PA5
PA7
PC5
PB1
PB2
PE8
PE10
PE12
PE14
GND
NC
PB11
PB12
PB14
PD8
PD10
PD12
PD14
LCD
-
-
MC connector pin 26
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 17
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 31
& wakeup button
Disconnect STM3210B-EVAL board from motor power drive board
Remove R85
Joystick Down Remove R73
-
SPI Flash & MicroSD card
-
-
SPI Flash & MicroSD card
-
Microphone Remove R71
MC connector pin 29
BOOT & LCD -
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 5
MC connector pin 9
Disconnect STM3210B-EVAL board from motor power drive board
Disconnect STM3210B-EVAL board from motor power drive board
MC connector pin 13
Disconnect STM3210B-EVAL board from motor power drive board
Smart card
-
-
Smart card
Smart card
LCD
-
-
Remove R117
-
-
Remove LCD module
Joystick Up
MC connector pin 21
Remove R76
Disconnect STM3210B-EVAL board from motor power drive board
Joystick selection Remove R72
MC connector pin 34
Disconnect STM3210B-EVAL board from motor power drive board
21/42
Connectors UM0426
Table 19.
Daughter board extension connector CN12 (continued)
Pin Description
How to disconnect from function block on
STM3210B-EVAL board
48
50
+3V3
GND -
-
-
-
Table 20.
Daughter board extension connector CN13
Pin Description
How to disconnect from component on
STM3210B-EVAL board
-
39
41
43
45
47
49
2
4
6
8
27
29
31
33
35
37
15
17
19
21
23
25
11
13
7
9
1
3
5
GND
PA12
PA10
PA8
PC8
PC6
PD4
PD3
PD1
PC12
PC10
PA14
NC
PC13
PE5
PE3
PB9
PB7
D5V
PB4
NC
PD6
GND
NC
PE6
PE4
PC13
RESET#
PE1
Debug TraceD3
Debug TraceD1
Tamper key -
-
-
RESET# button
Joystick Left
User button Remove R78
Temperature sensor Remove R114
-
-
Remove R74
Debug nTRST
-
USART2
-
JP10 is not fitted
Remove R77
USART2
USART2
CAN_TX
MicroSD card
IrDA
Debug TCK
-
-
-
-
Remove R79
Remove R81
-
USB
USART1_RX
LCD
LED3
LED1
-
-
Remove R70
-
Remove R6
Remove R8
Tamper button
Debug TraceD2
Debug TraceD0 -
-
Remove R62
22/42
UM0426 Connectors
Table 20.
Daughter board extension connector CN13 (continued)
Pin Description
How to disconnect from component on
STM3210B-EVAL board
32
42
44
46
48
50
34
36
38
40
18
20
22
24
10
12
14
16
26
28
30
PD0
PC11
PA15
PA13
PA11
PA9
PC9
PC7
GND
GND
PE2
PE0
PB8
PB6
PB5
PB3
NC
PD7
PD5
GND
PD2
-
Debug trace CLK -
-
Joystick Right
Speaker
Remove R75
Unfitted JP6
Temperature sensor Remove R113
Temperature sensor Remove R112
Debug SWO
-
-
-
LCD
USART2
-
-
-
-
MC connector pin 27
CAN_RX
Disconnect STM3210B-EVAL board from motor power drive board
Remove R116
IrDA
Debug TDI
Debug TMS
USB
USART1_TX
LED4
LED2
-
-
-
Remove R64
-
-
Remove R5
-
Remove R7
2.12 Motor control connector CN14
Figure 15.
Motor control connector CN14 (top view)
33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1
34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
23/42
Connectors UM0426
Table 21.
Motor control connector CN14
Description
Pin of
STM32F10X
Pin number on CN1
Pin number on CN1
Pin of
STM32F10x
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
PE15
PE9
PE8
PE11
PE10
PE13
PE12
PC1
PC2
PC3
PD10
PD13
1
11
13
7
9
3
5
15
17
19
21
23
2
8
10
4
6
12
14
16
18
20
22
24
PA3
Description
GND
GND
GND
GND
GND
GND
BUS VOLTAGE
GND
GND
GND
GND
GND
+5V power
PFC SYNC
PFC PWM
Encoder A
Encoder B
PD2/PB0
PB1
PA0
PA1
25
27
29
31
33
26
28
30
32
34
PC0
PD14
Heatsink temperature
3.3V power
GND
GND
Encoder Index
24/42
UM0426
2.13 MicroSD connector CN15
Figure 16.
MicroSD connector CN15 (top view)
Connectors
Table 22.
MicroSD connector CN15
Pin number Description
3
4
1
2
Reserved
CS/PC12
DI/PA7
VDD
Pin number
5
6
7
8, 9
Description
SCLK/PA5
Vss/GND
DO/PA6
Reserved
2.14 Smartcard connector CN16
Figure 17.
Smartcard connector CN16 (top view of connector underneath PCB)
25/42
Schematics
Table 23.
Smartcard connector CN16
Pin number Description
1
2
3
4
17
VCC
RST
CLK
NC
Card presence detection pin
UM0426
Pin number
5
6
7
8
18
Description
GND
NC
I/O
NC
Card presence detection pin
3 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 18
MCU connections, see Figure 19
EEPROM, USB, LED, CAN and temperature sensor, see
USART1, USART2, IrDA, see
Audio amplifier and micro amplifier, see
Motor control,
Power supply, see
Extension connectors, see
Joystick, LCD, tamper button, wakeup button, user button, see
26/42
UM0426
Figure 18.
Evaluation board schematics
Schematics
27/42
Schematics
Figure 19.
MCU connections
UM0426
28/42
2
1
3
UM0426
Figure 20.
EEPROM, USB, LED, CAN and temperature sensor
Schematics
2
2
1
3
2
3 1
2
2
29/42
Schematics
Figure 21.
USART1, USART2, IrDA
UM0426
30/42
UM0426
Figure 22.
Audio amplifier and micro amplifier
Schematics
2
1 3
31/42
Schematics
Figure 23.
Joystick, LCD, tamper button, wakeup button, user button
UM0426
2
3 4
1 2
3 4
1 2
3 4
1
10K
R41
R42
10K
R45
10K
R44
R43
10K
10K nF nF nF nF nF
100
100
100
100
100
C41
C42
C40
C43
C44
32/42
UM0426
Figure 24.
Smart card and MicroSD card
3
2
4
9
1
8
7
6
5
Schematics
33/42
Schematics
Figure 25.
Motor control
UM0426
34/42
0 C5
UM0426
Figure 26.
JTAG and SWD debugger
Schematics
PB4
RESET#
35/42
Schematics
Figure 27.
Power supply
GND
1
UM0426
36/42
2
UM0426
Figure 28.
Extension connectors
Schematics
37/42
STM3210B-EVAL IO assignments
Appendix A STM3210B-EVAL IO assignments
UM0426
23
24
25
26
27
28
29
10
11
12
13
14
15
Table 24.
Evaluation board IO assignments
Level
LQFP100 Pin name Type
Input Output
7
8
5
6
3
4
1
2
9
PE2
PE3
PE4
PE5
PE6
VBAT
I/O
S
PC13-ANTI_TAMP I/O
PC14-OSC32_IN I/O
I/O
I/O
I/O
I/O
PC15-
OSC32_OUT
VSS_5
VDD_5
OSC_IN
OSC_OUT
NRST
PC0
I/O
I
O
S
S
I/O
I/O
FT
FT
FT
FT
FT
TC
TC
TC
TC
TC
16 PC1 I/O TC
TC
TC
EVAL board IO assignment
Debug connector
Debug connector
Debug connector
Debug connector
Debug connector
Anti-tamper button
32K OSC
32K OSC
RESET#
MC_ADC10 pin 26
MC_ADC11 pin 15/BNC connector
MC_ADC12 pin 17
MC_ADC13 pin 19
17
18
19
20
21
22
PC2
PC3
VSSA
VREF-
VREF+
VDDA
I/O
I/O
S
S
S
S
PA0-WKUP
PA1
PA2
PA3
VSS_4
VDD_4
PA4
I/O
I/O
I/O
I/O
S
S
I/O
TC
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
External Flash
38/42
UM0426 STM3210B-EVAL IO assignments
Table 24.
Evaluation board IO assignments
Level
LQFP100 Pin name Type
Input Output
54
55
56
57
58
59
60
61
62
48
49
50
51
52
53
42
43
44
45
46
47
34
35
36
37
38
39
40
41
30
31
32
33
PB15
PD8
PD9
PD10
PD11
PD12
PB11
VSS_1
VDD_1
PB12
PB13
PB14
PD13
PD14
PD15
PE11
PE12
PE13
PE14
PE15
PB10
PC5
PB0
PB1
PB2
PE7
PA5
PA6
PA7
PC4
PE8
PE9
PE10
FT
FT
FT
FT
FT
FT
FT
FT
FT
FT
FT
FT
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
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
TC
TC
TC
FT
FT
FT
FT
FT
TC
TC
TC
TC
EVAL board IO assignment
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
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
39/42
STM3210B-EVAL IO assignments UM0426
Table 24.
Evaluation board IO assignments
Level
LQFP100 Pin name Type
Input Output
87
88
89
90
91
92
93
94
95
81
82
83
84
85
86
75
76
77
78
79
80
67
68
69
70
71
72
73
74
63
64
65
66
PD6
PD7
PB3
PB4
PB5
PB6
PD0
PD1
PD2
PD3
PD4
PD5
PB7
BOOT0
PB8
PC6
PC7
PC8
PC9
PA8
PA9
PA10
PA11
PA12
PA13
NC
VSS_2
VDD_2
PA14
PA15
PC10
PC11
PC12
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
FT
FT
FT
FT
FT
FT
FT
FT
FT
FT
TC
TC
FT
FT
FT
FT
TC
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
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
EVAL board IO assignment
LED
LED
LED
LED
LCD backlight control
USART1 TX
USART1 RX
USB DM
USB DP
Debug TMS
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
Audio PWM
40/42
UM0426 Revision history
Table 24.
Evaluation board IO assignments
Level
LQFP100 Pin name Type
Input Output
96
97
98
99
100
PB9
PE0
PE1
VSS_3
VDD_3
I/O
I/O
I/O
S
S
FT
FT
FT
EVAL board IO assignment
User Button
JOY_RIGHT
JOY_LEFT
Appendix B Revision history
Date
2-May-2006
23-May-2007
Revision
1
2
Changes
Initial release.
Corrected product name: used to be STM32F10X-128K-EVAL, now
STM3210B-EVAL.
41/42
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 ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes 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 ST’S 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 USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately 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
42/42
Скачать
Реклама