UM2502 STMICROELECTRONICS | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 27
Technical content
Datasheet sections
- 1 Features
- 2 General information
- 3 System requirements
- 4 Development toolchains
- 5 Ordering information
- 6 Conventions
- 7 Quick start
- 8 STLINK-V3MODS and STLINK-V3MINI func tional description
- 8.1 STLINK-V3MODS and STLINK-V3MINI overview
- 8.2 High performance modules
- 8.3 Hardware layout
- 8.4 STLINK-V3MODS and STLINK-V3MINI functions
- 8.4.1 SWD with SWV
- 8.4.2 JTAG
- 8.4.3 Virtual COM port (VCP)
- 8.4.4 Bridge functions (STLINK-V3MODS only)
- 8.4.5 LEDs
- 9 Board connectors
- 9.1 Connectors
- 9.1.1 USB Micro-B
- 9.1.3 STDC14 for STLINK-V3MINI (STM32 JTAG/SWD and VCP)
- 10 Software configuration
- 10.1 Supporting toolchains (not exhaustive)
- 10.2 Drivers and firmware upgrade
STDC14 connectivity with an included STDC14 to STDC14 flat cable. Pictures are not contractual. Figure 1. STLINK-V3MODS product top view Figure 2. STLINK-V3MINI product top view
11 STLINK-V3MODS and ST LINK-V3MINI product
Appendix B Federal Communi cations Commission (FCC)
1 Features
- Stand-alone probe
- Approximately 15 x 30 mm high-density integration PCB
- Self-powered through a USB connector (Micro-B)
- USB 2.0 high-speed compatible interface
- Direct firmware update support (DFU)
- JTAG / serial wire debugging (SWD) specific features: – 3 V to 3.6 V application voltage support and 5 V tolerant inputs – JTAG communication support – SWD and serial wire viewer (SWV) communication support
- Virtual COM port (VCP) specific features: – 3 V to 3.6 V application voltage support on the UART interface and 5 V tolerant inputs – VCP frequency up to 15 MHz
- Drag-and-drop Flash programming
- Two color LEDs: communication, power STLINK-V3MODS features
- Direct-to-PCB implementation by 2 x 16-pin 1.27mm edge castellated vias with all signals available in a minimum PCB required surface
- Multi-path bridge USB to SPI/UART/I2C/CAN/GPIOs specific features: – 3 V to 3.6 V application voltage support and 5 V tolerant inputs STLINK-V3MINI features
- Delivered with 1.27 mm pitch STDC14 debug connector and STDC14 to STDC14 flat cable
- Includes STDC14 signals protection Note: STLINK-V3MODS and STLINK-V3MINI do not provide power supply to the target application.
2 General information
The STLINK-V3MODS and STLINK-V3MINI embed an STM32 32-bit microcontroller based on the Arm®(a) Cortex®-M processor. a. Arm is a registered trademark of Arm Limited (o r its subsidiaries) in the US and or elsewhere.
3 System requirements
- Windows® OS (7, 8 and 10), Linux® 64-bit, or macOS®(a)
- USB Type-A to Micro-B cable
4 Development toolchains
- Keil® MDK-ARM(b)
- IAR™ EWARM (b)
- GCC-based IDEs
5 Ordering information
To order the STLINK-V3MODS and STLINK-V3MINI, refer to Table 1.
6 Conventions
Table 1. Ordering information Table 2. ON/OFF conventions
7 Quick start
Agreement from the www.st.com/epla web page. probes for STM32 microcontrollers.
- They support protocols JTAG and SWD to communicate with any STM32 microcontroller.
- They provide a Virtual COM port interface allowing the host PC to communicate with the target microcontroller through one UART
- The STLINK-V3MODS provides bridge interfaces to several communication protocols allowing for instance the programming of the target through bootloader. To start using STLINK-V3MINI, follow the steps below: 1. Check that the STDC14 to STDC14 fl at cable is present inside the box. 2. Install/update the IDE/STM32CubeProgrammer to support the STLINK-V3MINI (drivers). 3. Connect the flat cable between the STLINK-V3MINI and the application. 4. Connect a USB Type-A to Micro-B cable between the STLINK-V3MINI and the PC. 5. Check that the PWR LED is green and the COM LED is red. 6. Open the development toolch ain or STM32CubeProgrammer software utility. For more details, refer to the www.st.com/stlink-v3mini web site. Using STLINK-V3MODS requires to be firstly soldered onto the destination application including the targeted STM32 microcontroller. Some recommendations are given here: 1. Reserve in the design the necessary PCB area under the STLINK-V3MODS by using the recommended PCB land pattern. 2. Apply the recommended reflow soldering profile, from Soldering recommendations and package information for Lead-free ECOPACK microcontrollers (AN2639), and verify Solder bridge SBx ON SBx connections closed by solder or 0 Ohm resistor Solder bridge SBx OFF SBx connections left open
Table 2. ON/OFF conventions (continued)
that contacts between host board and module meet the IPC Specification (see IPC-A- 610-F Acceptability of Electronic Assemblies). 3. Install/update the IDE/STM32CubePr ogrammer to support the STLINK-V3MODS (drivers). 4. Power supply the application board. 5. Connect a USB Type-A to Micro-B cable between the STLINK-V3MODS and the PC. 6. Check that the PWR LED is green and the COM LED is red. 7. Open the development toolch ain or STM32CubeProgrammer software utility. For more details, refer to the www.st.com/stlink-v3mods web site.
STLINK-V3MODS and STLINK-V3MINI functional description UM2502 10/27 UM2502 Rev 1
8 STLINK-V3MODS and STLINK-V3MINI functional
description
8.1 STLINK-V3MODS and STLINK-V3MINI overview
The STLINK-V3MODS and STLINK-V3MINI are stand-alone debugging and programming mini probes for the STM32 microcontrollers. These products support many functions and protocols for debugging, programming or communicating with one or several targets. These modules are fully powered by the PC. If the COM LED blinks red, refer to the Overview of ST-LINK derivatives technical note (TN1235) for details.
8.2 High performance modules
The STLINK-V3MODS and STLINK-V3MINI support high performance configuration for STM32 microcontrollers. The working voltage range is from 3 V to 3.6 V. The protocols and functions supported are:
- SWD with SWO (up to 24 MHz)
- JTAG (up to 21 MHz)
- VCP (from 720 bps to 15 Mbps) A 2x7-pin male connector with 1.27 mm pitch is located in the STLINK-V3MINI for connection to the application target. An STDC14 to STDC14 connector is included in the packaging
Figure 3. STLINK-V3MINI connections
Figure 4. STLINK-V3MODS connections For the STLINK-V3MODS, the connections are done with the host board by tracks.
8.3 Hardware layout
which is the common board reference for STLINK-V3MODS and STLINK-V3MINI. Figure 5. Hardware board STLINK-V3MODS
UM2502 STLINK-V3MODS and STLINK-V3MINI functional description
8.4 STLINK-V3MODS and ST LINK-V3MINI functions
All functions are designed for high performance: all signals are 3.3 V compatible. The following description concerns STLINK-V3MODS and STLINK-V3MINI except some mentioned sections and indicates where to find the functions on the boards and connectors.
8.4.1 SWD with SWV
SWD protocol is a Debug/Program protocol used for STM32 microcontrollers with SWV as a trace. The signals are 3.3 V compatible and may perform up to 24 MHz. This function is available on CN2 (STLINK-V3MODS) and CN5 (STLINK-V3MINI).
8.4.2 JTAG
JTAG protocol is a Debug/Program protocol used for STM32 microcontrollers. The signals are 3.3 V compatible and may perform up to 21 MHz. This function is available on CN2 (STLINK-V3MODS) and CN5 (STLINK-V3MINI).
8.4.3 Virtual COM port (VCP)
The serial interface VCP is directly available as a Virtual COM port of the PC, connected to STLINK-V3MODS and STLINK-V3MINI USB connector CN5. This function may be used for STM32 microcontrollers. The signals are 3.3 V compatible and may perform from 720 bps to 15 Mbps. This function is available on CN2 (STLINK-V3MODS) and CN5 (STLINK-V3MINI).
8.4.4 Bridge functions (STLINK-V3MODS only)
The STLINK-V3MODS provides a proprietary USB interface allowing the communication with an STM32 target with several protocols: SPI, I2C, CAN, UART and GPIOs. This interface may be used to communicate with the target bootloader, but may also be used for customized needs through its public software interface.All bridge signals are accessible on CN2. Bridge SPI SPI signals are available on CN2 pins 7, 14, 23 and 25. Bridge I2C I2C signals are available on CN2 pins 16 and 17. It is necessary to add externally 680 Ω pull-up resistors on the host application board. Bridge CAN CAN logic signals (Rx/Tx) are available on CN2 pins 9 and 10, they may be used as input for an external CAN transceiver. Bridge UART UART signals with hardware flow control (CTS/RTS) are available on CN2 pins 1 to 3 and 11. They need a dedicated firmware to be programmed on the main module before being used. Without this firmware, the Virtual COM port function must be used instead (no hardware flow control).
STLINK-V3MODS and STLINK-V3MINI functional description UM2502 16/27 UM2502 Rev 1 Bridge GPIOs Four GPIO signals are available on CN2 pins 18 and 21. Basic management is provided by the public ST bridge software interface.
8.4.5 LEDs
PWR LED: red light indicates that 5 V is enabled. COM LED: refer to the Overview of ST-LINK derivatives technical note (TN1235) for details. FAULT LED: Indicates USB overcurrent request.
9 Board connectors
9.1 Connectors
9.1.1 USB Micro-B
Figure 10. USB Micro-B connector CN1 (front view) The related pinout for the USB ST-LINK connector is listed in Table 4. Table 3. I/O type definition Table 4. USB Micro-B connector pinout CN5
1 VBUS 5 V power
2 DM (D-) USB differential pair M
3 DP (D+) USB differential pair P
Table 5. 32-pin edge connector for STLINK-V3MODS
1 Bridge UART RX (1)
- RX signals are inputs for STLINK-V3MODS, outputs for target.
2 Bridge UART CTS I
3 Bridge UART RTS O
4 T_JTMS/T_SWDIO O
5 GNDDetect
6 T_JTDO/T_SWO (3) I
7 Bridge SPI CLK I/O
9 Bridge CAN RX
10 Bridge CAN TX (4) O
11 Bridge UART TX (4) O
12 T_VCP_TX I
13 T_JCLK/T_SWCLK O
14 Bridge SPI NSS I/O
15 T_VCP_RX O
16 Bridge I2C SCL O
17 Bridge I2C SDA I/O
18 Bridge GPIO0 I/O
19 Bridge GPIO1 I/O
20 Bridge GPIO2 I/O
21 Bridge GPIO3 I/O
22 Reserved
23 Bridge SPI MISO I/O
24 GND S
25 Bridge SPI MOSI I/O
26 GND S
27 GND S
28 T_JTDI/NC
29 GND S
30 T_VCC (7) I
31 T_NRST O
32 T_SW_DIR O
9.1.3 STDC14 for STLINK-V3MIN I (STM32 JTAG/SWD and VCP)
COM port. The related pinout for the STDC14 connector is listed inTable 6.
- Connect to GND on target, may be used by STLINK-V3MODS for detection of connection.
- SWO is optional, required only for Serial Wire Viewer (SWV) trace.
- TX signals are outputs for STLINK-V3MODS, inputs for target.
- Do not connect on target.
- NC means not required for SWD connection.
Table 6. STDC14 connector pinout CN5
- Do not connect on target.
31 T _ V C C (2)
53 G N D S
75 G N D S
86 T _ J T D O / T _ S W O
- SWO is optional, required only for Serial Wire Viewer (SWV) trace.
- NC means not required for SWD connection.
- Connect to GND on target, may be used by STLINK-V3MINI for detection of connection.
10 Software configuration
10.1 Supporting toolchai ns (not exhaustive)
V3MINI driver from www.st.com (see Section 10.2).
10.2 Drivers and firmware upgrade
10.3 STLINK-V3MODS and STLI NK-V3MINI frequency selection
- high-performance frequency
- standard frequency, compromising between performance and consumption
- low-consumption frequency By default, the STLINK-V3MODS and STLINK-V3MINI start in high-performance frequency. It is the responsibility of the toolchain provider to propose or not the frequency selection at user's level.
10.4 Mass storage interface
Table 7. Toolchain versions supporting STLINK-V3MODS and STLINK-V3MINI
UM2502 Software configuration V3MINI to identify the connected target before enumerating on the USB host. As a consequence, this functionality is available only if the target is connected to the STLINK- V3MODS and STLINK-V3MINI.
10.5 Bridge interface
The STLINK-V3MODS implements a USB interface dedicated to bridge functions from USB to SPI/I 2C/CAN/UART/GPIOs of ST microcontroller target. This interface is firstly used by STM32CubeProgrammer in order to allow target programming through SPI/I2C/CAN bootloader. A host software API is provided in order to extend the use cases.
11 STLINK-V3MODS and STLINK-V3MINI product
Table 8 presents the history and limitations of the product. Table 8. STLINK-V3MODS and STLINK-V3MINI product revision history and limitations
Figure 11. STLINK-V3MODS recommended land pattern
UM2502 FCC and IC Compliance Statements Appendix B Federal Communications Commission (FCC) and Industry Canada (IC) Compliance Statements B.1 FCC Compliance Statement Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Part 15.21 Any changes or modifications to this equipment not expressly approved by STMicroelectronics may cause harmful interference and void the user's authority to operate this equipment. Part 15.105 This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. Responsible party (in the USA) Terry Blanchard Americas Region Legal | Group Vice President and Regional Legal Counsel, The Americas STMicroelectronics, Inc.
750 Canyon Drive | Suite 300 | Coppell, Texas 75019
Tel: +1 972-466-7845 B.2 IC Compliance Statement This device complies with FCC and Industry Canada RF radiation exposure limits set forth for general population for mobile application (uncontrolled exposure). This device must not be collocated or operating in conjunction with any other antenna or transmitter. Compliance Statement Notice: This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device.
FCC and IC Compliance Statements UM2502 25/27 UM2502 Rev 1 Industry Canada ICES-003 Compliance Label: CAN ICES-3 (A)/NMB-3(A). Déclaration de conformité Avis: Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est autorisée aux deux conditions suivantes: (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage est susceptible d'en compromettre le fonctionnement. Étiquette de conformité à la NMB-003 d'Industrie Canada: CAN ICES-3 (A)/NMB-3(A).
Revision history
Table 9. Document revision history 11-Apr-2019 1 Initial release.