UM0488 User manual - Schukat · EVAL is designed as a complete development platform for...
Transcript of UM0488 User manual - Schukat · EVAL is designed as a complete development platform for...
June 2008 Rev 2 1/48
48
UM0488User manualSTM3210E-EVALevaluation board
IntroductionThe STM32F103Z evaluation board STM3210E-EVAL is designed as a complete development platform for STMicroelectronic's ARM Cortex-M3 core-based STM32F103Z microcontroller with full speed USB2.0, CAN2.0A/B compliant interface, two I2S channels, two I2C channels, five USART channels with smartcard support, three SPI channels, two DAC channels, FSMC interface, SDIO, internal 64KB SRAM and 512KB Flash, JTAG and SWD debugging support.
The full range of hardware features on the board is intended to help you evaluate all peripherals (USB, motor control, CAN, MicroSD card, smartcard, USART, NOR Flash, NAND flash, SRAM) and develop your own applications. Extension headers make it possible to easily connect a daughter board or wrapping board for your specific application.
Features■ Three 5 V power supply options: power jack,
USB connector or daughter board
■ Boot from user Flash, system memory or SRAM
■ I2S Audio DAC, stereo audio jack
■ 128 Mbyte MicroSD card
■ Both A and B type smartcard support
■ 64 or 128 Mbit serial Flash, 512 Kx16 SRAM, 512 Mbit or 1 Gbit NAND Flash and 128 Mbit NOR Flash
■ I2C/SMBus compatible serial interface temperature sensor
■ Two RS232 channels with RTS/CTS handshake support on one channel
■ IrDA transceiver
■ USB2.0 full speed connection
■ CAN2.0A/B compliant connection
Figure 1. STM3210E-EVAL evaluation board
■ Inductor motor control connector
■ JTAG and trace debug support
■ 240x320 TFT color LCD
■ Joystick with 4-direction control and selector
■ Reset, wakeup, tamper and user buttons
■ 4 color LEDs
■ RTC with backup battery
Demonstration softwareTo use the STM3210E-EVAL evaluation board, you must have the demonstration software version 1.1 or later. If the version installed on your evaluation board is earlier than version 1.1, you must download the latest version from www.st.com.
Order codeTo order the STM32F103Z evaluation board, use the order code STM3210E-EVAL.
www.st.com
Contents UM0488
2/48
Contents
1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.8 RS232 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.9 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.10 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.11 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.12 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.13 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.14 IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.15 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.16 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.17 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.18 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.19 NAND Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.20 NOR Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.1 Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2 Analog input connectors CN2, CN3 and CN5 . . . . . . . . . . . . . . . . . . . . . 17
2.3 CAN D-type 9-pin male connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.4 QST connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.5 Trace debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.6 RS232 connector CN8 with RTS/CTS handshake support . . . . . . . . . . . 19
2.7 JTAG debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.8 Daughter board extension connectors CN10 and CN11 . . . . . . . . . . . . . 20
UM0488 Contents
3/48
2.9 RS232 connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.10 MicroSD connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.11 USB type B connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.12 Audio jack CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.13 TFT LCD connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.14 Power connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.15 Smartcard connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3 Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A STM3210E-EVAL IO assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Hardware layout and configuration UM0488
4/48
1 Hardware layout and configuration
The STM3210E-EVAL evaluation board is designed around the STM32F103Z microcontroller in a 144-pin TQFP package. The hardware block diagram Figure 2 illustrates the connection between the STM32F103Z and peripherals (LCD, SPI Flash, USART, IrDA, USB, audio, CAN bus, smartcard, MicroSD card, NOR Flash, NAND Flash, SRAM, temperature sensor, audio DAC and motor control) and Figure 3 will help you locate these features on the actual evaluation board.
Figure 2. Hardware block diagram
UM0488 Hardware layout and configuration
5/48
Figure 3. STM3210E-EVAL evaluation board layout
CN10Extension connector
CN8USART2
U1STM32F103Z
CN2,3,5BNC
U13IrDA
CN14USB
CN12USART1
B1RESET
B2WAKEUP
CN18Smartcard
B3Tamper
U19Joystick
B4User key
CN1Motor control
CN4CAN connector
CN6QST
CN7Trace
CN9JTAG
U17Color LCD
CN15Audio jack
RV1Potentiometer
CN11Extension connector
CN13MicroSD card
CN175V power
Hardware layout and configuration UM0488
6/48
1.1 Power supplyThe STM3210E-EVAL evaluation board is designed to be powered by 5V DC power supply and to be protected by PolyZen U15 in the event of wrong power plug-in. It is possible to configure the evaluation board to use any of following three sources for the power supply:
● 5V DC power adapter connected to CN17, the power jack on the board (PSU on silk screen for power supply unit).
● 5V DC power with 500 mA limitation from CN14, the type-B USB connector (USB on silkscreen).
● 5V DC power from both CN10 and CN11, the extension connector for daughter board (DTB for daughter board on silkscreen).
The power supply is configured by setting the related jumpers JP13, JP12 and JP1 as described in Table 1.
The LED LD5 is lit when the STM3210E-EVAL evaluation board is powered correctly.
Table 1. Power related jumpers
Jumper Description
JP13
JP13 is used to select one of the three possible power supply resources.For power supply jack(CN17) to the STM3210E-EVAL only, JP13 is set as shown (default setting).
For power supply from the daughter board connectors(CN10 and CN11) to STM3210E-EVAL only, JP13 is set as shown.
For power supply from USB (CN14) to STM3210E-EVAL only, JP13 is set as shown.
For power supply from power supply jack(CN17) to both STM3210E-EVAL and daughter board connected on CN10 and CN11, JP13 is set as shown (daughter board must not have its own power supply connected).
JP12Enables consumption measurements of both VDD and VDDA.
Default setting: Fitted
JP1
Vbat is connected to 3.3V power when JP1 is set as shown (default setting).
Vbat is connected to battery when JP1 is set as shown.
PSU
DTB
U
SB
PS
U
DTB
U
SB
PSU
D
TB
US
B
PSU
DTB
USB
1 2 3
1 2 3
UM0488 Hardware layout and configuration
7/48
1.2 Boot optionThe STM3210E-EVAL evaluation board can boot from:
● Embedded User Flash
● System memory with boot loader for ISP
● Embedded SRAM for debugging
The boot option is configured by setting the switches BOOT0 and BOOT1.
1.3 Clock sourceTwo clock sources are available on STM3210E-EVAL evaluation board for STM32F103 and RTC.
● X2, 32KHz crystal for embedded RTC
● X1, 8MHz crystal with socket for STM32F103Z microcontroller, it can be removed from socket when internal RC clock is used.
1.4 Reset sourceThe reset signal of STM3210E-EVAL evaluation board is low active and the reset sources include:
● Reset button B1
● Debugging Tools from JTAG connector CN7 and Trace connector CN9
● Daughter board from CN11
Table 2. Boot related switches
Switch Boot fromSwitch
configuration
BOOT0BOOT1
STM3210E-EVAL boots from User Flash when BOOT0 is set as shown to the right. BOOT1 is not required in this configuration.
(Default setting)
STM3210E-EVAL boot from Embedded SRAM when BOOT0 and BOOT1 are set as shown to the right.
STM3210E-EVAL boot from System Memory when BOOT0 and BOOT1 are set as shown to the right.
0 <
> 1
Boo
t 0
0 <
> 1
Boo
t 0
Boo
t 1
0 <
> 1
Boo
t 0
Boo
t 1
Hardware layout and configuration UM0488
8/48
1.5 AudioThe STM3210E-EVAL evaluation board supports stereo audio play because it provides an audio DAC AK4343 connected to both I2S port and two channels of DAC of microcontroller STM32F103Z. Either external slave mode or PLL slave mode (reference clock BICK or LRCK) of audio DAC can be used by setting the jumper JP18.
The I2S_MCK is multiplexed with smartcard and motor control, and can be enabled by setting the jumper JP15. Refer to Section 1.9: Motor control for details. Audio DAC AK4343 is in power-down mode when PDN pin is pulled-down by PG11.
1.6 Serial FlashA 64 or 128 Mbit serial Flash connected to SPI1of STM32F103Z, serial Flash chip select is managed by IO pin PB2. The SPI1_MISO is multiplexed with motor control, it can be enabled by setting the jumper JP3. Refer to Section 1.9: Motor control for details.
1.7 CANSTM3210E-EVAL evaluation board supports CAN2.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 can be selected by setting JP8.
Table 3. Reset related jumper
Jumper Description
JP19
Enables reset of the STM32F103Z embedded JTAG TAP controller each time a system reset occurs. JP19 connects the TRST signal from the JTAG connection with the system reset signal RESET#.
Default setting: not fitted
Table 4. Audio related jumpers
Jumper Description
JP18
External slave mode (MCK from STM32F103Z) is selected when JP18 is set as shown (default setting).
PLL slave mode (reference clock BICK or LRCK) is selected when JP18 is set as shown.
1 2 3
1 2 3
UM0488 Hardware layout and configuration
9/48
1.8 RS232 connectorsTwo D-type 9-pin connectors CN12 (USART1) and CN8 (USART2) are available on the STM3210E-EVAL evaluation board. The USART1 connector is connected to RS232 transceiver U7 while the USART2 connector with RTS/CTS handshake signal support is connected to RS232 transceiver U5.
The USART2_CTS is multiplexed with motor control, it can be enabled by setting the jumper JP4. Refer to Section 1.9: Motor control for details.
1.9 Motor controlThe STM3210E-EVAL evaluation board supports three-phase brushless motor control via a 34-pin connector CN1, which provides all required control and feedback signals to and from the motor power driving board. Available signals on this connector include emergency stop, motor speed, three-phase motor current, bus voltage, heatsink temperature coming from the motor driving board and 6 channels of PWM control signals going to the motor driving circuit.
JP 20 allows to choose between two synchronization methods for power factor correction (PFC).
The I/O pins used on the motor control connector CN1 are multiplexed with some peripherals on the board; either the motor control connector or multiplexed peripherals can be enabled by setting the jumpers JP3, JP4, JP11, JP15 and JP16 as described in Table 6.
Table 5. CAN related jumpers
Jumper Description
JP8
CAN transceiver works in standby mode when JP8 is set as shown.
CAN transceiver works in high-speed mode when JP8 is set as shown (default setting).
CAN transceiver works in slope control mode when JP8 is open.
JP6CAN terminal resistor is enabled when JP6 is fitted.
Default setting: not fitted
1 2 3
1 2 3
Hardware layout and configuration UM0488
10/48
1.10 SmartcardSTMicroelectronics smartcard interface chip ST8024 is used on STM3210E-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with STM32F103Z listed in Table 7.
Table 6. Motor control related jumpers
Jumper DescriptionMultiplexed peripherals
JP20
JP20 allows to have a PFC synchronization signal redirected to the timer 3 input capture 1 pin, and additionally to the timer 3 external trigger input. JTAG debugging is disabled when JP20 is fitted. Default setting: not fitted
JP2
JP2 should be kept on open when encoder signal is input from pin 31 of CN1 while it should be kept on close when analog signal is from pin 31 of CN1 for special motor.
Default setting: not fitted
JP4
MC_EnA is enabled when JP4 is set as shown to the right (default setting):
USART2_CTS is enabled when JP4 is set as show to the right:
USART2
JP3MC_EmergencySTOP is enabled when JP3 is closed. The pin PA6 is used as SPI1_MISO when JP3 is open.
Default setting: not fittedSPI1
JP11MC_PFCpwm is enabled when JP11 is open. The pin PB5 will be used as interrupt input from temperature sensor when JP11 is closed.
Temperature sensor
JP15MC_UH or I2S_MCK are enabled when JP15 is open. The pin PC6 is used as Smartcard_CMDVCC when JP15 is closed.
I2S and smartcard
JP16MC_VH is enabled when JP16 is open. The pin PC7 is used as Smartcard_OFF when JP16 is closed
Smartcard
1 2 3
1 2 3
Table 7. Connection between ST8024 and STM32F103Z
Signals of ST8024 DescriptionConnect to STM32F10X
5V/3V Smartcard power supply selection pin PB0
I/OUC MCU data I/O line PB10
XTAL1 Crystal or external clock input PB12
OFFDetect presence of a card, interrupt to MCU, share same pin with motor controller
PC7
UM0488 Hardware layout and configuration
11/48
The Smartcard_CMDVCC and Smartcard_OFF are multiplexed with motor control. They can be enabled by setting the jumpers JP15 and JP16. Refer to Section 1.9: Motor control on page 9 for details.
1.11 MicroSD cardThe 128 Mbyte MicroSD card connected to SDIO of STM32F103Z is available on the board. MicroSD card detection is managed by standard IO port PF11.
The MicroSDcard_D3 is multiplexed with IrDA. It can be enabled by setting the jumper JP22, as explained in Section 1.14: IrDA on page 12.
The MicroSD card_D0 and MicroSD card CMD are multiplexed with the motor control connector. They can be enabled by setting the jumpers JP17 and JP20.
The jumper settings are described in Table 9.
1.12 Temperature sensorOne I2C interface temperature sensor STLM75 (–55°C to +125°C) connected to I2C of STM32F103Z is available on the board.
RSTIN Card reset input from MCU PB11
CMDVCCStart activation sequence input (active low), share same pin with I2S DAC and motor control
PC6
Table 8. Smartcard related jumpers
Jumper Description
JP15
The CMDVCC is connected to PC6 when JP15 is closed. It should be kept on open, or the SD card needs to be removed from the MicroSD card connector when PC6 is used by I2S or motor control connector.Default setting: not fitted
JP16The OFF is connected to PC7 when JP16 is closed. It has to be kept on open when PC7 is used by the motor control connector.
Default setting: not fitted
Table 7. Connection between ST8024 and STM32F103Z (continued)
Signals of ST8024 DescriptionConnect to STM32F10X
Table 9. MicroSD card related jumpers
Jumper Description
JP17
JP17 is used to enable MicroSD card data line D0. MicroSD card D0 is enabled when JP17 is fitted. The JP17 should be kept on open when motor control connector CN1 is used.
Default setting: fitted
JP20JP20 is used by the motor control connector, refer to Table 6 for details. JP20 should be kept on open for MicroSD card operation. JTAG debugging is disabled when JP20 is fitted.
Hardware layout and configuration UM0488
12/48
1.13 Analog inputThree BNC connectors CN2,CN3 and CN5 are connected to PC3, PC2 and PC1 of STM32F103Z as external analog input. The 50 ohm terminal resistor can be enabled by closing the solder bridge JP23, JP24 and JP25 for each BNC connector. A low pass filter can be implemented for each BNC connector CN5, CN3 and CN2 by replacing R5 and C22, R4 and C13, R3 and C9 with the right resistor and capacitor values, depending on the requirements of your application.
1.14 IrDAIrDA communication is supported by the IrDA transceiver U13 connected to USART3 of STM32F103Z. The IrDA transceiver can be enabled or disabled by setting JP21.
1.15 USBSTM3210E-EVAL evaluation board support USB2.0 compliant full speed communication via a USB type B connector (CN14). The evaluation board can be powered by this USB connection at 5V DC with 500mA current limitation. USB disconnection simulation can be implemented by disconnecting 1.5K pull-up register from USB+ line. The USB disconnection simulation feature is enabled by setting JP14.
Table 10. IrDA related jumpers
Jumper Description
JP21
JP21 is used to shutdown the IrDA transceiver.
IrDA is enabled when JP21 is fitted while IrDA is disabled when JP21 is not fitted.
Default setting: fitted
JP22IrDA_RX is enabled when JP22 is closed. The IO pin PC11 is used as the data line 3 of the MicroSD card when JP22 is open.Default setting: not fitted
Table 11. USB related jumpers
Jumper Description
JP14
The USB 1.5K pull-up register is always connected to USB+ line when JP14 is set as shown.
The USB 1.5K pull-up register can be disconnected by software from USB+ line when JP14 is set as shown. In this case, the USB connect/disconnect feature is managed by standard IO port PB14 (default setting).
1 2 3
1 2 3
UM0488 Hardware layout and configuration
13/48
1.16 Development and debug supportThe two debug connectors available on STM3210E-EVAL evaluation board are:
● CN9, standard 20-pin JTAG interface connector that is compliant with ARM7 and ARM9 debug tools.
● CN7, SAMTEC 20-pin connector FTSH-110-01-L-DV for both SWD and Trace that is compliant with ARM CoreSight debug tools.
1.17 Display and input devicesThe 240x320 TFT color LCD connected to bank3 of FSMC interface of STM32F103Z and four general purpose color LEDs (LD 1,2,3,4) are available as display devices. A 4-direction joystick with selection key, general purpose button (B4), wakeup button (B2) and tamper detection button (B3) are available as input devices. The jumper JP4 should be kept on open to enable the wakeup button B2 which shares the same IO with USART2 and motor control connector.
The STM3210E-EVAL evaluation board also supports a second optional 122x32 graphic LCD that can be mounted on the U18 connector. By default, the graphic LCD is not present.
Table 12. LCD modules
TFT LCD CN16 (default) Graphic LCD U18 (optional)
Pin on CN16
Description Pin connectionPin on
U18Description Pin connection
1 CSCS of Bank3 of FSMC
1 Vss GND
2 RS FSMC_A0 2 Vcc 3.3V
3 WR/SCL FSMC_NWE 3 VO -
4 RD FSMC_NOE 4 CLK PA5
5 RESET RESET# 5 SID PA7
6 PD1 FSMC_D0 6 CS PF10
7 PD2 FSMC_D1 7 A +5V
8 PD3 FSMC_D2 8 K GND
9 PD4 FSMC_D3
10 PD5 FSMC_D4
11 PD6 FSMC_D5
12 PD7 FSMC_D6
13 PD8 FSMC_D7
14 PD10 FSMC_D8
15 PD11 FSMC_D9
16 PD12 FSMC_D10
17 PD13 FSMC_D11
Hardware layout and configuration UM0488
14/48
1.18 SRAM512Kx16 SRAM is connected to bank2 of the FSMC interface and both 8 bit and 16 bit access are allowed by BLN0 and BLN1 connected to BLE and BHE of SRAM respectively.
1.19 NAND FlashThe 512 Mbit x8 or 1 Gbit x8 NAND Flash is connected to bank0 of the FSMC interface. The ready/busy signal can be connected to either WAIT signal or FSMC_INT2 signal of STM32F103Z depending on the setting of JP7.
18 PD14 FSMC_D12
19 PD15 FSMC_D13
20 PD16 FSMC_D14
21 PD17 FSMC_D15
22 BL_GND GND
23 BL_control 3.3V
24 VDD 3.3V
25 VCI 3.3V
26 GND GND
27 GND GND
28 BL_VDD 3.3V
29 SDO PA6 via JP26
30 SDI PA7 via JP27
Table 12. LCD modules (continued)
TFT LCD CN16 (default) Graphic LCD U18 (optional)
Pin on CN16
Description Pin connectionPin on
U18Description Pin connection
Table 13. NAND Flash related jumpers
Jumper Description
JP7
The ready/busy signal is connected to WAIT signal when JP7 is set as shown (default setting)
The ready/busy signal is connected to FSMC_INT2 signal when JP7 is set as shown.
1 2 3
1 2 3
UM0488 Hardware layout and configuration
15/48
1.20 NOR Flash128 Mbit Nor Flash is connected to bank1 of the FSMC interface. The 16 bit operation mode is selected by a pull-up resistor connected to the BYTE pin of the NOR Flash. Write protection can be enabled or disabled depending on the setting of jumper JP5.
Three different NOR 128 Mbit references can be present on the evaluation board depending on component availability.
These three references are not identical in terms of ID code, speed, timing, block protection. The demonstration firmware and the software library delivered with the board support these three NOR Flash references. However, during the development of your application software, you must verify which NOR reference is implemented on your board (component referenced as U2 on silkscreen and schematic), and take its specificities into account.
Table 14. NOR Flash related jumpers
Jumper Description
JP5Write protection is enabled when JP5 is fitted while write protection is disabled when JP5 is not fitted.
Default setting: not fitted
Table 15. NOR Flash reference
Reference Manufacturer
M29W128GL70ZA6E NUMONYX
M29W128GH70ZA6E NUMONYX
S29GL128P90FFIR20 SPANSION
Connectors UM0488
16/48
2 Connectors
2.1 Motor control connector CN1
Figure 4. Motor control connector CN1 (top view)
Table 16. Motor control connector CN1
DescriptionSTM32F103Z
pinCN1 pin #
CN1 pin #
STM32F103Z pin
Description
EMERGENCY STOP PA6 1 2 GND
PWM-UH PC6 3 4 GND
PWM-UL PA7 5 6 GND
PWM-VH PC7 7 8 GND
PWM-VL PB0 9 10 GND
PWM-WH PC8 11 12 GND
PWM-WL PB1 13 14 PC0 BUS VOLTAGE
PHASE A CURRENT PC1 15 16 GND
PHASE B CURRENT PC2 17 18 GND
PHASE C CURRENT PC3 19 20 GND
NTC BYPASS RELAY PB12 21 22 GND
DISSIPATIVE BRAKE PWM
PA3 through 0ohm resister un fitted
23 24 GND
+5V power +5V 25 26 PC5 Heatsink temperature
PFC SYNC PB4 and PD2
27 283.3V power
PFC PWM PB5 29 30 GND
Encoder A PA0 31 32 GND
Encoder B PA1 33 34 PA2 Encoder Index
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
UM0488 Connectors
17/48
2.2 Analog input connectors CN2, CN3 and CN5
Figure 5. Analog input connector CN2, CN3 and CN5 bottom view
2.3 CAN D-type 9-pin male connector CN4
Figure 6. CAN D-type 9-pin male connector CN4 (front view)
2.4 QST connector CN6The QST connector is designed to connect the STM3210E-EVAL to the QST evaluation board to demonstrate the QST function.
Figure 7. QST connector CN6 (front view)
Table 17. Analog input connector CN2, CN3 and CN5
Pin number Description Pin number Description
1 GND 4 GND
2 GND 5Analog input PC3, PC2 and PC1 for CN2,CN3 and CN5 respectively
3 GND
1 2
4 3
5
Table 18. CAN D-type 9-pins male connector CN4
Pin number Description Pin number Description
1,4,8,9 NC 7 CANH
2 CANL 3,5,6 GND
13 11 9 7 5 3 1
14 12 10 8 6 4 2
Connectors UM0488
18/48
2.5 Trace debugging connector CN7
Figure 8. Trace debugging connector CN7 (top view)
Table 19. QST connector CN6
Pin number Description Pin number Description
1 +5V 2 +5V
3 PB6 4 PA5
5 PB7 6 PA7
7 PB1 8 PA6
9 PF11 10 PB5
11 PA8 12 -
13 GND 14 GND
Table 20. Trace debugging connector CN7
Pin number Description Pin number Description
1 3.3V power 2 TMS/PA13
3 GND 4 TCK/PA14
5 GND 6 TDO/PB3
7 KEY 8 TDI/PA15
9 GND 10 RESET#
11 GND 12 TraceCLK/PE2
13 GND 14 TraceD0/PE3 or SWO/PB3
15 GND 16 TraceD1/PE4 or nTRST/PB4
17 GND 18 TraceD2/PE5
19 GND 20 TraceD3/PE6
20 18 16 14 12 10 8 6 4 2
19 17 15 13 11 9 7 5 3 1
UM0488 Connectors
19/48
2.6 RS232 connector CN8 with RTS/CTS handshake support
Figure 9. RS232 connector CN8 with RTS/CTS handshake support (front view)
2.7 JTAG debugging connector CN9
Figure 10. JTAG debugging connector CN9 (top view)
Table 21. RS232 connector CN8 with RTS/CTS handshake support
Pin number Description Pin number Description
1 NC 6 Connect to Pin 4
2 USART2_PA3 7 USART2_PA1
3 USART2_PA2 8 USART2_PA0
4 Connect to Pin 6 9 NC
5 GND
Table 22. JTAG debugging connector CN9
Pin number Description Pin number Description
1 3.3V power 2 3.3V power
3 PB4 4 GND
5 PA15 6 GND
7 PA13 8 GND
9 PA14 10 GND
11 RTCK 12 GND
13 PB3 14 GND
15 RESET# 16 GND
17 DBGRQ 18 GND
19 DBGACK 20 GND
19 17 15 13 11 9 7 5 3 1
20 18 16 14 12 10 8 6 4 2
Connectors UM0488
20/48
2.8 Daughter board extension connectors CN10 and CN11Two 70-pin male headers CN10 and CN11 can be used to connect a daughter board or standard wrapping board to the STM3210E-EVAL evaluation board. All total 112 GPI/Os are available on it. The space between these two connectors and the position of power, GND and RESET pins (marked in gray in Table 23 and Table 24) are defined as a standard which allows to develop common daughter boards for several evaluations boards. The standard width between CN10 pin1 and CN11 pin1 is 2700 mils (68.58 mm). This standard is implemented on the majority of evaluation boards.
Each pin on CN10 and CN11 can be used by a daughter board after disconnecting it from the corresponding function block on the STM3210E-EVAL evaluation board, as described in Table 23 and Table 24.
Table 23. Daughter board extension connector CN10
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
1 GND - -
3 PC7 MC/SmartcardDisconnect STM3210E-EVAL evaluation board from motor power drive board.
Keep JP16 on open.
5 PC9 MicroSD card Remove SD card from MicroSD card connector.
7 PA9 UASRT1_TX -
9 PA0 MC/Wakeup/USART2_CTS Keep JP4 on open.
11 - - -
13 PA12 USB_DP Remove R82.
15 PA14 Debug_TCK -
17 PC10 IrDA_TX/MicroSDcard_D2 Remove SD card from MicroSD card connector.
19 GND - -
21 PD0 FSMC_D2 -
23 PE2 Trace_CLK/FSMC_A23 -
25 PD2 MicroSDcard_CMD/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.Remove SD card from MicroSD card connector.
27 PD4 FSMC_OEN -
29 PD6 FSMC_WAITN -
31 PD7 FSMC_EBAR0 Remove R22.
33 PG10 FSMC_EBAR2 Remove R15.
35 PG12 FSMC_EBAR3 Remove R77.
37 PG14 Joystick_Left Remove R102.
39 GND - -
UM0488 Connectors
21/48
41 PB4 Debug_TRST/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.
Keep JP19 on open.
43 PB6 I2C_SCL/QSTDisconnect STM3210E-EVAL evaluation board from QST board.
45 PB8 CAN_RX Remove R32.
47 PE0 FSMC_BLN0 -
49 D5V - -
51 PE4 Trace_D1/FSMC_A20 -
53 PE6 Trace_D3/FSMC_A22 -
55 PC14 OSC32_IN Remove R135, Keep JP9 (solder bridge) on close.
57 PF0 FSMC_A0 -
59 GND - -
61 PF2 FSMC_A2 -
63 PF4 FSMC_A4 -
65 PF6 LD2 Remove R96.
67 PF8 LD4 Remove R98.
69 +3V3 - -
2 PC6 Smartcard/MC/I2S_MCKDisconnect STM3210E-EVAL evaluation board from motor power drive board.Keep JP15 on open.
4 PC8 MicroSDcard_D0/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.
Remove SD card from MicroSD card connector.
6 PA8 MCO/LCD_backlight/QSTDisconnect STM3210E-EVAL evaluation board from QST board.
8 PA10 USART1_RX Remove R36.
10 GND - -
12 PA11 USB_DM Remove R81.
14 PA13 Debug TMS -
16 PA15 Debug TDI -
18 PC11 IrDA_RX/MicroSDcard_D2Remove SD card from MicroSD card connector.
Remove R89.
20 PC12 MciroSDcard_CLK Remove SD card from MciroSD card connector.
22 PD1 FSMC_D3 -
24 PE1 FSMC_BLN1 -
26 PD3 Joystick_Down Remove R100.
Table 23. Daughter board extension connector CN10 (continued)
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
Connectors UM0488
22/48
28 PD5 FSMC_WEN -
30 GND - -
32 PG9 FSMC_EBAR1 Remove R21.
34 PG11 - -
36 PG13 Joystick_Right Remove R103.
38 PG15 Joystick_Up Remove R104.
40 PB3 Debug_TDO -
42 PB5 MC/QST/Temperature sensorDisconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.
Remove R46.
44 PB7 I2C_SDA/QSTDisconnect STM3210E-EVAL evaluation board from QST board.
46 PB9 CAN_TX -
48 3V3 - -
50 GND - -
52 PE3 Trace_D0/FSMC_A19 -
54 PE5 Trace_D2/FSMC_A21 -
56 PC13 Anti-tamper button Remove R111.
58 PC15 OSC32_OUT Remove R39, Keep JP10 (solder bridge) on close.
60 PF1 FSMC_A1 -
62 PF3 FSMC_A3 -
64 PF5 FSMC_A5 -
66 PF7 LD3 Remove R97.
68 PF9 LD5 Remove R99.
70 GND - -
Table 23. Daughter board extension connector CN10 (continued)
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
UM0488 Connectors
23/48
Table 24. Daughter board extension connector CN11
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
1 GND - -
3 PG7 Joystick_Select Remove R101.
5 PG5 FSMC_A15 -
7 PG3 FSMC_A13 -
9PC13 Button B3
- -
11 RESET# - -
13 PD12 FSMC_A17 -
15 PD10 FSMC_D15 -
17 PD8 FSMC_D13 -
19 D5V - -
21 PB13 I2S_CLK -
23 PB11 Smartcard_Reset -
25 PE15 FSMC_D12 -
27 PE13 FSMC_D10 -
29 PE11 FSMC_D8 -
31 PD15 FSMC_D1 -
33 PE9 FSMC_D6 -
35 PE7 FSMC_D4 -
37 PG1 FSMC_A11 -
39 GND - -
41 PF14 FSMC_A8 -
43 PF12 FSMC_A6 -
45 PB2 BOOT1/SPI_NSS -
47 PB1 MC/QSTDisconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.
49 - - -
51 PB0 Smartcard_3/5V/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.
53 PC4 Potentiometer Remove R126.
55 PA6 MC/SPI_MISO/QSTDisconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.Remove R37.
57 PA4 Audio_RIN Remove R67.
59 GND - -
Connectors UM0488
24/48
61 PA1 MC/USART2_RTSDisconnect STM3210E-EVAL evaluation board from motor power drive board.
63 PC3 MC/BNC3Disconnect STM3210E-EVAL evaluation board from motor power drive board.Disconnect analog signal from BNC3.
65 PC1 MC/BNC1Disconnect STM3210E-EVAL evaluation board from motor power drive board.
Disconnect analog signal from BNC1.
67 PF10 LCD_CS -
69 +3V3 - -
2 PG8 User button B4 Remove R106.
4 PG6 FSMC_INT2 Keep JP7 on open.
6 PG4 FSMC_A14 -
8 PG2 FSMC_A12 -
10 GND - -
12 PD13 FSMC_A18 -
14 PD11 FSMC_A16 -
16 PD9 FSMC_A14 -
18 PB15 I2S_DIN -
20 PB14 USB disconnect Connect pin1 of JP14 to pin2.
22 PB12 Smartcard_CK/MC/I2S_CMDDisconnect STM3210E-EVAL evaluation board from motor power drive board.
24 PB10 Smartcard_IO Remove R94.
26 PE14 FSMC_D11 -
28 PE12 FSMC_D9 -
30 GND - -
32 PD14 FSMC_D0 -
34 PE10 FSMC_D7 -
36 PE8 FSMC_D5 -
38 - - -
40 PG0 FSMC_A10 -
42 PF15 FSMC_A9 -
44 PF13 FSMC_A7 -
46 PF11 QST / MicroSD card detectionDisconnect STM3210E-EVAL evaluation board from QST board. Remove SD card from card socket CN13.
48 - - -
Table 24. Daughter board extension connector CN11 (continued)
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
UM0488 Connectors
25/48
50 GND - -
52 PC5 MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.
54 PA7 MC/SPI_MOSI/QSTDisconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.
56 PA5 SPI_CLK/DAC_LIN/QSTDisconnect STM3210E-EVAL evaluation board from QST board.Remove R68.
58 PA3 MC/USART2_RXDisconnect STM3210E-EVAL evaluation board from motor power drive board.
Remove R29.
60 PA2 MC/USART2_TXDisconnect STM3210E-EVAL evaluation board from motor power drive board.
62 -
64 PC2 MC/BNC2Disconnect STM3210E-EVAL evaluation board from motor power drive board.Disconnect analog signal from BNC2.
66 PC0 MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.
Remove C7 & R63.
68 - - -
70 GND - -
Table 24. Daughter board extension connector CN11 (continued)
Pin # Description Alternative functionHow to disconnect from function block on
STM3210E-EVAL board
Connectors UM0488
26/48
2.9 RS232 connector CN12
Figure 11. RS232 connector CN12 (front view)
2.10 MicroSD connector CN13
Figure 12. MicroSD connector CN13 (front view)
Table 25. RS232 connector CN12
Pin number Description Pin number Description
1 NC 6 Connect to Pin 4
2 USART1_PA10 7 Connect to Pin 8
3 USART1_PA9 8 Connect to Pin 7
4 Connect to Pin 6 9 NC
5 GND
Table 26. MicroSD connector CN13
Pin number Description Pin number Description
1 MicroSDcard_D2 (PC10) 5 MicroSDcard_CLK (PC12)
2 MicroSDcard_D3 (PC11) 6 Vss/GND
3 MicroSDcard_CMD (PD2) 7 MicroSDcard_D0 (PC8)
4 +3V3 8 MicroSDcard_D1 (PC9)
9 MicroSDcard_detect (PF11)
UM0488 Connectors
27/48
2.11 USB type B connector CN14
Figure 13. USB type B connector CN14 (top view)
2.12 Audio jack CN15A 3.5 mm stereo audio jack CN15 connected to the audio DAC is available on the STM3210E-EVAL board.
2.13 TFT LCD connector CN16One 30-pin male header is available on the board to connect the LCD module board MB694 to the FSMC interface of the STM32F103Z. Refer to Section 1.17: Display and input devices on page 13 for details.
2.14 Power connector CN17Your STM3210E-EVAL evaluation board can be powered from a DC 5V power supply via the external power supply jack (CN17) shown in Figure 14. The central pin of CN17 must be positive.
Figure 14. Power supply connector CN17 (front view)
Table 27. USB type B connector CN14
Pin number Description Pin number Description
1 VBUS(power) 4 GND
2 PA11 5,6 Shield
3 PA12
DC +5V
GND
Connectors UM0488
28/48
2.15 Smartcard connector CN18
Figure 15. Smartcard connector CN18 (front view)
Table 28. Smartcard connector CN18
Pin number Description Pin number Description
1 VCC 5 GND
2 RST 6 NC
3 CLK 7 I/O
4 NC 8 NC
17 Detection pin of card presence 18 Detection pin of card presence
17 18
5 6 7 8
UM0488 Schematic diagrams
29/48
3 Schematic diagrams
This section provides the design schematics for the STM3210E-EVAL board key features, to help you implement these features in your applications. Schematics are provided for:
● Microcontroller connections, see Figure 16
● MCU, see Figure 17
● Peripherals, see Figure 18
● RS232 and IrDA connectors, see Figure 19
● Audio, see Figure 20
● LCD and joystick connections, see Figure 21
● SD card and smartcard, see Figure 22
● Motor control, see Figure 23
● JTAG and trace connectors, see Figure 24
● Power supply, see Figure 25
● SRAM and Flash, see Figure 26
● Color LCD module, see Figure 27
Schematic diagrams UM0488
30/48
Figure 16. Microcontroller connections
ST
Mic
roel
ectr
onic
sTi
tle:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)D
ate:
2008
-05-
21M
B67
21
11
STM
3210
E-E
VA
L
I2S_
CMD
I2S_
DIN
I2S_
CKM
CO
Aud
io_S
CK
Aud
io_S
DA
Aud
io_L
INA
udio
_RIN
I2S_
MCK
Aud
io_P
DN
U_A
udio
Aud
io.S
chD
oc
A[0
..23]
D[0
..15]
FSM
C_N
E3FS
MC
_NC
E2FS
MC
_NE2
FSM
C_N
WE
FSM
C_N
OE
FSM
C_N
BL0
FSM
C_N
BL1
FSM
C_N
WA
ITFS
MC
_IN
T2
U_S
RA
M&
Flas
hSR
AM
&Fl
ash.
SchD
oc
USA
RT2
_RX
USA
RT2
_TX
USA
RT2
_RTS
USA
RT2
_CTS
USA
RT1
_TX
USA
RT1
_RX
IrDA
_RX
IrDA
_TX
U_R
S232
&Ir
DA
RS2
32&
IrD
A.S
chD
oc
Flas
h_C
SFl
ash_
SCK
Flas
h_M
ISO
Flas
h_M
OSI
LED
4LE
D3
LED
1LE
D2
USB
_DM
USB
_DP
USB
_Dis
conn
ect
Tem
pera
ture
Sens
or_I
NT
Tem
pera
ture
Sens
or_S
CL
Tem
pera
ture
Sens
or_S
DAB
NC
1
CA
N_T
XC
AN
_RX
Pote
ntio
met
er
BN
C2
BN
C3
U_P
erip
hera
lsPe
riphe
rals
.Sch
Doc
MC
_Em
erge
ncyS
TOP
MC
_Cur
rent
AM
C_C
urre
ntB
MC
_Cur
rent
C
MC
_PFC
sync
1M
C_P
FCsy
nc2
MC
_WL
MC
_VH
MC
_VL
MC
_UH
MC
_UL
MC
_WH
MC
_NTC
MC
_Dis
sipa
tiveB
rake
MC
_PFC
pwm
MC
_EnA
MC
_EnB
MC
_Hea
tsin
kTem
pera
ture
MC
_Bus
Vol
tage
MC
_EnI
ndex
BN
C1
BN
C2
BN
C3
U_M
otor
Ctrl
Mot
orC
trl.S
chD
oc
U_P
ower
Pow
er.S
chD
oc
TDI
RES
ET#
TRA
CE
_D3
TRA
CE
_D2
TRA
CE
_D1
TRA
CE
_D0
TRA
CE
_CK
TRST
TMS/
SWD
IOTC
K/S
WC
LKTD
O/S
WO
U_J
TA
G&
SWD
JTA
G&
SWD
.Sch
Doc
TDI
TRA
CE
_CK
TMS/
SWD
IOTC
K/S
WC
LKTD
O/S
WO
USA
RT2
_RX
USA
RT2
_TX
USA
RT2
_RTS
USA
RT2
_CTS
USA
RT1
_TX
USA
RT1
_RX
IrDA
_RX
IrDA
_TX
MC
_Em
erg
ency
STO
PM
C_C
urre
ntA
MC
_Cur
rent
BM
C_C
urre
ntC
MC
_PFC
sync
1M
C_P
FCsy
nc2
MC
_WL
MC
_VH
MC
_VL
MC
_UH
MC
_UL
MC
_WH
MC
_NTC
MC
_Dis
sipa
tiveB
rake
MC
_PFC
pwm
MC
_EnA
MC
_EnB
MC
_Hea
tsin
kTem
pera
ture
MC
_Bus
Vol
tage
MC
_EnI
ndex
JOY
_SEL
JOY
_D
OW
NJO
Y_L
EFT
JOY
_RIG
HT
JOY
_UP
LCD
_CS
LCD
_bac
klig
ht
Ant
i_T
ampe
rW
AK
EUP
Use
r_B
utto
n
SPI1
_CS
SPI1
_SCK
SPI1
_MIS
OSP
I1_M
OSI
LED
4LE
D3
LED
1LE
D2
USB
_DM
USB
_DP
USB
_Dis
conn
ect
Tem
pera
ture
Sens
or_I
NT
CA
N_T
XC
AN
_RX
Pote
ntio
met
er
FSM
C_N
E3
A[0
..23]
D[0
..15]
FSM
C_N
E4
FSM
C_N
CE2
FSM
C_N
E2FS
MC
_NW
EFS
MC
_NO
EFS
MC
_NB
L0FS
MC
_NB
L1
FSM
C_N
WA
ITFS
MC
_IN
T2
Mic
roSD
Car
d_C
LKM
icro
SDC
ard_
CM
D
Smar
tCar
d_3/
5VSm
artC
ard_
IOSm
artC
ard_
RST
Smar
tCar
d_C
LKSm
artC
ard_
OFF
Smar
tCar
d_C
MD
VC
C
Mic
roSD
Car
d_D
0
I2S_
CMD
I2S_
DIN
I2S_
CKM
CO
I2C
_SC
KI2
C_S
DA
Mic
roSD
Car
d_D
1M
icro
SDC
ard_
D2
Mic
roSD
Car
d_D
3
RES
ET#
TRA
CE
_D3
TRA
CE
_D2
TRA
CE
_D1
TRA
CE
_D0
TRST
Aud
io_L
INA
udio
_RIN
Mic
roSD
Car
d_D
etec
t
I2S_
MCK
Aud
io_P
DN
U_M
CU
MC
U.S
chD
oc
Mic
roS
DC
ard_
CLK
Mic
roSD
Car
d_C
MD
Smar
tCar
d_3/
5VSm
artC
ard_
IOSm
artC
ard_
RST
Smar
tCar
d_C
LKSm
artC
ard_
OFF
Smar
tCar
d_C
MD
VC
C
Mic
roSD
Car
d_D
0M
icro
SDC
ard_
D1
Mic
roSD
Car
d_D
2M
icro
SDC
ard_
D3
Mic
roSD
Car
d_D
etec
t
U_S
D&
Smar
t Car
dSD
&Sm
art C
ard.
SchD
oc
JOY
_SEL
JOY
_DO
WN
JOY
_LEF
TJO
Y_R
IGH
TJO
Y_U
P
LCD
_CS
LCD
_CLK
LCD
_DI
RES
ET#
LCD
_bac
klig
ht
Ant
i_T
ampe
rW
AK
EUP
Use
r_B
utto
n
FSM
C_N
E4
D[0
..15]
A[0
..23]
FSM
C_N
WE
FSM
C_N
OE
LCD
_DO
U_L
CD
&Jo
ystic
kLC
D&
Joys
tick.
SchD
oc
UM0488 Schematic diagrams
31/48
Figure 17. MCU
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)D
ate:
2008
-05-
21M
B67
22
11
STM
3210
E-E
VA
L M
CU
MC
U
D5V
D5V
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
PF8
PF9
PF10
PF11
PF12
PF13
PF14
PF15
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PE0
PE1
PE2
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
PG8
PG9
PG10
PG11
PG12
PG13
PG14
PG15
RES
ET#
R14
820
R11
820
PC13
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
3940
4142
4344
4546
4748
4950
5152
5354
5556
5758
5960
6162
6364
6566
6768
6970
CN
11
Hea
der 3
5X2
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
3940
4142
4344
4546
4748
4950
5152
5354
5556
5758
5960
6162
6364
6566
6768
6970
CN
10
Hea
der 3
5X2
+3V
3
+3V
3
Ext
ensi
on c
onne
ctor
TDI
TMS/
SWD
IOTC
K/S
WC
LK
USA
RT2
_RX
USA
RT2
_TX
USA
RT2
_RTS
USA
RT2
_CTS
USA
RT1
_TX
USA
RT1
_RX
MC
_Em
erge
ncyS
TOP
MC
_UL
MC
_Dis
sipa
tiveB
rake
MC
_EnA
MC
_EnB
MC
_EnI
ndex
LCD
_bac
klig
ht
WA
KEU
P
SPI1
_SCK
SPI1
_MIS
O
SPI1
_MO
SIU
SB_D
MU
SB_D
P
I2S_
CMD
I2S_
DIN
I2S_
CK
MC
O
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
32
1
JP4
Aud
io_R
IN
Aud
io_L
INJP
3
TRST
TDO
/SW
O
MC
_PFC
sync
1
MC
_WL
MC
_VL
MC
_NTCMC
_PFC
pwm
SPI1
_CS
Tem
pera
ture
Sens
or_I
NT
CA
N_T
XC
AN
_RX
Smar
tCar
d_3/
5V
Smar
tCar
d_IO
Smar
tCar
d_R
STSm
artC
ard_
CLK
I2C
_SC
KI2
C_S
DA
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
R43
10K
+3V
3
231
BO
OT1
IrDA
_RX
IrDA
_TX
MC
_Cur
rent
AM
C_C
urre
ntB
MC
_Cur
rent
C
MC
_VH
MC
_UH
MC
_WH
Mic
roSD
Car
d_C
LK
Smar
tCar
d_O
FF
Smar
tCar
d_C
MD
VC
C
Mic
roSD
Car
d_D
0M
icro
SDC
ard_
D1
Mic
roSD
Car
d_D
2
Mic
roSD
Car
d_D
3
JP16
JP22
MC
_Bus
Vol
tage
MC
_Hea
tsin
kTem
pera
ture
Pote
ntio
met
er
Ant
i_T
ampe
r
41
32
X2
MC
306-
G-0
6Q-3
2.76
8 (m
anuf
actu
rer J
FVN
Y)
C44
10pF
C43
10pF
R39
0
1
43
2
B1
RES
ET
R11
910
K
+3V
3 C94
100n
F
C48
20pF
C47
20pF
X1
8MH
z (w
ith so
cket
)
R40
390
R45
10K
+3V
32
31B
OO
T0
RES
ET#
RES
ET#
MC
_PFC
sync
2
FSM
C_N
CE2
FSM
C_N
WE
FSM
C_N
OE
FSM
C_N
WA
IT
Mic
roSD
Car
d_C
MD
FSM
C_N
BL0
TRA
CE
_CK
TRA
CE
_D3
TRA
CE
_D2
TRA
CE
_D1
TRA
CE
_D0
Use
r_B
utto
n
LED
3
LED
1LE
D2
USB
_Dis
conn
ect
JOY
_SEL
JOY
_DO
WN
JOY
_LEF
TJO
Y_R
IGH
T
JOY
_UP
FSM
C_N
E2
FSM
C_I
NT2
JP11
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
D2
D3
A16
D13
D14
D15
A17
A18
D0
D1
A19
A20
A21
A22
A23
D4
D5
D6
D7
D8
D9
D10
D11
D12
A0
A1
A2
A3
A4
A5
LED
4LC
D_C
S
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
D[0
..15]
A[0
..23]
A[0
..23]
D[0
..15]
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
PF8
PF9
PF10
PF11
PF12
PF13
PF14
PF15
PE2
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PE0
PE1
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
PG8
PG9
PG10
PG11
PG12
PG13
PG14
PG15
QST
con
nect
or
PA5
+5V
PA6
PA7
PB1
PF11
PB5
PB6
PB7
IC14
9-14
4-04
5-B
5
R31
0
R2
do n
ot fi
t
PE2
1
PF2
12
OSC
_IN
23
PA0-
WK
UP
34
PC5
45
PG0
56
PE10
63PE
1164
PE3
2PE
43
PE5
4PE
65
PC13
-AN
TI_
TAM
P7
PC14
-OSC
32_I
N8
PC15
-OSC
32_O
UT
9
PF0
10PF
111
PF3
13PF
414
PF5
15PF
618
PF7
19PF
820
PF9
21PF
1022
OSC
_OU
T24
NR
ST25
PC0
26
PC1
27
PC2
28
PC3
29
PA1
35
PA2
36
PA3
37
PA4
40
PA5
41
PA6
42
PA7
43
PC4
44
PB0
46
PB1
47
PB2
48
PF11
49PF
1250
PF13
53PF
1454
PF15
55
PG1
57
PE7
58PE
859
PE9
60
PE12
65
PB15
76
PG2
87
PC8
98
PA14
109
PG11
126
PG12
127
PG13
128
PE13
66PE
1467
PE15
68
PB10
69
PB11
70
PB12
73
PB13
74
PB14
75
PD8
77PD
978
PD10
79PD
1180
PD12
81PD
1382
PD14
85PD
1586
PG3
88PG
489
PG5
90PG
691
PG7
92PG
893
PC6
96
PC7
97
PC9
99
PA8
100
PA9
101
PA10
102
PA11
103
PA12
104
PA13
105
NC
106
PA15
110
PC10
111
PC11
112
PC12
113
PD0
114
PD1
115
PD2
116
PD3
117
PD4
118
PD5
119
PD6
122
PD7
123
PG9
124
PG10
125
PG14
129
PB7
137
BO
OT0
138
PB8
139
PB9
140
PE0
141
PE1
142
PG15
132
PB3
133
PB4
134
PB5
135
PB6
136
U8A
STM
32F1
03ZE
T6
PA8
12
34
56
78
910
1112
1314
CN
6
Hea
der 7
X2
+5V
Mic
roSD
Car
d_D
etec
t
TP11
MC
O
I2S_
MCKJP
15
Def
ault
setti
ng:2
<->3
Def
ault
setti
ng:O
pen
Def
ault
setti
ng:c
lose
Def
ault
setti
ng:c
lose
Def
ault
setti
ng:c
lose
Def
ault
setti
ng:O
pen
TP1
Gro
und
TP2
Gro
und
JP9
JP10
FSM
C_N
E3
FSM
C_N
E4
FSM
C_N
BL1
Aud
io_P
DN
(Rig
ht)
(Lef
t)
+3V
3
JP17
Def
ault
setti
ng:c
lose
R13
50
Schematic diagrams UM0488
32/48
Figure 18. Peripherals
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
+3V
3
+3V
3
C14
100n
F
HO
LD7
VC
C8
S1
Q2
W3
VSS
4D
5C
6U
6
M25
P64-
VM
E6G
SDA
1
SCL
2
OS/
INT
3
GN
D4
A2
5A
16
A0
7V
DD
8U
9
STLM
75M
2E
+3V
3
+3V
3
C49
100n
F
U5V
C74
100n
FV
CC
1
D-
2
D+
3
GN
D4
SHEL
L0
SHEL
L0
CN
14U
SB-ty
peB
con
nect
or
R69
1.5K
R70
10K
U5V
R65
36K
2
31
T2 9013
+3V
3
I/O1
1
GN
D2
I/O2
3I/O
24
Vbu
s5
I/O1
6U
11
USB
LC6-
2P6
U5V
R95
1MC
784.
7nF
2
31
T1 9013
R66
47K
+3V
3
32
1
JP14
D1
GN
D2
VC
C3
R4
Vre
f5
CA
NL
6C
AN
H7
RS
8U
4
SN65
HV
D23
0
1 6 2 7 3 8 4 9 5
CN
4D
B9-
mal
e C
AN
con
nect
or
+3V
3
+3V
3
R28
120
JP6
32
1
JP8
R26
10K
+3V
3
C27
100n
F
12
LD3
Red
12
LD2
Ora
nge 1
2
LD4
Blu
e
12
LD1
Gre
en
12345
CN
3V
B33
4
MB
525
311
STM
3210
E-E
VA
L P
erip
hera
ls
R27
0
R35
0R
370
13
2R
V1
10K
R12
6
0
+3V
3
R46
0R
440
R38
0
R96
600
R97
600
R98
600
R99
600
R32
0
Flas
h_C
S
Flas
h_SC
K
Flas
h_M
ISO
Flas
h_M
OSI
LED
4
LED
3
LED
1
LED
2
USB
_DM
USB
_DP U
SB_D
iscon
nect
Tem
pera
ture
Sens
or_I
NT
Tem
pera
ture
Sens
or_S
CL
Tem
pera
ture
Sens
or_S
DA
BN
C1
CA
N_T
X
CA
N_R
X
Pote
ntio
met
er
SP
I Fla
sh
BN
C c
onne
ctor
Pot
entio
met
er
Tem
pera
ture
sen
sor
CAN
USB
12345
CN
5V
B33
4
BN
C2
12345
CN
2V
B33
4
BN
C3
R9
0R
10do
not
fit
LED
R82
0
R81
0
Def
ault
setti
ng: 1
<->2
Def
ault
setti
ng: O
pen
R51
4K7
PA12
PA11
PB14
PB8
PB9
PB6
PB7
PB5
PF7
PF6
PF9
PF8
PC2
PC1
PC3
PC4
PB2
PA6
PA5
PA7
JP25
R13
650
R13
750
R13
850
JP24
JP23
JP23
-25
Def
ault
setti
ng:o
pen
C10
010
nF
UM0488 Schematic diagrams
33/48
Figure 19. RS232 and IrDA connectors
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
SD5
TxD
3
GN
D8
Ano
de (V
CC
2)1
Cat
hode
2
RxD
4
VC
C1
6
Vlo
gic
7
U13
TFD
U43
00
R92
5R
85
47
C68
0.1u
FC
720.
1uF
+3V
3
C77
4.7u
FC
714.
7uF
R88
10K
+3V
3
JP21
R2o
ut9
R2i
n8
T1in
11
R1o
ut12
T1ou
t14
R1i
n13
T2in
10T2
out
7
C1+
1
C1-
3C
2+4
C2-
5
V+
2
V-
6
VC
C16
GN
D15
U5
ST32
32E
CTR
C37
100n
F
C29
100n
F
C30
100n
F
C28
100n
F
C31
100n
F
+3V
3
1 6 2 7 3 8 4 9 5
CN
8D
B9-
mal
e U
SAR
T2
R33
do n
ot fi
t
R2o
ut9
R2i
n8
T1in
11
R1o
ut12
T1ou
t14
R1i
n13
T2in
10T2
out
7
C1+
1
C1-
3C
2+4
C2-
5
V+
2
V-
6
VC
C16
GN
D15
U7
ST32
32E
CTR
C52
100n
F
C41
100n
F
C40
100n
F
C39
100n
F
C42
100n
F
+3V
3
1 6 2 7 3 8 4 9 5
CN
12D
B9-
mal
e U
SAR
T1
R62
do n
ot fi
t
RS2
32_T
X2
RS2
32_R
X2
RS2
32_C
TS2
RS2
32_R
TS2
RS2
32_R
X1
RS2
32_T
X1
MB
672
411
ST
M32
10E
-EV
AL
RS
232&
IrD
A
R36
0
R89
0
R29
0
R30
0
USA
RT2
_RX
USA
RT2
_TX
USA
RT2
_RTS
USA
RT2
_CTS
USA
RT1
_TX
USA
RT1
_RX
IrD
A_R
XIr
DA
_TX
conn
ecto
r fo
r U
SA
RT
2
conn
ecto
r fo
r U
SA
RT
1
IrD
A
R34
10K
Def
ault
setti
ng: c
lose
PA0
PA1
PA2
PA3
PA9
PA10
PC10
PC11
Schematic diagrams UM0488
34/48
Figure 20. Audio
STM
icro
elec
tro
nics
Tit
le:
Nu
mb
er:
Rev
:S
heet
of
D.2
(PC
B.S
CH
)D
ate:
20
08-0
5-2
1M
B6
72
51
1
ST
M3
21
0E
-EV
AL
Au
dio
I2S
_CM
DI2
S_D
IN
I2S
_CK
32
1
JP1
8
MC
O
Jum
per
to
sele
ct P
LL
sla
ve c
lock
mod
e:1.
1<
->2
refe
renc
e cl
ock
MC
KI
2. 2
<->
3 r
efer
ence
clo
ck B
ICK
or
LR
CK
TP
7M
CK
O
+3V
3
R72
10K
C59
1uF
Aud
io_
SC
KA
udio
_S
DA
I2C
con
trol
int
erfa
ce s
elec
ted
(sha
re w
ith
tem
pera
ture
sen
sor)
by
conn
ecti
ng p
in "
I2C
" to
hig
h, t
he s
lave
add
ress
is s
et t
o "0
010
011
" b
y p
ull
up p
in "
CA
D0"
.
C65
10uF
C54
100n
FC
532.
2uF
C34
100n
F
+3V
3C
7310
uFC
6610
0nF
C79
10uF
C16
100n
F
+3V
3
+3V
3
R83
10
C67
0.2
2uF
R73
10
C76
0.2
2uF
R86
10
R87
6.8
R84
6.8
C80
47uF
C70
47uF
12 3
CN
15
ST
-225
-02
1 2U
14
KS
S-1
508
CC
LK
/SC
L9
CD
TI/
SD
A10
SD
TI
11
TE
ST
212
LR
CK
13
BIC
K14
DV
DD
15
DV
SS
16
MU
TE
T25
RO
UT
/RC
N26
LO
UT
/RC
P27
MIN
/LIN
328
RIN
2/IN
2-29
LIN
2/I
N2
+30
LIN
1/I
N1
-31
RIN
1/IN
1+32
TE
ST
11
VC
OM
2
AV
SS
3
AV
DD
4
VC
OC
/RIN
35
I2C
6
PD
N7
CS
N/C
AD
08
MC
KI
17M
CK
O18
SP
N19
SP
P20
HV
DD
21
HV
SS
22
HP
R23
HP
L24
U1
0
AK
434
3
Aud
io_
RIN
Aud
io_
LIN
C56
1uF
C57
1uF
C58
do n
ot f
itC
55do
not
fitR
670
R68
0
TP
9R
IN
TP
6
LIN
TP
10H
PL
TP
8H
PR
TP
12S
PP
TP
13S
PN
I2S
_MC
KR
560
R57 do
not
fit
Def
ault
set
ting
: 1<-
>2
PC
6
PA
8
PB
12P
B13
PB
15
PB
7P
B6
PA
5P
A4
R12
80
Aud
io_
PD
NP
G11
UM0488 Schematic diagrams
35/48
Figure 21. LCD and joystick connections
STM
icro
elec
tro
nics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
R11210KR11410KR11510KR11610K
R11310K
+3V
3
C99100nF
C98100nF
C97100nF
C95100nF
C96100nF
R12
5
100
CO
MM
ON
5
Sele
ctio
n2
DW
ON
3
LEFT
1
RIG
HT
4
UP
6
U19
MT0
08-A
R12
322
0K
1
4 3
2
B2
WK
UP
C91
do n
ot fi
t
+3V
3
R12
0
100
R12
24K
7
1
43
2
B4
USE
RC
9310
0nF
+3V
3 R11
7
100
R12
14K
7
1
43
2
B3
Tam
per
C92
100n
F
+3V
3 R12
4
100
MB
525
611
ST
M32
10E
-EV
AL
LCD
&Jo
ystic
k
Vss
1
Vcc
2
VO
3
CLK
4
SID
5
CS
6
A7
K8
U18
HX
M12
2032
-GB
1 (d
o no
t fit
)
+3V
3
R79
0
R76
do n
ot fi
tR
74do
not
fit
+5V
+3V
3C
64
100n
F
R10
40
R10
30
R10
20
R10
00
R10
10
R11
0
330
R10
6
0R
111
0
+3V
3
+3V
3
JOY
_SE
LJO
Y_D
OW
NJO
Y_L
EFT
JOY
_RIG
HT
JOY
_UP
LCD
_CS
LCD
_CLK
LCD
_DI
RES
ET#
LCD
_bac
klig
ht
Ant
i_T
ampe
r
WA
KEU
P
Use
r_Bu
tton
R10
5do
not
fit
R10
70
+3V
3
Joys
tick
TF
T LC
D Gra
y LC
D
Tam
per
But
ton
Wak
eup
But
ton
Use
r B
utto
n
D[0
..15]
A[0
..23]
A[0
..23]
D[0
..15]
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
FSM
C_N
WE
FSM
C_N
OE
A0
CS
1
RS
2
WR
/SC
L3
RD
4
RES
ET5
VD
D24
VC
I25
GN
D26
GN
D27
BL_
VD
D28
BL_
Con
trol
23B
L_G
ND
22
PD
16
PD
27
PD
38
PD
49
PD
510
PD
611
PD
712
PD
813
PD10
14
PD11
15
PD12
16
PD13
17
PD14
18
PD15
19
PD16
20
PD17
21
SDO
29
SDI
30
CN
16
Con
nect
or to
Mot
her b
oard
R78
do n
ot fi
t
R75
do n
ot fi
t
R77
0
R80
0
LCD
_DO
PG7
PD3
PG14
PG13
PG15
PG8
PC13
PA0
PG12
PD5 PD
4
PA8
PA6 PA
5PA
7PF
10
FSM
C_N
E4
JP26
JP27
Schematic diagrams UM0488
36/48
Figure 22. SD card and smartcard
STM
icro
elec
tro
nics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
MB
672
711
ST
M32
10E
-EV
AL
SD
&S
mar
t Car
d
+3V
3
Mic
roSD
Car
d_C
LKM
icro
SDC
ard_
CM
D
Mic
roS
D c
ard
VC
C1
RST
2
CLK
3
NC
4
GN
D5
NC
6
I/O7
NC
8
1817C
N18
C81
6
CLK
DIV
11
CLK
DIV
22
5V/3
V3
PGN
D4
C1+
5
Vdd
p6
C1-
7
Vup
8
PRES
9
PRES
10
I/O11
AU
X2
12
AU
X1
13
CG
ND
14C
LK15
RST
16V
cc17
POR
AD
J18
CM
DV
CC
19R
STIN
20V
dd21
GN
D22
OFF
23X
TAL1
24X
TAL2
25I/O
UC
26A
UX
1UC
27A
UX
2UC
28U
17
ST80
24C
DR
C87
100n
F
C83
100n
FC
8633
0nF
C82
47uF
+5V
C89
100n
F
C90
100n
F
R11
8
100K
+3V
3
R90
4K7
+3V
3
R10
810
K
R10
910
K
+3V
3
C12
100n
F
C84
47uF
+3V
3
R91
10K
+3V
3
R94
0
R71
0
R93
10K
TP14
AU
X2
TP15
AU
X1
Smar
tCar
d_3/
5V
Smar
tCar
d_IO
Smar
tCar
d_RS
T
Smar
tCar
d_CL
KSm
artC
ard_
OFF
Smar
tCar
d_CM
DV
CC
Sm
art C
ard
SMS0
64FF
or S
MS1
28FF
12345678
SW2 9
SW1 10
CN
13PJ
S008
-200
0
Mic
roSD
Car
d_D
0M
icro
SDC
ard_
D1
Mic
roSD
Car
d_D
2M
icro
SDC
ard_
D3
Mic
roSD
Car
d_D
etec
t
PB12
PB0 PC
6
PC7 PB
11
PB10
PC8
PC9
PC10
PC11
PD2
PC12
R13
047
KR
131
47K
+3V
3
R12
9
0
R13
347
KR
134
47K
R13
247
K
PF11
UM0488 Schematic diagrams
37/48
Figure 23. Motor control
STM
icro
elec
tro
nics
Tit
le:
Nu
mb
er:
Rev
:S
heet
of
D.2
(PC
B.S
CH
)D
ate:
20
08-0
5-2
1
R7
3.3
K C8
1nF
+3V
3
+3V
3+
5V
R8
0
C7
100n
F
C6
100n
F
R5
0C
22do
not
fit
C13
do n
ot f
it
C9
do n
ot f
it
MB
67
28
11
ST
M3
21
0E
-EV
AL
Mo
tor
Co
ntr
ol
C60
do n
ot f
it
C5
do n
ot f
itC
210
nFC
4do
not
fit
C3
do n
ot f
it
R4
0
R3
0
R6
0 R1
0
JP2
0
C51
do n
ot f
it
EM
ER
GE
NC
Y S
TO
P1
MC
-UH
3
MC
_U
L5
MC
_V
H7
MC
_V
L9
MC
_W
H11
MC
_W
L13
CU
RR
EN
T A
15
CU
RR
EN
T C
19C
UR
RE
NT
B17
NT
C B
YPA
SS R
EL
AY
21
DIS
SIP
AT
IVE
BR
AK
E23
+5V
PO
WE
R25
PF
C S
YN
C27
PF
C P
WM
29
En
code
r A
31
En
code
r B
33
GN
D2
GN
D4
GN
D6
GN
D8
GN
D10
GN
D12
BU
S V
OL
TA
GE
14
GN
D16
GN
D18
GN
D20
GN
D22
GN
D24
Hea
tsin
k T
emp
erat
ure
26
3.3
V P
ower
28
GN
D30
GN
D32
En
code
r In
dex
34
CN
1
MC
_co
nnec
tor
MC
_E
mer
gen
cyST
OP
MC
_C
urre
ntA
MC
_C
urre
ntB
MC
_C
urre
ntC
MC
_P
FCsy
nc1
MC
_P
FCsy
nc2
MC
_W
L
MC
_V
HM
C_
VL
MC
_U
HM
C_
UL
MC
_W
H
MC
_N
TC
MC
_D
issi
pat
iveB
rake
MC
_P
FCp
wm
MC
_E
nAM
C_
EnB
MC
_H
eats
inkT
empe
ratu
re
MC
_B
usV
olta
ge
MC
_E
nIn
dex
R63
100K
JP2
C1
do n
ot f
it
Mo
tor
con
tro
l co
nn
ect
or
Def
ault
set
ting
: Ope
n
Def
ault
set
ting
: Ope
n
PA
6P
C6
PA
7P
C7
PB
0P
C8
PB
1
PA
3
PA
0P
A1
PA
2
PC
0
PC
3
PB
4
PB
5
PB
12
PD
2
PC
1
PC
2P
C5
BN
C1
BN
C2
BN
C3
Schematic diagrams UM0488
38/48
Figure 24. JTAG and trace connectors
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CN
7FT
SH-1
10-0
1-L
-DV
MB
672
911
STM
3210
E-E
VA
L JT
AG
&Tr
ace
+3V
3
R58
10K
R54
10K
R53
10K
R59
10K
R55
do n
ot fi
t
+3V
3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CN
9JT
AG
+3V
3
+3V
3
R48
10K
R47
10K
R52
10K
JP19
R64
10K
R49
0R
50do
not
fit
R60
0R
61do
not
fit
TDI
RES
ET#
TRA
CE_
D3
TRA
CE_
D2
TRA
CE_
D1
TRA
CE_
D0
TRA
CE_
CK
TRST
TMS/
SWD
IOTC
K/S
WC
LKTD
O/S
WO
Trac
e co
nnec
tor
JTA
G c
onne
ctor
Def
ault
setti
ng: O
pen
PB4
PB3
PA15
PA14
PA13
PE2
PE3
PE4
PE5
PE6
KEY
UM0488 Schematic diagrams
39/48
Figure 25. Power supply
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
Vin
3
GND 1
Vou
t2
U12
LD10
86D
2M33
C61
220u
FC
6947
uFC
1110
0nF
+5V
TP5
3V3
SV1
SG2
CV
3
CG
14
CG
25
CG
36
U16
BN
X00
2-01
C81
10uF
E5V
TP4
5V+5
VR
127
300
12
LD5
red
Jum
per
for c
hoic
e be
twee
n po
wer
con
nect
or, U
SB
con
nect
or o
r da
ught
er b
oard
TP16
Gro
und
1 32
CN
17
DC
-10B
Z1 SMA
J5.0
A-T
RC
8510
0nF
1
2
3
U15
ZEN
056V
130A
24LS
+3V
3
12
34
56
JP13
MB
672
1011
ST
M32
10E
-EV
AL
Pow
er
D5V
U5V
E5V
Pow
er re
gula
tor
R42
47
R41
0
VR
EF-
L1 BEA
D
C50
10uF
C46
10nF
JP12
+3V
3
VD
DA
VD
D
BT1
CR
1220
hol
der
Vba
t3
21
JP1
+3V
3
VD
DA
VR
EF+
C45
10nF
TP3
VR
EF
VD
D_7
62
VB
AT
6
VSS
_516
VD
D_5
17
VSS
A30
VR
EF-
31V
REF
+32
VD
DA
33
VSS
_438
VD
D_4
39
VSS
_651
VD
D_6
52
VSS
_761
VSS
_10
120
VSS
_171
VD
D_1
72
VSS
_883
VD
D_8
84
VSS
_994
VD
D_9
95V
SS_2
107
VD
D_2
108
VD
D_1
012
1
VSS
_314
3
VD
D_3
144
VSS
_11
130
VD
D_1
113
1U
8B
STM
32F1
03ZE
T6
MC
U p
ower
C23
100n
FC
3210
0nF
C38
100n
FC
2610
0nF
C19
100n
F
C17
100n
FC
3610
0nF
C35
100n
FC
3310
0nF
C25
100n
F
C18
100n
F
VD
D
VD
D
Def
ault
setti
ng: 5
<->6
Def
ault
setti
ng: 2
<->3
Schematic diagrams UM0488
40/48
Figure 26. SRAM and Flash
STM
icro
elec
tron
ics
Title
:
Num
ber:
Rev
:Sh
eet
o
fD
.2(P
CB
.SC
H)
Dat
e:20
08-0
5-21
+3V
3
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
+3V
3
A[0
..23]
D[0
..15]
RB
7R
8
E9
VD
D12
VSS
13
CL
16
AL
17
W18
WP
19
I/O0
29
I/O1
30
I/O2
31
I/O3
32
VSS
36
VD
D37
I/O4
41
I/O5
42
I/O6
43
I/O7
44
U3
NA
ND
512W
3A2C
N6E
+3V
3
A16
A17
+3V
3
FSM
C_N
E3
FSM
C_N
E2
FSM
C_N
CE2
FSM
C_N
WE
FSM
C_N
OE
FSM
C_N
WA
IT
R19
10K
D[0
..15]
A[0
..23]
MB
672
1111
ST
M32
10E
-EV
AL
SR
AM&
FLA
SH
12
3 JP7
C21
100n
FC
20
100n
F
C88
100n
F
C62
100n
FR
1710
K
+3V
3
R20
10K
+3V
3
C75
100n
F
C63
100n
F
C24
100n
F
R13
10K
C10
100n
F
R23
10K
+3V
3
R24
10K
R12
10K
+3V
3
JP5
A0
A0
A17
A18
+3V
3
+3V
3
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
D0
D1
D2
D3
D4
D5
D6
D7
R22
0
R16
10K
R15
0
+3V
3
R21
0
R18
10K
R25
do n
ot fi
t
Def
ault
setti
ng: O
pen
Def
ault
setti
ng: 2
<->3
A4
B4
A3
B3
A2
A5
A1
A4
A0
A3
CE
B5
I/O0
B6
I/O1
C5
I/O2
C6
I/O3
D5
VC
CD
6
VSS
D1
I/O4
E5I/O
5F5
I/O6
F6I/O
7G
6
WE
G5
A16
E4
A15
F4
A14
F3
A13
G4
A12
G3
A11
H5
A10
H4
A9
H3
A8
H2
I/O8
B1
I/O9
C1
I/O10
C2
I/O11
D2
VC
CE1
I/O12
E2I/O
13F2
I/O14
F1I/O
15G
1
BLE
A1
BH
EB
2
OE
A2
A7
D4
A6
C4
A5
C3
A17
D3
A18
H1
VSS
E6
U1
IS61
WV
5121
6BL
L-10
MLI
A22
B8
A15
D7
A14
C7
A13
A7
A12
B7
A11
D6
A10
C6
A9
A6
A8
B6
A19
D5
A20
D4
WA
5
RP
B5
A21
C5
Vpp
/WP
B4
RB
A4
A18
C4
A17
B3
A7
A3
A6
C3
A5
D3
A4
B2
A3
A2
A2
C2
A1
D2
VC
CD
8
A0
E2
EF2
VSS
E8
GG
2
DQ
0E3
DQ
8F3
DQ
1H
3
DQ
9G
3
DQ
2E4
DQ
10F4
DQ
3H
4
DQ
11G
4
VC
CF1
DQ
4H
5
DQ
12F5
DQ
5E5
DQ
13G
6
DQ
6H
6
DQ
14F6
DQ
7E6
DQ
15A
-1G
7
VSS
H7
BY
TEF7
A16
E7
VC
CG
5
VSS
H2
U2 M
29W
128G
L70Z
A6E
C15
100n
F
M29
W12
8GH
70ZA
6E
NA
ND
512W
3A2B
N6E
PE1
PE0
PD5
PG9
PD6
PD4
PG10
PD7
PG6
FSM
C_N
BL0
FSM
C_N
BL1
FSM
C_I
NT2
S29G
L128
P90F
FIR
20
Rev
D.2
mod
ifica
tion
: ref
eren
ces
of N
OR
flas
h us
ed fo
r U2
upda
ted
UM0488 Schematic diagrams
41/48
Figure 27. Color LCD module
STM
icro
elec
tro
nics
Title
:
Num
ber:
Rev
:Sh
eet
o
fA
.1(P
CB
.SC
H)
Dat
e:20
08-0
3-20
MB
694
11
Col
or L
CD
mod
ule
with
16b
it pa
ralle
l int
erfa
ce
Enab
le1
Dot
Clk
2
HSY
NC
3
VSY
NC
4
CS
5
WR
/SC
L6
SDI
7
RS
8
NC
9
RD
10
RES
ET11
PD0
12PD
113
PD2
14PD
315
PD4
16PD
517
PD6
18PD
719
PD8
20PD
921
PD10
22PD
1123
PD12
24PD
1325
PD14
26PD
1527
PD16
28PD
1729
VD
D30
VC
I31
VC
I32
NC
33N
C34
NC
35N
C36
NC
37
NC
38
NC
39
GN
D40
NC
41N
C42
NC
43N
C44
GN
D45
SDO
46
NC
47N
C48
NC
49
GN
D50
GN
D51
A52
K53
CN
1
FH26
-51S
-0.3
SHW
(05)
Enab
leD
otC
lkH
SYN
CV
SYN
C
CS
RS
WR
RD
#RES
ET
A K
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
30-p
in c
onne
ctor
to m
othe
r b
oard
onl
y fo
r 16b
it sy
stem
inte
rfac
e of
col
or L
CD
CS
RS
WR
RD
#RES
ET
VD
D
VD
D
BLG
ND
BLV
DD
BL_
Co
ntro
l
Enable
DotClk
HSYNC
VSYNCVD
D
RP1
10K
C1
1uF/
50V
R4
4K7
R3
4K7
SDO
SDI
SDI
SDO
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
AM
2403
20L8
TN
QW
01H
Z1 STPS
1L40
MC
31u
F/50
V
L122uH
R6
15
BLG
ND
GN
D1
Vin
2
SHD
N3
Rse
t4
FB5
LDS
6V
out
7SW
8U
1
STLD
20D
-C8
BLV
DD
R5
100K
C2
2.2u
F
R7
0
R8 do
not
fit
BLV
DD
BL_
Con
trol
BLG
ND
BLG
ND
BLG
ND
CS
1
RS
2
WR
/SC
L3
RD
4
RES
ET5
VD
D24
VC
I25
GN
D26
GN
D27
BL_
VD
D28
BL_
Con
trol
23B
L_G
ND
22
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
SD
O29
SD
I30
CN
2
Con
nect
or to
Mot
her b
oard
RP3
do n
ot fi
tR
P2
do n
ot fi
t
RP4
do n
ot fi
tR
P5
do n
ot fi
t
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
R10
4K7
R9
4K7
SDO
SDI
R2
do n
ot fi
tR
1do
not
fit RD
RS
STM3210E-EVAL IO assignment UM0488
42/48
Appendix A STM3210E-EVAL IO assignment
Table 29. STM3210E-EVAL IO assignment
Pin # Pin name STM3210E-EVAL IO assignment
1 PE2 Trace_CLK/FSMCA23
2 PE3 Trace_D0/FSMCA19
3 PE4 Trace_D1/FSMCA20
4 PE5 Trace_D2/FSMCA21
5 PE6 Trace_D3/FSMCA22
6 VBAT +3V3 or battery
7 PC13-ANTI_TAMP Anti-tamper button
8 PC14-OSC32_IN 32K OSC
9 PC15-OSC32_OUT 32K OSC
10 PF0 FSMCA0
11 PF1 FSMCA1
12 PF2 FSMCA2
13 PF3 FSMCA3
14 PF4 FSMCA4
15 PF5 FSMCA5
16 VSS_5 GND
17 VDD_5 +3V3
18 PF6 LD2
19 PF7 LD3
20 PF8 LD4
21 PF9 LD5
22 PF10 LCD_CS for graphic LCD (optional)
23 OSC_IN 8MHz crystal X1
24 OSC_OUT 8MHz crystal X1
25 NRST Reset button B1
26 PC0 MC_ADC_123_10 pin14 (bus voltage)
27 PC1 MC_ADC11 pin 15 / BNC1
28 PC2 MC_ADC12 pin 17 / BNC2
29 PC3 MC_ADC13 pin 19 / BNC3
30 VSSA GND
31 VREF- GND
32 VREF+ +3V3
UM0488 STM3210E-EVAL IO assignment
43/48
33 VDDA +3V3
34 PA0-WKUP MC_TIM2_CH1 pin 31(Ena) / WAKEUP /USART2 CTS
35 PA1 MC_TIM2_CH2 pin 33 (EnB)/USART2 RTS
36 PA2 MC_TIM2_CH3 pin34 (EnIndex)/USART2 TX
37 PA3 MC_TIM6_CH4 pin 23 (dissipative brake)/USART2 RX
38 VSS_4 GND
39 VDD_4 +3V3
40 PA4 DAC1_Audio RIN
41 PA5 SPI_Flash_CLK / DAC2_Audio LIN / QST pin4
42 PA6MC_STOP pin 1 (Emergency stop) / SPI_Flash_MISO / QST pin8
43 PA7 MC_TIM5_CH1N pin 5 (UL) / SPI_Flash_MOSI / QST pin6
44 PC4 Potentiometer
45 PC5 MC_ADC_12_15 pin 26 (heatsink temperature)
46 PB0 MC_TIM5_CH2N pin 9 (VL) / SmartCard_3/5
47 PB1 MC1_TIM5_CH3N pin 13 (WL) / QST pin7
48 PB2 Boot1/ NSS_SPI_Flash
49 PF11 QST pin9 / MicroSD card detection
50 PF12 FSMCA6
51 VSS_6 GND
52 VDD_6 +3V3
53 PF13 FSMCA7
54 PF14 FSMCA8
55 PF15 FSMCA9
56 PG0 FSMCA10
57 PG1 FSMCA11
58 PE7 FSMCD4
59 PE8 FSMCD5
60 PE9 FSMCD6
61 VSS_7 GND
62 VDD_7 +3V3
63 PE10 FSMCD7
64 PE11 FSMCD8
65 PE12 FSMCD9
66 PE13 FSMCD10
Table 29. STM3210E-EVAL IO assignment
Pin # Pin name STM3210E-EVAL IO assignment
STM3210E-EVAL IO assignment UM0488
44/48
67 PE14 FSMCD11
68 PE15 FSMCD12
69 PB10 Smart_IO
70 PB11 Smart Reset
71 VSS_1 GND
72 VDD_1 +3V3
73 PB12 Smart_CK / MC_pin21 (NTC) / Audio I2S_CMD
74 PB13 Audio I2S_CK
75 PB14 USB Disconnect
76 PB15 Audio I2S_DIN
77 PD8 FSMCD13
78 PD9 FSMCD14
79 PD10 FSMCD15
80 PD11 FSMCA16
81 PD12 FSMCA17
82 PD13 FSMCA18
83 VSS_8 GND
84 VDD_8 +3V3
85 PD14 FSMCD0
86 PD15 FSMCD1
87 PG2 FSMCA12
88 PG3 FSMCA13
89 PG4 FSMCA14
90 PG5 FSMCA15
91 PG6 FSMC_INT2
92 PG7 JOY_Select
93 PG8 User Button B4
94 VSS_9 GND
95 VDD_9 +3V3
96 PC6 MC_TIM5_CH1 pin 3 (UH) / Smart_ CMD / VCC/I2S_MCK
97 PC7 MC_TIM5_CH2 pin 7(VH) / Smartcard_OFF
98 PC8 MC_TIM5_CH3 pin 11 (WH) / MicroSD card D0
99 PC9 MicroSD card D1
100 PA8 MCO / LCD backlight /QST pin11
101 PA9 USART1 TX
Table 29. STM3210E-EVAL IO assignment
Pin # Pin name STM3210E-EVAL IO assignment
UM0488 STM3210E-EVAL IO assignment
45/48
102 PA10 USART1 RX
103 PA11 USB DM
104 PA12 USB DP
105 PA13 Debug TMS
106 NC
107 VSS_2 GND
108 VDD_2 +3V3
109 PA14 Debug TCK
110 PA15 Debug TDI
111 PC10 IRDA TX / MicroSD card D2
112 PC11 IRDA RX /MicroSD card D3
113 PC12 MicroSD card CLK
114 PD0 FSMCD2
115 PD1 FSMCD3
116 PD2 Sd card CMD / MC1_TIM3_ETR pin 27 (PFCsync2)
117 PD3 JOY_Down
118 PD4 FSMCNOE
119 PD5 FSMCNWE
120 VSS_10 GND
121 VDD_10 +3V3
122 PD6 FSMCNWAIT
123 PD7 FSMCNE1
124 PG9 FSMCNE2
125 PG10 FSMCNE3
126 PG11 PDN of Audio DAC
127 PG12 FSMCEBAR3
128 PG13 JOY_Right
129 PG14 JOY_Left
130 VSS_11 GND
131 VDD_11 +3V3
132 PG15 JOY_Up
133 PB3 Debug TDO
134 PB4 Debug TRST/MC_TIM3_CH1 pin 27 (PFCsync1)
135 PB5Temperature SMBIA / MC_TIM3_CH2 pin 29 (PFC pwm)/ QST pin10
Table 29. STM3210E-EVAL IO assignment
Pin # Pin name STM3210E-EVAL IO assignment
STM3210E-EVAL IO assignment UM0488
46/48
136 PB6 Audio I2C_SCL & Temperature SCL / QST pin3
137 PB7 Audio_I2C_SDA & Temperature SDA / QST pin5
138 BOOT0 BOOT0
139 PB8 CAN RX
140 PB9 CAN TX
141 PE0 FSMCBLN0
142 PE1 FSMCBLN1
143 VSS_3 GND
144 VDD_3 +3V3
Table 29. STM3210E-EVAL IO assignment
Pin # Pin name STM3210E-EVAL IO assignment
UM0488 Revision history
47/48
Revision history
Table 30. Document revision history
Date Revision Changes
5-May-2008 1 Initial release.
2-June-2008 2Added information on NOR Flash references in Section 1.20 on page 15.
Updated schematics in Section 3 on page 29.
UM0488
48/48
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 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 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 ST’S 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 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 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.
© 2008 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