Upload
vohanh
View
216
Download
2
Embed Size (px)
Citation preview
May 2012 Doc ID 023059 Rev 1 1/52
UM1537User manual
STM320518-EVAL evaluation board
IntroductionThe STM320518-EVAL evaluation board is designed as a complete demonstration and development platform for STMicroelectronic's ARM cortex-M0 core-based STM32F051R8T6 microcontroller. It features two I2Cs, two SPIs, two USARTs, a 12-bit ADC, a 12-bit DAC, two GP comparators, internal 8 KB SRAM and 64 KB Flash, touch sensing, CEC and SWD debugging support.
The full range of hardware features on the board is able to help you evaluate all peripherals (motor control connector, RS-232, RS-485, audio DAC, linear sensor, microphone ADC, TFT LCD, IrDA, IR LED, IR receiver, LDR, MicroSD card, CEC on two HDMI connectors, RF E2PROM, temperature sensor and so on) and develop your own applications. Extension headers make it possible to easily connect a daughterboard or wrapping board for your specific application.
An ST-LINK/V2 is integrated on the board as an embedded in-circuit debugger and programmer for the STM32 MCU.
Figure 1. STM320518-EVAL evaluation board
Table 1. Applicable tools
Type Part number
Evaluation tools STM320518-EVAL
www.st.com
Contents UM1537
2/52 Doc ID 023059 Rev 1
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.6 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.7 RS-232, RS-485 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.8 Linear sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.9 MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.10 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.11 LDR (light dependent resistor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.12 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.13 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.14 RF E2PROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.15 HDMI CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.16 IR LED and IR receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.17 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1 Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.2 RF E2PROM connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.3 HDMI sink connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4 HDMI source connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.5 Daughterboard extension connector CN5 and CN6 . . . . . . . . . . . . . . . . . 24
UM1537 Contents
Doc ID 023059 Rev 1 3/52
3.6 RS-232 and RS-485 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.7 Analog input connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.8 High density SWD connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.9 Standard SWD connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.10 Audio jack CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.11 ST-LINK/V2 programming connector CN12 . . . . . . . . . . . . . . . . . . . . . . . 29
3.12 ST-LINK/V2 USB type B connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . 29
3.13 MicroSD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.14 Power connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4 Board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix A STM320518-EVAL I/O assignments . . . . . . . . . . . . . . . . . . . . . . . . . 47
Appendix B Mechanical dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
List of tables UM1537
4/52 Doc ID 023059 Rev 1
List of tables
Table 1. Applicable tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Table 2. Third-party toolchain support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Table 3. Power source related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Table 4. Power mode related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Table 5. 8 MHz crystal X1 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Table 6. 32 kHz crystal X2 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Table 7. Boot related switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Table 8. Boot0 related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Table 9. Audio related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Table 10. RS-232 and IrDA related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Table 11. RS-485 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Table 12. LCD modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Table 13. Motor control related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Table 14. Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 15. RF E2PROM connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Table 16. HDMI sink connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 17. HDMI source connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 18. Daughterboard extension connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Table 19. Daughterboard extension connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Table 20. RS-232 and RS-485 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Table 21. Analog input-output connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Table 22. High density SWD debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Table 23. Standard SWD debugging connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Table 24. USB type B connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Table 25. MicroSD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Table 26. STM32F051R8T6 MCU pin assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Table 27. Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Table 28. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
UM1537 List of figures
Doc ID 023059 Rev 1 5/52
List of figures
Figure 1. STM320518-EVAL evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 3. STM320518-EVAL evaluation board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Figure 4. STM320518-EVAL evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Figure 5. STM320518-EVAL evaluation board motor control PCB reworks . . . . . . . . . . . . . . . . . . . 20Figure 6. Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Figure 7. RF EEPROM daughterboard connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Figure 8. HDMI sink connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Figure 9. HDMI source connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Figure 10. RS-232 and RS-485 connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Figure 11. Analog input-output connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Figure 12. High density SWD debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Figure 13. Standard SWD debugging connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Figure 14. USB type B connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Figure 15. MicroSD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Figure 16. Power supply connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Figure 17. STM320518-EVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 18. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Figure 19. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Figure 20. HDMI_CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Figure 21. LCD and micro SD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Figure 22. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Figure 23. RS-232, RS-485 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Figure 24. Temperature sensor and RF EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Figure 25. Linear sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Figure 26. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Figure 27. SWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Figure 28. Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Figure 29. Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Figure 30. 2.4 inch LCD module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Figure 31. Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Overview UM1537
6/52 Doc ID 023059 Rev 1
1 Overview
1.1 Features● Three 5 V power supply options: power jack, ST-LINK/V2 USB connector or
daughterboard
● Audio speaker and microphone connected to DAC and ADC of STM32F051R8T6
● 2 Gbyte or more SPI interface MicroSD card
● I2C compatible serial interface temperature sensor
● RF E2PROM
● RS-232 and RS-485 communication
● IrDA transceiver
● IR LED and IR receiver
● SWD debug support, ST-LINK/V2 embedded
● 240 x 320 TFT color LCD connected to SPI interface of STM32F051R8T6
● Joystick with 4-direction control and selector
● Reset, tamper and user buttons
● 4 color LEDs
● Extension connector for daughterboard or wrapping board
● MCU voltage choice fixed at 3.3 V or adjustable from 2 to 3.6 V
● Linear sensor
● Light dependent resistor (LDR)
● Potentiometer
● Two HDMI connectors with DDC and CEC
● Motor control connector
● Boards RoHS compliant (lead free)
1.2 Demonstration softwareDemonstration software is preloaded in the board's Flash memory for easy demonstration of the device peripherals in stand-alone mode. For more information and to download the latest version available, refer to the STM320518-EVAL demonstration software available at www.st.com.
1.3 Order codeTo order the STM32F051R8T6 evaluation board, use the order code STM320518-EVAL.
UM1537 Overview
Doc ID 023059 Rev 1 7/52
1.4 Delivery recommendationsSome verifications are needed before using the board for the first time to make sure that nothing has been damaged during shipment and that no components are unplugged or lost.
When the board is extracted from its plastic bag, please check that no component remains in the bag.
The main components to verify are:
1. The 8 MHz crystal (X1) which may have been removed from its socket by a shock.
2. The MicroSD card which may have been ejected from the connector CN14 (left side of the board).
3. The dual interface EEPROM board (ANT7-M24LR-A) which may have been unplugged from the connector CN2 (top right corner of the board).
Hardware layout and configuration UM1537
8/52 Doc ID 023059 Rev 1
2 Hardware layout and configuration
The STM320518-EVAL evaluation board is designed around the STM32F051R8T6 (64-pin LQFP package). The hardware block diagram shown in Figure 2 illustrates the connection between the STM32F051R8T6 and peripherals (motor control connector, RS-232, RS-485, audio DAC, linear sensor, microphone ADC, TFT LCD, IrDA, IR LED, IR receiver, LDR, MicroSD card, CEC and DDC on two HDMI connectors, RF E2PROM and temperature sensor and so on). Figure 3 shows where you can locate these features on the evaluation board.
Figure 2. Hardware block diagram
�
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 9/52
Figure 3. STM320518-EVAL evaluation board layout
U22 microphone
CN4 HDMI_Source connector
CN1 motor control connector
RV3 potentiometer
B1 reset key
CN 2 RF E2PROM connector
LD5
IR LED
CN7RS-232/RS-485
connector
CN16TFT LCD
U1 IrDA transceiver
4 colors LEDS
LD7 ST-LINK/V2COM LED
CN3 HDMI_Sink connector
U2 IR receiver
CN15 power jack
B3 user button
S1 Linear sensor
U21 joystick
B2tamper button
RV2 VDD_Adjustment
CN13 ST-LINK/V2 USB connector
CN14 MicroSD Card
U4 STM32F051R8T6
CN11 audio jack
CN10 SWD connector
CN5, CN6 extension header
MS30809V1
Hardware layout and configuration UM1537
10/52 Doc ID 023059 Rev 1
2.1 Development and debug supportVersion 2 of the ST-LINK (ST-LINK/V2) is embedded on the board. This tool allows onboard program loading and debugging of the STM32F051R8T6 using the SWD interface. The third-party debug tools are also supported by the SWD connector CN10.
A specific driver must be installed on your PC for communication with the embedded ST-LINK/V2. This driver, called ST-LINK_V2_USBdriver.exe is available on the web. To download and install this driver, refer to the software and development tools page for the STM32F0 family on www.st.com.
Third-party toolchains, such as Atollic TrueSTUDIO, Keil MDK-ARM, IAR EWARM and TASKING VX-toolset for ARM Cortex-M, support ST-LINK/V2 according to Table 2.
The embedded ST-LINK/V2 is connected to the PC via a standard USB cable from connector CN13. The bicolor LED LD7 (COM) indicates the status of the communication as follows.
● Slow blinking Red/Off: at power-on before USB initialization.
● Fast blinking Red/Off: after the first correct communication between the PC and ST-Link/V2 (enumeration).
● Constant Red On: when initialization between the PC and ST-LINK/V2 is successfully finished.
● Constant Green On: after successful target communication initialization.
● Blinking Red/Green: during communication with the target.
● Red On: communication is finished and OK.
● Orange On: communication failure.
Note: The board can be powered via CN13 (embedded ST/LINK/V2 USB connector) even if an external tool is connected to CN9 (high density SWD connector) or CN10 (SWD connector).
Table 2. Third-party toolchain support
Manufacturer Toolchain From version...
Atollic TrueSTUDIO 2.1
IAR EWARM 6.20.4
Keil MDK-ARM 4.20
TASKING VX-toolset for ARM Cortex-M 4.0.1
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 11/52
2.2 Power supplyThe STM320518-EVAL evaluation board is designed to be powered by a 5V DC power supply and to be protected by PolyZen from incorrect power plug-in events.
It is possible to configure the evaluation board to use any of the following three sources for the power supply.
● 5V DC power adapter connected to CN15, the power jack on the board (power supply unit (PSU) on the silk screen). External power supply is not provided with the board.
● 5V DC power with 500 mA limitation from CN13, the USB type B connector of ST-LINK/V2 (USB 5 V power source (STlk) on silkscreen).
● 5V DC power from CN6, the extension connector for daughterboard (daughterboard power source (D5V) on silkscreen).
The power source is selected by setting the related jumpers JP8 as described in Table 3.
Table 3. Power source related jumpers
Jumper Description
JP8
JP8 selects one of the three possible power supply resources.
For the power supply jack (CN15) to STM320518-EVAL only, JP8 is set as shown:
For power supply from the daughterboard connectors (CN6) to STM320518-EVAL only, JP8 is set as shown:
For power supply from USB (CN13) of ST-LINK/V2 to STM320518-EVAL only, JP8 is set as shown (default setting):
For power supply from the power supply jack (CN15) to both STM320518-EVAL and daughterboard connected on CN5 and CN6, JP8 is set as shown (the daughterboard must not have its own power supply connected):
ST
lkD
5VP
SU
ST
lkD
5VP
SU
ST
lkD
5VP
SU
ST
lkD
5VP
SU
Hardware layout and configuration UM1537
12/52 Doc ID 023059 Rev 1
A total of three power modes are supported on the board and can be configured by setting the related jumpers JP7, JP9, JP10 and JP11 as described in Table 4 and its related notes.
● Mode1: the VDD and VDDA are connected together and powered by a fixed 3.3 V.
● Mode2: the VDD and VDDA are connected together and powered by an adjustable voltage ranging from 2.0 V to 3.6 V.
● Mode3: the VDD is powered by an adjustable voltage ranging from 2.0 V to 3.6 V while VDDA is powered by a fixed 3.3 V.
Note: MCU IDD measurement can be done with a current meter mounted on JP7 when it is open.
Note: Jumper JP11 must be open (to disconnect VDDA from all analog power VDD_ANA which is connected to the analog circuits on the board) for MCU Idd measurement.
The LED LD6 is lit when the STM320518-EVAL evaluation board is correctly powered by 5 V.
JP12
The Vbat pin of STM32F051R8T6 is connected to VDD when JP12 is set as shown (default setting):
The Vbat pin of STM32F051R8T6 is connected to a 3 V battery when JP12 is set as shown:
Table 4. Power mode related jumpers
Power modePower mode configuration MCU IDD measurement
JP9 JP10
Mode1
OK
Not allowed
Mode2
OK
Mode3
Not allowed
Table 3. Power source related jumpers (continued)
Jumper Description
321
321
321 321
321 321
321 321
321 321
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 13/52
2.3 Clock sourceTwo clock sources are available on the STM320518-EVAL evaluation board for STM32F051R8T6 and RTC embedded.
● X1, 8 MHz crystal with a socket for the STM32F051R8T6 microcontroller. It can be removed from the socket when the internal RC clock is used.
● X2, 32 kHz crystal for embedded RTC.
2.4 Reset sourceThe reset signal of the STM320518-EVAL evaluation board is low active and the reset sources include the following.
● Reset button B1
● Debugging tools from SWD connector CN10 and CN9
● Daughterboard from CN6
● Embedded ST-LINK/V2
● RS232 connector CN7 for ISP.
Note: The jumper JP6 is to be closed for RESET handled by pin8 of the RS-232 connector CN7 (CTS signal). Refer to Section 2.7 information.
Table 5. 8 MHz crystal X1 related solder bridges
Jumper Description
SB13
PF0 is connected to an 8 MHz crystal when SB13 is open (default setting).
PF0 is connected to an extension connector CN6 when SB13 is closed. In such a case, C34 and X1 must be removed.
SB14
PF1 is connected to an 8 MHz crystal when SB14 is open (default setting).
PF1 is connected to an extension connector CN6 when SB14 is closed. In such a case, R59 must be removed to avoid disturbance due to the 8 MHz quartz.
Table 6. 32 kHz crystal X2 related solder bridges
Jumper Description
SB9
PC14 is connected to a 32 kHz crystal when SB9 is open (default setting).
PC14 is connected to an extension connector CN5 when SB9 is closed. In such a case, R57 must be removed to avoid disturbance due to the 32 kHz quartz.
SB10
PC15 is connected to a 32 kHz crystal when SB10 is open (default setting).
PC15 is connected to an extension connector CN5 when SB10 is closed. In such a case, R58 must be removed to avoid disturbance due to the 32 kHz quartz.
Hardware layout and configuration UM1537
14/52 Doc ID 023059 Rev 1
2.5 Boot optionThe STM320518-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 switch SW1 (BOOT0) and one Option bit in the Small Information block (SIF). The BOOT0 can also be configured via the RS-232 connector CN7.
2.6 AudioThe STM320518-EVAL evaluation board supports a speaker that is connected to the DAC output of the STM32F051R8T6 through an audio amplifier and microphone, which is in turn connected to the ADC input of the STM32F051R8T6 through a microphone amplifier. The speaker can be enabled or disabled by setting JP13 (Table 9).
Table 7. Boot related switch
Switch configuration
Bit12 in USER OPTION BYTES
Boot source
0 <-> 1
XSTM320518-EVAL boot from User Flash when SW1 and Bit12 in User OPTION bytes set as shown to the left (default setting).
0 <-> 1
0STM320518-EVAL boot from Embedded SRAM when SW1 and Bit12 in User OPTION bytes set as shown to the left.
0<-> 1
1STM320518-EVAL boot from System Memory when SW1 and Bit12 in User OPTION bytes set as shown to the left.
Table 8. Boot0 related jumpers
Jumper Description
JP5
The Bootloader_BOOT0 is managed by pin 6 of connector CN7 (RS-232 DSR signal) when JP5 is closed. This configuration is used for the boot loader application only.Default Setting: Not fitted
Table 9. Audio related jumpers
Jumper Description
JP13Speaker amplifier U17 is enabled when JP13 is open (default setting).
Speaker amplifier U17 is disabled when JP13 is closed.
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 15/52
2.7 RS-232, RS-485 and IrDAThe RS-232 (with hardware flow control CTS and RTS), RS-485 and IrDA communication is supported by D-type 9-pin RS-232/RS-485 connectors CN7, and IrDA transceiver U1 which is connected to USART1 of the STM32F051R8T6 on the STM320518-EVAL evaluation board. The signal Bootloader_RESET (shared with the CTS signal) and Bootloader_BOOT0 (shared with the DSR signal) are added to the RS-232 connector CN7 for ISP support.
Table 10. RS-232 and IrDA related jumpers
Jumper Description
JP3
RS232_RX is connected to the RS-232 transceiver and RS-232 communication is enabled when JP3 is set as shown (default setting):
RS485_RX is connected to the RS-485 transceiver and RS-485 communication is enabled when JP3 is set as shown:
IrDA_RX is connected to the IrDA transceiver and IrDA communication is enabled when JP3 is set as shown:
JP4
PA11 is connected to the RS-232 transceiver as RS232_CTS when JP4 is set as shown (default setting):
PA11 is connected to the HDMI_Sink connector as HPD when JP4 is set as shown:
RS
232_RX
RS
485_RX
IrDA
_RX
RS
232_RX
RS
485_RX
IrDA
_RX
RS
232_RX
RS
485_RX
IrDA
_RX
321
321
Hardware layout and configuration UM1537
16/52 Doc ID 023059 Rev 1
The RS-485 communication is supported by the RS-485 transceiver ST485ABDR, which is connected to pin4 and pin9 of the D-type 9-pin connectors CN7 (that share the same connector as USART1).
2.8 Linear sensorThe linear sensor is supported on the STM320518-EVAL evaluation board and connected to four capacitive sensing channels (PB[11:14]) in group6 with an active shield connected to two capacitive sensing channels (PC5 and PB0) in group3.
Note: The linear sensor is only fully functional when the STM320518-EVAL is powered on power mode 1 (both VDD and VDDA are connected to a fixed 3.3 V). It is potentially necessary to adjust the capacitor value of C14 and C15 and the firmware to adapt them to the voltage range from 2 V to 3.6 V of VDD on power modes 2 and 3.
2.9 MicroSD cardThe 2 GB (or more) MicroSD card connected to the SPI1 port of the STM32F051R8T6 is available on the board. MicroSD card detection is managed by the standard IO port PB15.
2.10 Analog inputThe two-pin header CN8 and 10 kohm potentiometer RV3 are connected to PC1 of the STM32F051R8T6 as an analog input. A low-pass filter can be implemented by replacing R60 and C36 with the correct resistor and capacitor values as required by the end-user application.
2.11 LDR (light dependent resistor)The VDDA is divided by the resistor bridge of the LDR VT9ON1 and 8.2 K resistor. It is connected to PA1 (COM1_IN+/ADC IN1) as shown in Figure 4.
Table 11. RS-485 related solder bridges
Jumper Description
SB11,SB12The external failsafe biasing are enabled when solder bridges SB11 and SB12 are closed.Default setting: not fitted
SB8The bus termination is enabled when solder bridge SB8 is closed.Default setting: not fitted
SB16The AC termination is disabled when solder bridge SB16 is closed for high baud rate communication.
Default setting: not fitted
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 17/52
Figure 4. STM320518-EVAL evaluation board
It is possible to compare the LDR output with 1/4 band gap, 1/2 band gap, 3/4 band gap, band gap and DAC1 OUT, and to connect the LDR output to ADC IN1 for AD conversion.
2.12 Temperature sensorA temperature sensor STLM75M2E is connected to the I2C1 bus of the STM32F051R8T6. It shares the same I2C1 bus as the RF E2PROM and DDC on the HDMI_Source connector CN4.
2.13 Display and input devicesThe 2.4 inch color TFT LCD connected to the SPI1 port of the STM32F051R8T6 and four general-purpose color LEDs (LD 1, 2, 3 and 4) are available as display devices. The 4-direction joystick (U21) with selection key connected to PA0 and support wakeup feature and tamper button (B2) are available as input devices.
Table 12. LCD modules
2.4-inch TFT LCD connector CN16
Pin Description Pin connection Pin Description Pin connection
1 CS PF4 9 VDD 3.3 V
2 SCL PA5 10 VCI 3.3 V
3 SDI PA7 11 GND GND
4 RS - 12 GND GND
5 WR - 13 BL_VDD 5 V
Hardware layout and configuration UM1537
18/52 Doc ID 023059 Rev 1
Note: The bi-directional voltage translator is implemented on the SPI MOSI signal between the STM32F051R8T6 and the LCD to support the 3-wire serial interface of the AM240320LGTNQW-01H LCD panel. The direction of this voltage translator is controlled by IO PB2 (the IO PA7 acts as MOSI when PB2 is high or as MISO when PB2 is LOW).
2.14 RF E2PROMAn RF E2PROM module ANT7-M24LR-A is mounted on connector CN2 and is connected to the I2C1 bus of the STM32F051R8T6. It shares the same I2C1 bus as the temperature sensor U8 and DDC on the HDMI_Source connector CN4.
2.15 HDMI CECTwo HDMI connectors CN3 and CN4 are available on the STM320518EVAL board.
● Connector CN3 is an HDMI sink connector with:
– DDC connected to I2C2 of the STM32F051R8T6
– HPD controlled by I/O PA11 through transistor T3
– CEC connected to PB10 through transistor T4
● Connector CN4 is an HDMI source connector with:
– DDC connected to I2C1 of the STM32F051R8T6 and shared with the temperature sensor and RF E2PROM
– HPD controlled by I/O PA8
– CEC connected to PB10 through transistor T4
– 5V HDMI powered by power switch U5
Signals TDMS D+[0,1,2], TDMS_CLK+, TDMS D-[0,1,2] and TDMS_CLK are connected together on these two HDMI connectors.
CEC injector mode can be enabled by reworking the PCB (for debugging purposes only):
● Remove resistors R63, R66, R23, R62, R68, R51 and R13.
● Close solder bridges SB4, SB5, SB6 and SB7.
Note: The I/O PA11 must be set in open-drain output mode by firmware for HPD signal control on the HDMI sink connector CN3.
6 RD - 14 BL_Control 5 V
7 SDO PB4 15 BL_GND GND
8 RESET RESET# 16 BL_GND GND
Table 12. LCD modules (continued)
2.4-inch TFT LCD connector CN16
Pin Description Pin connection Pin Description Pin connection
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 19/52
2.16 IR LED and IR receiverThe IR receiver TSOP34836 is connected to PB3 of the STM32F051R8T6 and a current around 100 mA on the IR LED is driven by PB9 through transistors T1 and T2 on the board.
Note: The IR LED may be driven by PB9 directly with a 20 mA current when SB3 is closed and R11 is removed.
2.17 Motor controlThe STM320518-EVAL evaluation board supports both asynchronous and synchronous three-phase brushless motor control via a 34-pin connector CN1. This connector 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, 3-phase motor current, bus voltage, heatsink temperature coming from the motor driving board and six channels of the PWM control signal going to the motor driving circuit.
Some PCB reworks are required for the motor control application to disconnect peripherals that share IOs with the motor control connector. These IOs need to be connected to the motor control connector.
● Remove resistors R89, R52, R19, R55, R32, R38, R42, R88, R83, R20, R36, R18 and R50.
● Mount R25, R29, R30, R39, R4, R35, R37, R44, R22 and R41 with a 0 ohm resistor.
All resistors to be removed are marked in red while resistors to be soldered are marked in green in Figure 5.
Hardware layout and configuration UM1537
20/52 Doc ID 023059 Rev 1
Figure 5. STM320518-EVAL evaluation board motor control PCB reworks
The RS-232 connector CN7 is re-connected to USART1 on the IOs PB6 and PB7 instead of PA9 and PA10 for the motor control application.
UM1537 Hardware layout and configuration
Doc ID 023059 Rev 1 21/52
Note: The solder bridges SB1 and SB2 cannot be closed at the same time.
Table 13. Motor control related jumpers
Jumper Description
JP2
The special motor current sampling operation is enabled when JP2 is fitted (PB0 connected to PA12). The IO pins PB0 and PA12 are disconnected and can be used by the daughterboard when JP2 is not fitted.
Default setting: not fitted
JP1
JP1 should be kept open when the encoder signal is from pin31 of the motor control connector CN1, while it should be kept closed when the analog signal is from pin31 of CN1 for special motors.
Default setting: not fitted
SB1
Pin17 of the motor connector CN1 is connected to PA3 as MC_currentB2 when SB1 is closed.
Default setting: open
SB2
Pin1 of the motor connector CN1 is connected to PA3 as MC_EmergencySTOP2 when SB2 is closed.
Default setting: open
Connector UM1537
22/52 Doc ID 023059 Rev 1
3 Connector
3.1 Motor control connector CN1
Figure 6. Motor control connector CN1
Table 14. Motor control connector CN1
DescriptionPin of
STM32F051R8T6Pin no. of
CN1Pin no. of
CN1Pin of
STM32F051R8T6Description
Emergency STOP PB121 2 GND
Emergency STOP2 PA3
PWM-UH PA8 3 4 GND
PWM-UL PB13 5 6 GND
PWM-VH PA9 7 8 GND
PWM-VL PB14 9 10 GND
PWM-WH PA10 11 12 GND
PWM-WL PB15 13 14 PA1 Bus voltage
PHASE A CURRENT PA2 15 16 GND
PHASE B CURRENT PC517 18 GND
PHASE B CURRENT2 PA3
PHASE C CURRENT PC4 19 20 GND
NTC BYPASS RELAY PA6 21 22 GND
DISSIPATIVE BRAKE PWM PB11 23 24 GND
+5 V power 25 26 PC2Heatsink
temperature
PFC SYNC PB0/PA12 27 283.3 V power (VDD MCU)
PFC PWM PB1 29 30 GND
Encoder A PA1531 32 GND
MC_BEMF_A PC0
UM1537 Connector
Doc ID 023059 Rev 1 23/52
3.2 RF E2PROM connector CN2
Figure 7. RF EEPROM daughterboard connector CN2
3.3 HDMI sink connector CN3
Figure 8. HDMI sink connector CN3
Encoder B PB333 34
PB10 Encoder index
MC_BEMF_B PC1 PC3 MC_BEMF_C
Table 14. Motor control connector CN1
DescriptionPin of
STM32F051R8T6Pin no. of
CN1Pin no. of
CN1Pin of
STM32F051R8T6Description
Table 15. RF E2PROM connector CN2
Pin number Description Pin number Description
1 SDA (PB7) 3 +5 V
2 SCL (PB6) 4 GND
Connector UM1537
24/52 Doc ID 023059 Rev 1
3.4 HDMI source connector CN4
Figure 9. HDMI source connector CN4
3.5 Daughterboard extension connector CN5 and CN6Two 34-pin male headers CN5 and CN6 can be used to connect with the daughterboard or standard wrapping board to the STM320518-EVAL evaluation board. All GPIOs are available on it. The space between these two connectors and the position of the power, GND and RESET pins is defined as a standard that allows to develop common daughterboards for several evaluation boards.
The standard width between CN5 pin1 and CN6 pin1 is 2700 mils (68.58 mm). This standard has been implemented on the majority of evaluation boards.
Each pin on CN5 and CN6 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM320518-EVAL evaluation board. Details are provided in Table 18 and Table 19.
Table 16. HDMI sink connector CN3
Pin number Description Pin number Description
1,3,4,6,7,9,10,12TMDS differential signal pair
connected to CN416 SDA (PF7)
13 CEC (PB10) 2,5,8,11,17 GND
14 NC 18 HDMI_5V_Sink
15 SCL (PF6) 19 HPD (PA11 through transistor)
Table 17. HDMI source connector CN4
Pin number Description Pin number Description
1,3,4,6,7,9,10,12TMDS differential signal pair
connected to CN316 SDA (PB7)
13 CEC (PB10) 2,5,8,11,17 GND
14 NC 18HDMI_5V_Source from power
switch U5
15 SCL (PB6) 19 HPD (PA8)
UM1537 Connector
Doc ID 023059 Rev 1 25/52
Table 18. Daughterboard extension connector CN5
Pin Description Alternative functionHow to disconnect from the function
block on STM320518-EVAL board
1 GND - -
3 PC6 JOY_Up Remove R87
5 PC8 JOY_Right Remove R98
7 PA8HDMI_HPD_Source / MC_TIM1_CH1 (UH)
Remove R55
Disconnect MC power board from CN1
9 PA10 USART_RX/ MC_TIM1_CH3 (WH)Keep JP3 open
Disconnect MC power board from CN1
11 PA11 USART_CTS/HDMI_HPD_Sink Keep JP4 open
13 PA13 SWDAT -
15 PF7 I2C2_SDA_HDMI_Sink -
17 PA15 MC_TIM2_CH1 (Encoder A) Disconnect MC power board from CN1
19 GND - -
21 PC12 LED3 Remove R92
23 PB3 IR_IN/ MC_TIM2_CH2 (encoder B)Remove R19
Disconnect MC power board from CN1
25 PB5 TempSensor_INT Remove R61
27 PB7TempSensor/HDMI/RF_SDA / MC_USART1_RX
Remove R50
29 PB8 User_KEY Remove R99
31 PB9 IR_OUT Remove R17
33 PC15 OSC32_OUTClose SB10Remove R58
2 PB15 SD_Detection Remove R83
4 PC7 JOY_DOWN Remove R86
6 PC9 JOY_LEFT Remove R85
8 PA9RS232/RS485 / irDA_TX/MC TIM1_CH2 (VH)
Disconnect MC power board from CN1
10 GND - -
12 PA12RS485_DIR / RS232_RTS/ MC_IO (PFC_sync1)
-
14 PF6 I2C2_SCL_HDMI_Sink -
16 PA14 SWCLK -
18 PC10 LED1 Remove R93
20 PC11 LED2 Remove R105
22 PD2 LED4 Remove R104
24 PB4 LCD/SD_MISO Remove R174
Connector UM1537
26/52 Doc ID 023059 Rev 1
26 PB6TempSensor / HDMI/RF_SCL / MC_USART1_TX
Remove R18
28 BOOT0 BOOT0 Keep JP5 open
30 GND - -
32 PC14 OSC32_INRemove R57
Close SB9
34 +3V3 +3V3 Close SB15
Table 18. Daughterboard extension connector CN5 (continued)
Pin Description Alternative functionHow to disconnect from the function
block on STM320518-EVAL board
Table 19. Daughterboard extension connector CN6
Pin Description Alternative functionHow to disconnect from the function
block on STM320518-EVAL board
1 GND - -
3 PB13 TS_CH2/ MC_TIM1_CH1N(UL) -
5 PB11 TS_CAP/ MC_IO (dissipative brake) Remove R31
7 PB2 1.8 V POR -
9 PC13 TAMPER_KEY Remove R96
11 RESET# - -
13 PC5 TS_Shield / MC_AIN15(Current B) Mount a 0 ohm resistor on R33
15 PA7 LCD/SD_MOSI -
17 PA5 LCD/SD_SCK -
19 D5V - -
21 PF5 SD_CS Remove R75
23 PA3MC_AIN3_COMP2_IN+ (Current B2) / (EmergencySTOP2)
Disconnect MC power board from CN1
25 PA1LDR_IN+ / MC_AIN1_COMP1_INI+ (bus voltage)
Remove R89
Disconnect MC power board from CN1
27 PC3 MC_Ain13 (BEMF_C) -
29 PC1 Potentiometer / MC_AIN11 (BEMF_B) Remove R52
31 PC0 Audio_IN / MC_AIN10 (BEMF_A) Remove R88
33 PF0 OSC_INClose SB13
Remove C34 and X1
2 PB14 TS_CH3/ MC_TIM1_CH2N (VL) Disconnect MC power board from CN1
4 PB12TS_CH1/ MC_TIM1_BKIN (emergency STOP)
Remove R9
6 PB10HDMI_CEC/ MC_TIM2_CH3 (encoder index)
Remove R32
Disconnect MC power board from CN1
UM1537 Connector
Doc ID 023059 Rev 1 27/52
3.6 RS-232 and RS-485 connector CN7
Figure 10. RS-232 and RS-485 connector
8 PB1 MC_TIM3_CH4 (PFC PWM) Disconnect MC power board from CN1
10 GND - -
12 PB0TS_Shield_CAP/ MC_ TIM3_CH3 (PFC_sync2)
Mount a 0 ohm resistor on R49
14 PC4 MC_AIN14 (current C) Disconnect MC power board from CN1
16 PA6 MC_IO (NTC_bypass) Disconnect MC power board from CN1
18 PA4 Audio_OUT Remove R103
20 VDD - -
22 PF4 LCD_CS Remove R94
24 PA2 MC_ADC_IN2 (Current A) Disconnect MC power board from CN1
26 PA0 JOY_SEL Remove R97
28 PC2 MC_ADC_IN12 (heatsink temperature) Disconnect MC power board from CN1
30 GND - -
32 VDDA - -
34 PF1 OSC_OUTRemove R59Close SB14
Table 19. Daughterboard extension connector CN6 (continued)
Pin Description Alternative functionHow to disconnect from the function
block on STM320518-EVAL board
Table 20. RS-232 and RS-485 connector CN7
Pin number Description Pin number Description
1 6 Bootloader_BOOT0
2 RS232_RX (PA10) 7 RS232_RTS(PA12)
3 RS232_TX (PA9) 8RS232_CTS(PA11) / Bootloader_RESET
4 RS485_A 9 RS485_B
5 GND
Connector UM1537
28/52 Doc ID 023059 Rev 1
3.7 Analog input connector CN8
Figure 11. Analog input-output connector CN8
3.8 High density SWD connector CN9
Figure 12. High density SWD debugging connector CN9
Table 21. Analog input-output connector CN8
Pin number Description Pin number Description
1Analog input-output
PC12 GND
�� ��
Table 22. High density SWD debugging connector CN9
Pin number Description Pin number Description
1 VDD 2 SWDAT
3 GND 4 SWCLK
5 GND 6 -
7 KEY 8 -
9 GND 10 RESET#
�� ��� � ���� �� ��� �� ��� �
�� ��� ��� ����� ����� �
UM1537 Connector
Doc ID 023059 Rev 1 29/52
3.9 Standard SWD connector CN10
Figure 13. Standard SWD debugging connector CN10
3.10 Audio jack CN11A 3.5 mm stereo audio jack CN11 connected to the audio DAC is available on the STM320518-EVAL board.
3.11 ST-LINK/V2 programming connector CN12The connector CN12 is used only for embedded ST-LINK/V2 programming during board manufacture. It is not populated by default and is not intended for the end user.
3.12 ST-LINK/V2 USB type B connector CN13The USB connector CN13 is used to connect the embedded ST-LINK/V2 to a PC for debugging purposes.
Table 23. Standard SWD debugging connector CN10
Pin number Description Pin number Description
1 VDD 2 VDD
3 - 4 GND
5 - 6 GND
7 SWDAT 8 GND
9 SWCLK 10 GND
11 10 K pull-down 12 GND
13 - 14 GND
15 RESET# 16 GND
17 10 K pull-down 18 GND
19 10 K pull-down 20 GND
��� ���� ������ ���� ��� ��� � ���� ����� ����� �
�� ����� ��� ���� ��� ��� ��� ����� ����� �
Connector UM1537
30/52 Doc ID 023059 Rev 1
Figure 14. USB type B connector CN13
3.13 MicroSD connector CN14
Figure 15. MicroSD connector CN14
Table 24. USB type B connector CN13
Pin number Description Pin number Description
1 VBUS (power) 4 GND
2 DM 5,6 Shield
3 DP
Table 25. MicroSD connector CN14
Pin number Description Pin number Description
1 5MicroSDcard_CLK
(PA5)
2 MicroSDcard_CS (PF5) 6 Vss/GND
3MicroSDcard_DIN
(PA7)7
MicroSDcard_DOUT (PB4)
4 +3.3 V 8
10MicroSDcard_detect
(PB15)
UM1537 Connector
Doc ID 023059 Rev 1 31/52
3.14 Power connector CN15The STM320518-EVAL evaluation board can be powered from a 5 V DC power supply via the external power supply jack (CN15) shown in Figure 16. The central pin of CN15 must be positive.
Figure 16. Power supply connector CN15
��
Board schematics UM1537
32/52 Doc ID 023059 Rev 1
4 Board schematics
The following schematic diagrams are listed.
● Figure 17: STM320518-EVAL on page 33
● Figure 18: MCU on page 34
● Figure 19: Audio on page 35
● Figure 20: HDMI_CEC on page 36
● Figure 21: LCD and micro SD card on page 37
● Figure 22: Peripherals on page 38
● Figure 23: RS-232, RS-485 and IrDA on page 39
● Figure 24: Temperature sensor and RF EEPROM on page 40
● Figure 25: Linear sensor on page 41
● Figure 26: ST-LINK/V2 (SWD only) on page 42
● Figure 27: SWD on page 43
● Figure 28: Motor control on page 44
● Figure 29: Power on page 45
● Figure 30: 2.4 inch LCD module on page 46
UM1537 Board schematics
Doc ID 023059 Rev 1 33/52
Figure 17. STM320518-EVAL
11
22
33
44
55
66
77
88
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1[PC
B.SC
H]D
ate:5/8/20
12
STM
3205
18-EVAL
MB96
51
13
TS_G
3_IO
1TS
_G3_IO
2
TS_G
6_IO
2TS
_G6_IO
1
TS_G
6_IO
3TS
_G6_IO
4
Aud
io_O
UT
Audio_IN
HDMI_HPD
_SIN
K
I2C2_
SDA
I2C2_SC
L
HDMI_CEC
_OD
HDMI_HPD
_Source_5V
I2C1_SC
LI2C1_
SDA
RES
ET#
SWDAT
SWCLK
MicroSD
_CS_
OD
SPI1_S
CK
SPI1_M
OSI
LCD_C
S_OD
SPI1_M
ISO
Potentiometer
LED4
LED3
LED1
LED2
JOY_S
ELJO
Y_D
OWN
JOY_L
EFT
JOY_R
IGHT
JOY_U
P
LDR_O
UT
IR_IN
IR_O
UT
User_Button
Anti_Ta
mper
1V8_
PG
USA
RT_
TXUSA
RT_
RX
RS4
85_D
IR
Boo
tloader_R
ESET
_3V3
I2C_S
MB
MC_HeatsinkTemperature
MC_B
EMF_
C
MC_CurrentAMC_CurrentB2
MC_CurrentC
MC_PFCpwm
SDcard_detect
MC_EnA
Boo
tloader_B
OOT0
MC_EmergencySTOP
MC_ULMC_VLMC_DissipativeBrake
MC_NTC
USA
RT_
CTS
SPI1_M
OSI_D
IR
U_M
CU
MCU.SchDoc
Aud
io_O
UT
Audio_IN
U_A
udio
Aud
io.SchDoc
HDMI_HPD
_SIN
K
I2C2_
SDA_5
VI2C2_SC
L_5V
HDMI_CEC
_3V3
HDMI_HPD
_Source_5V
I2C1_SC
L_5V
I2C1_
SDA_5
V
U_H
DMI_CEC
HDMI_CEC
.SchDoc
RES
ET#
SWDAT
SWCLK
U_S
WD
SWD.SchDoc
MicroSD
_CS_
3V3
SPI1_S
CK_3V3
SPI1_M
OSI_3V3
LCD_C
S_3V
3
SPI1_M
ISO_3V3
SDcard_detect
RES
ET#
U_L
CD_M
icroSD
LCD_M
icroSD
.SchDoc
MC_EmergencySTOP
MC_CurrentA
MC_C
urrentB
MC_CurrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
LMC_V
H
MC_VL
MC_U
H
MC_UL
MC_W
H
MC_NTC
MC_DissipativeBrake
MC_PFCpwm
MC_EnA
MC_E
nB
MC_HeatsinkTemperature
MC_B
usVoltage
MC_E
nIndex
MC_EmergencySTOP2MC_CurrentB2
MC_B
EMF_
A
MC_B
EMF_
BMC_B
EMF_
C
U_M
otorCtrl
MotorCtrl.SchDoc
Potentiometer
LED4
LED3
LED1
LED2
JOY_S
ELJO
Y_D
OWN
JOY_L
EFT
JOY_R
IGHT
JOY_U
P
LDR_O
UT
IR_IN
IR_O
UT
User_Button
Anti_Ta
mper
U_P
eripherals
Perip
herals.SchDoc
1V8_
PG
U_P
ower
Power.SchDoc
USA
RT_
TX_3
V3
USA
RT_
RX_3
V3
RS4
85_D
IR_3
V3
Boo
tloader_B
OOT0
_3V3
Boo
tloader_R
ESET
_3V3
USA
RT_
RTS
USA
RT_
CTS
U_R
S232
_RS4
85_IrD
ARS2
32_R
S485
_IrD
A.SchDoc
TMS/SW
DIO
TCK/SWCLK
RES
ET#
U_S
T_LINK_V
2ST
_LIN
K_V
2.SC
HDOC
I2C_S
CL_
TempS
ensor_5V
I2C_S
DA_T
empS
ensor_5V
I2C_S
MB
I2C_S
DA_R
F_5V
I2C_S
CL_
RF_
5V
U_T
emSensor_R
F_EE
PROM
TemSensor_R
F_EE
PROM.SCHDOC
TS_G
3_IO
1TS
_G3_IO
2
TS_G
6_IO
2TS
_G6_IO
1
TS_G
6_IO
3TS
_G6_IO
4
U_L
inear S
ensor
Linear Sensor.S
chDoc
VCCA
1
A1
2
A2
3
GND
4DIR
5B2
6B1
7VCCB
8U9
SN74
LVC2T
45DCUT+3
V3
VDD
VDD
C40
100nF
C38
100nF
R72
100K
VCCA
1
A1
2
A2
3
GND
4DIR
5B2
6B1
7VCCB
8U7
SN74
LVC2T
45DCUT+3
V3
VDD
VDD
C41
100nF
C39
100nF
R69
100K
VDD
R70
100K
R73
100K
VDD
R20
0
R22
[N/A
]R41
[N/A
]
R36
0
24Mhz clock
1Mhz clock
R18
0R50
0
The sign
als which
was
marke
d in re
d sh
ould be routed
firstly with
shield du
ring PCB
layo
ut.
VCCA
1
A1
2
A2
3
GND
4DIR
5B2
6B1
7VCCB
8U23
SN74
LVC2T
45DCUT+3
V3
VDD
C93
100nF
C94
100nF
R169
100K
R167
100K
VDD
R168
100K
+3V3
R170
100K R17
10
R173
100K
Board schematics UM1537
34/52 Doc ID 023059 Rev 1
Figure 18. MCU
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
VBAT 1
PC13 - TAMPER1 - WKUP2 2
PC14 - OSC32_IN 3
PC15 - OSC32_OUT 4
PF0 - OSC_IN 5
PF1 - OSC_OUT 6
NRST 7
PC0 8
PC1 9
PC2 10
PC3 11
VSSA / VREF- 12
VDDA / VREF+ 13
PA0 - TAMPER2 - WKUP1 14
PA1 15
PA2 16
PA3
17PF
418
PF5
19PA
420
PA5
21PA
622
PA7
23PC
424
PC5
25PB
026
PB1
27PB
2 or NPO
R (1
.8V m
ode)
28PB
1029
PB11
30VSS
_231
VDD_2
32
PB1233 PB1334 PB1435 PB1536 PC637 PC738 PC839 PC940 PA841 PA942 PA1043 PA1144 PA1245 PA1346 PF647 PF748
PA14
49
PA15
50
PC10
51
PC11
52
PC12
53
PD2
54
PB3
55
PB4
56
PB5
57
PB6
58
PB7
59
BOOT0
60
PB8
61
PB9
62
VSS
_163
VDD_1
64
U4
STM32F0
51R8T
6
STM
3205
18-EVAL MCU
MB96
52
13
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
CN5
Header 1
7X2
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
CN6
Header 1
7X2
C19
100nF
C25
100nF
VDD_M
CU
C30
1uF
C28
100nF
VDD_M
CU
PA0PA1PA2
PA3
PA4
PA5
PA6
PA7
PA8PA9PA10PA11PA12PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12PB13PB14PB15
PC0PC1PC2PC3
PC4
PC5
PC6PC7PC8PC9
PC10
PC11
PC12
PC13PC14PC15PF0PF1
PF4
PF5
PF6PF7
PD2
TS_G
3_IO
1TS
_G3_IO
2
TS_G6_IO2
TS_G
6_IO
1
TS_G6_IO3TS_G6_IO4
Aud
io_O
UT
Audio_IN
HDMI_HPD
_SIN
K
I2C2_SDAI2C2_SCL
HDMI_CEC
_OD
HDMI_HPD_Source_5V
I2C1_SC
LI2C1_
SDA
RES
ET#
SWDAT
SWCLK
MicroSD
_CS_
OD
SPI1_S
CK
SPI1_M
OSI
LCD_C
S_OD
SPI1_M
ISO
Potentiometer
LED4
LED3
LED1
LED2
JOY_SEL
JOY_DOWN
JOY_LEFTJOY_RIGHT
JOY_UP
LDR_OUT
IR_IN
IR_O
UT
User_Button
Anti_Tamper
1V8_
PG
USART_TXUSART_RX
RS485_DIR
Boo
tloader_R
ESET
_3V3
I2C_S
MB
BT1
CR1220 holder
12
3 JP12
VDD
41
32
X2
Q13
MC30
6100
0300
(EPS
ON 12.5pF)C33
20pF
C32
20pF
R58
0R57
0
C35
20pF
C34
20pFX1
8MHz (w
ith so
cket)
R59
390
1 432
B1
RES
ETR15
5[N
/A]
VDD
C88
100nF
MC_HeatsinkTemperatureMC_BEMF_C
VDDAMC_CurrentA
MC_C
urrentB2
MC_C
urrentC
MC_P
FCpw
m
VDD_M
CU
SDcard_detect
MC_E
nA
R71
10K
VDD
23
1 SW1
09.03290.01
Boo
tloader_B
OOT0
D2
BAT6
0JFILM
JP5
D3
BAT6
0JFILMJP
6
VDDA
Left
Right
PC14
PC15
SB9
SB10
close to crystal connection
Open by default
+3V3
PC13
RES
ET#
D5V
RES
ET#
BOOT0
PF0
PF1
SB13
SB14
MC_E
mergencyS
TOP
MC_U
LMC_V
L
MC_D
issipativ
eBrake
EXT_
PB11
EXT_
PB12
EXT_
PB13
EXT_
PB14
close to Touch slider connection
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
PB10
PC4
PC5
PF4
PF5
PA0
PA1
PA2
PC0
PC1
PC2
PC3
PA14
PA15
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PC10
PC11
PC12
PD2
BOOT0
PA8
PA9
PA10
PA11
PA12
PA13
PB15
PC6
PC7
PC8
PC9
PF6
PF7
EXT_
PB11
EXT_
PB12
EXT_
PB13
EXT_
PB14
MCU
Exten
sion
con
nector
SB15
R29
[N/A
]R25
[N/A
]R30
[N/A
]R39
[N/A
]
MC_N
TC
12
3 JP4
USA
RT_
CTS
close to crystal connection
Open by default
R33
[N/A
]
R49
[N/A]
close to Touch slider connection
VDD
VDDA
SPI1_M
OSI_D
IR
UM1537 Board schematics
Doc ID 023059 Rev 1 35/52
Figure 19. Audio
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
12
U22
KEC
G2740TB
L
2 1U16
KDMG15008-03
C77
180pF
C70
100nF
R14
0100K
R13
4100K
R16
610K
JP13
+3V3
+3V3
C84 47
0nFR15
4 22K
R14
922K
C76
330pF
C75
1uF
TP4
MIC_O
UT
TP7 M
IC+
R13
31K
R14
410
0
R13
92.2K C69
47pF
R13
515K
1 32
RV1
[N/A]
Speaker+
Speaker-
1 10 2
CN11
ST-613
C42
[N/A]
R10
60
R10
0500
Aud
io_O
UT
Audio_IN
431
25
U18
TS461C
LT
C63
10uF
C64
4.7uF
C74
2.2uF
R14
518K
R14
882K
R14
768
0 C73
4.7uF
R10
30
C89
[N/A]
Standby
1
Bypass
2VIN
+3
VIN
-4
VOUT1
5
VCC
6
GND
7
VOUT2
8
U17
TS4990IST
C87
1uF
PA4
PC0
STM
3205
18-EVAL Aud
io
MB96
53
13
VDD_A
NA
VDD_A
NA
VDD_A
NA
C91
100nF
R88
0
Board schematics UM1537
36/52 Doc ID 023059 Rev 1
Figure 20. HDMI_CEC
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:4/3/20
12
HDMI_HPD
_SIN
K
STM
3205
18-EVAL HDMI_CEC
MB96
54
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
CN4
47151-0051
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
CN3
47151-0051
Sink
Sou
rce
R28
1KR23
1K
HDMI_5V
_Sink
HDMI_5V
_Sink
I2C2_
SDA_5
VI2C2_SC
L_5V
R68
47K
R62
47K
+3V3
R34
27K
HDMI_CEC
_3V3
+5V
C16
4.7uF
GND
2
IN5
EN4
OUT
1FA
ULT
3U5
STMPS
2141
STR@54
HDMI_5V
_Source
R63
1M
HDMI_HPD
_Source_5V
I2C1_SC
L_5V
I2C1_
SDA_5
V
R51
1.8K
R13
1.8K
+5V
SB4
SB5
SB6
SB7
R66
0
213
G
SDT4 2N
7002
+5V
PA11 PF
6PF
7PB
10
PA8
PB6
PB7
TMDS Data2+
TMDS Data2-
TMDS Data1+
TMDS Data1-
TMDS Data0+
TMDS Data0-
TMDS Clock+
TMDS Clock-
R55
0
R32
0
3
2
1 T3 9012
R95
1K
UM1537 Board schematics
Doc ID 023059 Rev 1 37/52
Figure 21. LCD and micro SD card
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
MicroSD
_CS_
3V3
SPI1_S
CK_3V3
SPI1_M
OSI_3V3
LCD_C
S_3V
3
+3V3
SPI1_M
ISO_3V3
SDcard_detect
MicroSD card
CS
1
SCL
2
SDI
3
RS
4
WR
5
RD
6
RES
ET8
VDD
9
VCI
10
SDO
7
GND
11
GND
12
BL_
VDD
13
BL_
Contro
l14
BL_
GND
15
BL_
GND
16
CN16
2.4" LCD connector (M
B895C
)
+3V3
TFT LC
D
PB15
PB4
PA5
STM
3205
18-EVAL LC
D & M
icro SD card
MB96
55
13
+5V
C86
10uF
L1 BEA
DC78
100nF
L2 BEA
D
R12
60
+3V3
R13
2[N
/A]
R11
010K
R94
0+3V3R76
10K
R75
0 +3V3
RVS
1CS
2DI
3Vdd
4SC
LK5
Vss
6DO
7RVS
8
SW2
9SW
110 G1
G2
G3
G4
CN14
PJS0
08-2000 (SMS0
64FF
or S
MS1
28FF
)
PA7
PF4
PF5
R83
0
RES
ET#
+3V3
VDD
R11
64K
7
2
13
G SD
TR1
BSN
20
R11
827
0
R77
10K
R17
227
0
R17
40
Board schematics UM1537
38/52 Doc ID 023059 Rev 1
Figure 22. Peripherals
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:5/4/20
12
13
2RV3
10K
Potentiometer
Poten
tiometer
12
LD3
Red
12
LD2
Orang
e
12
LD4
Blue
12
LD1
Green
+3V3
R15
751
0
R15
168
0
R15
668
0
R15
068
0LE
D4
LED3
LED1
LED2
R16110KR15910KR16210KR16310K
R16010K
VDD
C83100nF
C82100nF
C80100nF
C81100nF
C79100nF
R16
4100
COMMON
5
Selection
2
DWON
3
LEFT
1
RIG
HT
4
UP
6
U21
MT0
08-A
R87
0R98
0R85
0R86
0R97
0JO
Y_S
ELJO
Y_D
OWN
JOY_L
EFT
JOY_R
IGHT
JOY_U
P
Joys
tick
LEDs
IR_R
eceive
r
LDR_O
UT
R10
18.2K
Tampe
r Button
PA1
PC10
PC11
PC12
PD2
PC6
PC8
PC9
PC7
PA0
R93
0
R10
50
R92
0
R10
40
C36
[N/A]
R60
0
Close
to M
CU on PCB
PC1
R65
0
R10
7VT9
ON1
STM
3205
18-EVAL Periphe
rals
MB96
56
13
+3V3
23 1
U2
TSOP3
4836
R21
100
C13
4.7uF
IR_IN
PB3
IR_O
UT
R10
22
+3V3
R12
100
1 2
LD5
SFH409-2
IR_L
ED
PB9
VDD R14
10K
3
2
1T2 9013
3
2
1T1 9013
R16
10K
R15
1K
CN8
two pin he
ader fo
r externa
l ana
log inpu
t
Pho
to re
sistor
R15
34K
7
1
43
2
B3
USE
RC85
100nF
VDD
R16
5100
R99
0User_Button
PB8
R15
24K
7
1
43
2
B2
Tamper
C90
100nF
VDD
R15
810
0
R96
0Anti_Ta
mper
PC13
Use
r Button
R11
0
SB3
R17
0
R53
47
VDD_A
NA
VDD_A
NA
C92
100nF
R89
0R52
0
R19
0
UM1537 Board schematics
Doc ID 023059 Rev 1 39/52
Figure 23. RS-232, RS-485 and IrDA
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
SD5
TxD
3
GND
8
Ano
de (V
CC2)
1
Cathode
2
RxD
4
VCC1
6
Vlogic
7
U1
TFDU63
00
R2
5R1
47
C1
0.1uF
C2
0.1uF
+3V3
C4
4.7uF
C3
4.7uF
IrDA
STM
3205
18-EVAL RS23
2 RS48
5 & IrDA
MB96
57
13
1 6 2 7 3 8 4 9 5
CN7
DB9-male USA
RT1
USA
RT_
TX_3
V3
USA
RT_
RX_3
V3
conn
ector for USART1
& RS48
5
RO
1
RE
2
DE
3
DI
4GND
5A
6B
7Vcc
8U6
ST48
5ABDR
+5V
RS4
85_D
IR_3
V3
R48
10K
R67
22K
R64
22K
SB12
SB11
R56
120
C31
100nF
SB8
Boo
tloader_B
OOT0
_3V3
Boo
tloader_R
ESET
_3V3
C2+
1
C2-
2V-
3
R1IN
4
R2IN
5
R3IN
6
R4IN
7
R5IN
8
T1OUT
9
T2OUT
10
T3OUT
11T3
IN12
T2IN
13T1
IN14
R5O
UT
15R4O
UT
16R3O
UT
17R2O
UT
18R1O
UT
19R2O
UTB
20R1O
UTB
21
nSHDN
22nE
N23
C1-
24GND
25VCC
26
V+
27
C1+
28U3
ST32
41EB
PR
C22100nF
C18 10
0nF
C21
100nF
C23
100nF
C20
100nF
+3V3
+3V3
PA12
RXD
RTS
TXD
CTS
DSR
65
43
21
JP3
Header 3
X2
PA9
PA10
R3
0
USA
RT_
CTS
USA
RT_
RTS
PA12
PA11
SB16
Board schematics UM1537
40/52 Doc ID 023059 Rev 1
Figure 24. Temperature sensor and RF EEPROM
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
I2C_S
CL_
TempS
ensor_5V
I2C_S
DA_T
empS
ensor_5V
SDA
1
SCL
2
OS/IN
T3
GND
4A2
5A1
6A0
7VDD
8U8
STLM
75M2E
+5V
C37
100nF
R61
0
Tempe
rature sen
sor
I2C_S
MB
PB7
PB6
PB5
STM
3205
18-EVALT
emSen
dor &
RF EEPROM
MB96
58
13
+5V
1 1
2 2
3 3
4 4
CN2
SSM-104-L-SH
+5V
RF EEPROM con
nector
R54
10K
VDD
I2C_S
DA_R
F_5V
I2C_S
CL_
RF_
5V
PB7
PB6
UM1537 Board schematics
Doc ID 023059 Rev 1 41/52
Figure 25. Linear sensor
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1[PC
B.SC
H]
Date:5/8/20
12
TS_G
3_IO
1TS
_G3_IO
2
R38
0
PB13
PB14
PC5
PB0
<----ESD
resis
tor c
lose to
MCU pad
TS_G
6_IO
2PB12
C14
47nF
(COG)G
RM31
M5C
1H47
3JA01
L
R42
2.2k
PB11
SLD_1
SLD_2
SLD_3
C15
220nF
11
22
33
S1 Linear Sensor 3
pos
R27
10K
R26
10K
R24
10K
STM
3205
18-EVAL Line
ar Sen
sor
MB96
59
13
R31
0TS
_G6_IO
1
TS_G
6_IO
3
TS_G
6_IO
4
Active shiled
Board schematics UM1537
42/52 Doc ID 023059 Rev 1
Figure 26. ST-LINK/V2 (SWD only)
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:5/4/20
12
VBAT
1
PC13
2
PC14
3
PC15
4
OSC
_IN
5
OSC
_OUT
6
/RST
7
VSS
A8
VDDA
9
PA0
10
PA1
11
U2_
TX12
U2_RX 13
U2_CK 14
S1_CK 15
S1_MISO 16
S1_MOSI 17
PB0 18
PB1 19
PB2/BOOT1 20
PB10 21
VSS_1 23
VDD_1 24
PB12
25
PB11 22
S2_C
K26
S2_M
ISO
27S2
_MOSI
28PA
829
PA9
30PA
1031
PA11
32PA
1233
JTMS
34VSS
_235
VDD_2
36
JTCK37 JTDI38 JTDO39 JNRST40 PB541 PB642 PB743 BOOT044 PB845 PB946 VSS_347 VDD_348
U14
STM32F1
03C8T
6
20pF
C67
20pF
C68
12
X3
8MHz
+3V3
USB
_DM
USB
_DP
STM_R
ST
T_JTCK
T_JT
CK
T_JTDOT_JTDI
T_JT
MS
STM_J
TMS_
SWDIO
STM_JTCK_SWCLK
LED_S
TLINK
OSC
_IN
OSC
_OUT
T_NRSTT_JRST
LED_S
TLINK
T_JT
CK
T_NRST
T_JT
MS
R14
3
4K7
R14
1
4K7
AIN_1
C72
100nF
R14
2
100K
R13
7100
+3V3
+3V3
VDD
+3V3
+3V3
+3V3
AIN_1
VCC
1
D-
2
D+
3
GND
4
SHEL
L0
SHEL
L0
CN13
USB
-typeB connector
USB
_DM
USB
_DP
+3V3 C
62100nF
C71
100nF
C55
100nF
C43
100nF
R12
822
R13
122
MCU USB
SWD
STM_J
TMS_
SWDIO
STM_J
TCK_
SWCLK
+3V3
U5V
_ST_
LINK
C59
100nF
C44
100nF
TMS/SW
DIO
TCK/SWCLK
RES
ET#
SWIM
_PU_C
TRL
R13
0
100K
VccA
1
A1
2
A2
3
GND
4DIR
5B2
6B1
7VccB
8U10
SN74
LVC2T
45DCUT
+3V3
VDD
T_SW
DIO
_IN
T_SW
DIO
_IN
T_SW
O
12
34
5
CN12
JTAG
R12
4
1.5K
R11
710K
R12
036K2
3 1
T5 9013
+3V3
U5V
_ST_
LINK
R14
6[N
/A]R13
810K
R12
7
100K
MCO
2 1
43
Red
Yello
w
LD7
HSM
F-A201-A00J1
R13
6100
R12
90
+3V3
STM
3205
18-EVAL ST-LINK/V2 (SWD only)
MB96
510
13
C52
100nF
I/O1
1
GND
2
I/O2
3I/O
24
Vbu
s5
I/O1
6U13
USB
LC6-2P
6
U5V
_ST_
LINK
UM1537 Board schematics
Doc ID 023059 Rev 1 43/52
Figure 27. SWD
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:5/4/20
12
R74
[N/A]
R81
[N/A]
R82
[N/A]
VDD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CN10
SWD
VDD
VDD
R10
210K
R10
810K
R90
10K
RES
ET#
SWDAT
SWCLK
High Den
sity SWD con
nector
Stand
ard SWD con
nector
KEY
PA13
PA14
D5 Z5V1
D6 [N/A]
D4 Z5V1
STM
3205
18-EVAL SWD
MB96
511
13
R10
922
R11
522
R12
322
12345678910
CN9
FTSH
-105-01-L-DV VDD
Board schematics UM1537
44/52 Doc ID 023059 Rev 1
Figure 28. Motor control
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1(PCB.SCH)
Date:3/15
/201
2
R6
3.3K C8
1nF
+3V3
+3V3
+5V
R9
0
C26 100nF
C29
100nF
R46
0C27
[N/A]
C7
[N/A]
C24
[N/A]
C12
[N/A]
C11
[N/A]
C5
10nF
C9 [N/A]
C10
[N/A]
R5
0
R40
0
R43
0 R7
0
JP2
C6
[N/A]
EMER
GEN
CY STO
P1
MC-U
H3
MC_U
L5
MC_V
H7
MC_V
L9
MC_W
H11
MC_W
L13
CURREN
T A
15
CURREN
T C
19CURREN
T B
17
NTC
BYPA
SS REL
AY
21
DISSIPA
TIVE BRAKE
23
+5V POWER
25
PFC SYNC
27
PFC PWM
29
Encoder A
31
Encoder B
33
GND
2
GND
4
GND
6
GND
8
GND
10
GND
12
BUS VOLT
AGE
14
GND
16
GND
18
GND
20
GND
22
GND
24
Heatsink Te
mperature
26
3.3V
Pow
er28
GND
30
GND
32
Encoder Index
34
CN1
MC_connector
MC_E
mergencyS
TOP
MC_C
urrentA
MC_C
urrentB
MC_C
urrentC
MC_P
FCsync1
MC_P
FCsync2
MC_W
L
MC_V
HMC_V
L
MC_U
HMC_U
L
MC_W
H
MC_N
TCMC_D
issipativ
eBrake
MC_P
FCpw
mMC_E
nAMC_E
nB
MC_H
eatsinkT
emperature
MC_B
usVoltage
MC_E
nIndex
R45
100K
JP1
C17
[N/A]
Motor con
trol con
nector
Defau
lt se
tting
: Ope
n
Defau
lt se
tting
: Ope
n
PB12
PA8
PB13
PA9
PB14
PA10
PB15
PB11
PA15
PB3
PB10
PA1
PC4
PA12
PB1
PA6
PB0
PA2
PC5
PC2
STM
3205
18-EVAL Motor con
trol
MB96
512
13
MC_E
mergencyS
TOP2
SB2
MC_C
urrentB2
SB1R8
0
MC_B
EMF_
AMC_B
EMF_
BMC_B
EMF_
C
PC0
PC1
PC3
PA3
PA3
R47
0
Open by default
Open by default
R37
[N/A
]R4
[N/A
]R35
[N/A
]
R44
[N/A
]
UM1537 Board schematics
Doc ID 023059 Rev 1 45/52
Figure 29. Power
11
22
33
44
DD
CC
BB
AA
STMicroelec
tron
ics
Title:
Num
ber:
Rev:
Sheet of
B.1[PC
B.SC
H]
Date:3/15
/201
2
Vin
3
GND 1
Vout
2
U19
LD10
86D2M
33
SV1
SG2
CV
3
CG1
4
CG2
5
CG3
6
U15
BNX002-01
C58
220uF
E5V
TP5
5V+5
VR11
21K
12
LD6
red
C60
47uF
C61
10uF
C45
10uF
[ESR
<0.2ohm]
C65
100nF
+5V
+3V3
VDD_A
DJ
+5V
TP1
Groun
d
TP6
+3V3
TP2
VDD_A
DJ
1 32
CN15
DC-10B
Z1 SMAJ5.0A-TR
C66
100nF
1
2
3
U20
ZEN056V
130A
24LS
1 3
2RV2
3386
P-50
3H[5%]
R12
531.6K[1%]
E5V
D5V
U5V
_ST_
LINK
C48
[N/A]
Power Sup
ply VD
D_A
DJ [2.1V to 3.5V]
EN1
GND 2VO
4
ADJ
5GND EXP
VI
6PG
3
U11
ST1L
05BPU
R
+3V3
R12
110K
C53
100nF
R11
359K[1%]
C56
4.7uF
STM
3205
18-EVAL Pow
er
MB96
513
13
65
43
21
JP8
Header 3
X2
Vout=1.22*(1+
R1/R2)
C47
10uF
[ESR
<0.2ohm]
+1V8
+5V
TP3
1.8V
R12
231.6K[1%]
C51
[N/A]
Power Sup
ply 1.8V
EN1
GND 2
VO
4
ADJ
5
GND EXP
VI
6PG
3
U12
ST1L
05BPU
R
VDD_A
DJ
R11
91K
C54
[N/A]
R11
415K[1%]
C57
4.7uF
Vout=1.22*(1+
R1/R2)
12
3 JP9
VDD_A
DJ
+1V8
+3V3
R78
0
R84
[N/A]
32
1 JP10
R79
[N/A
]
R80
0
VDD
VDDA
1V8_
PGR11
1
[N/A]
+1V8
C50
100nF
R91
[N/A
]
D1
BAT6
0JFILM
JP7
VDD_M
CU
considering potentiometer error to
lerance
C46
100nF
C49
100nF
JP11
VDD_A
NA
Board schematics UM1537
46/52 Doc ID 023059 Rev 1
Figure 30. 2.4 inch LCD module
UM1537 STM320518-EVAL I/O assignments
Doc ID 023059 Rev 1 47/52
Appendix A STM320518-EVAL I/O assignments
Table 26. STM32F051R8T6 MCU pin assignments
Pin
nu
mb
er
Pin name STM320518-EVAL general I/O assignmentSTM320518-EVAL motor control I/O assignment
1 VBAT VBAT
2PC13 - TAMPER1 -
WKUP2TAMPER_KEY
3 PC14 - OSC32_IN OSC32_IN
4 PC15 - OSC32_OUT OSC32_OUT
5 PF0 - OSC_IN OSC_IN
6 PF1 - OSC_OUT OSC_OUT
7 NRST NRST
8 PC0 Audio_IN MC_AIN10 (BEMF_A)
9 PC1 Potentiometer MC_AIN11 (BEMF_B)
10 PC2MC_ADC_IN12(headsink
temperature)
11 PC3 MC_Ain13 (BEMF_C)
12 VSSA / VREF- VSSA
13 VDDA / VREF+ VDDA
14PA0 - TAMPER2 -
WKUP1JOY_SEL
15 PA1 LDR_IN+MC_AIN1_COMP1_INI+
(bus voltage)
16 PA2 MC_ADC_IN2 (current A)
17 PA3MC_AIN3_COMP2_IN+ (current
B2) / (emergencySTOP2)
18 PF4 LCD_CS
19 PF5 SD_CS
20 PA4 Audio_OUT
21 PA5 LCD/SD_SCK
22 PA6 MC_IO (NTC_bypass)
23 PA7 LCD/SD_MOSI
24 PC4 MC_AIN14 (current C)
25 PC5 TS_Shield MC_AIN15 (current B)
26 PB0 TS_Shield_CAP MC_ TIM3_CH3 (PFC_sync2)
STM320518-EVAL I/O assignments UM1537
48/52 Doc ID 023059 Rev 1
27 PB1 MC_TIM3_CH4 (PFC PWM)
28PB2 or NPOR (1.8V
mode)1.8 V POR
29 PB10 HDMI_CEC MC_TIM2_CH3 (encoder index)
30 PB11 TS_CAP MC_IO (dissipative brake)
31 VSS_2 VSS
32 VDD_2 VDD
33 PB12 TS_CH1MC_TIM1_BKIN
(emergency STOP)
34 PB13 TS_CH2 MC_TIM1_CH1N(UL)
35 PB14 TS_CH3 MC_TIM1_CH2N (VL)
36 PB15 SD_Detection MC_TIM1_CH3N (WL)
37 PC6 JOY_UP
38 PC7 JOY_DOWN
39 PC8 JOY_RIGHT
40 PC9 JOY_LEFT
41 PA8 HDMI_HPD_Source MC_TIM1_CH1 (UH)
42 PA9 RS232/RS485/irDA_TX MC TIM1_CH2 (VH)
43 PA10 RS232/RS485/irDA_RX MC_TIM1_CH3 (WH)
44 PA11 HDMI_HPD_Sink / RS232_CTS
45 PA12 RS485_DIR / RS232_RTS MC_IO (PFC_sync1)
46 PA13 SWDAT
47 PF6 I2C2_SCL_HDMI_Sink
48 PF7 I2C2_SDA_HDMI_Sink
49 PA14 SWCLK
50 PA15 MC_TIM2_CH1 (encoder A)
51 PC10 LED1
52 PC11 LED2
53 PC12 LED3
54 PD2 LED4
55 PB3 IR_IN MC_TIM2_CH2 (encoder B)
56 PB4 LCD/SD_MISO
57 PB5 TempSensor_INT
Table 26. STM32F051R8T6 MCU pin assignments (continued)
Pin
nu
mb
er
Pin name STM320518-EVAL general I/O assignmentSTM320518-EVAL motor control I/O assignment
UM1537 STM320518-EVAL I/O assignments
Doc ID 023059 Rev 1 49/52
58 PB6 TempSensor/HDMI/RF_SCL / MC_USART1_TX
59 PB7TempSensor/HDMI/RF_SDA /
MC_USART1_RX
60 BOOT0 BOOT0
61 PB8 User_KEY
62 PB9 IR_OUT
63 VSS_1 VSS
64 VDD_1 VDD
Table 26. STM32F051R8T6 MCU pin assignments (continued)
Pin
nu
mb
er
Pin name STM320518-EVAL general I/O assignmentSTM320518-EVAL motor control I/O assignment
Mechanical dimensions UM1537
50/52 Doc ID 023059 Rev 1
Appendix B Mechanical dimensions
Figure 31. Mechanical dimensions
Table 27. Mechanical dimensions
SymbolDimensions
(mm)Symbol
Dimensions (mm)
SymbolDimensions
(mm)
A 68.58 e 77.443 P1 40.64
a1 2.54 H 11 P3 115.247
a3 2.54 Lx 5.715 Q1 25.4
C 36 Ly 5.715 Q3 19.837
D 3.5 Mx 17.02 X 114.3
d 3.2 My 20.32 Y 172.72
UM1537 Revision history
Doc ID 023059 Rev 1 51/52
Revision history
Table 28. Document revision history
Date Revision Changes
21-May-2012 1 Initial release.
UM1537
52/52 Doc ID 023059 Rev 1
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 TWO AUTHORIZED ST REPRESENTATIVES, 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.
© 2012 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com