background image

Hardware layout and configuration

 UM1956

14/37

UM1956 Rev 5

6.3 Embedded 

ST-LINK/V2-1

The ST-LINK/V2-1 programming and debugging tool is integrated in the STM32 Nucleo-32 
board. The ST-LINK/V2-1 makes the STM32 Nucleo-32 board mbed enabled.

The embedded ST-LINK/V2-1 supports only the SWD for STM32 devices. For information 
about debugging and programming features refer to: 

ST-LINK/V2 in-circuit 

debugger/programmer for STM8 and STM32

 User manual (UM1075), which describes in 

detail all the ST-LINK/V2 features.

The new features supported by the ST-LINK/V2-1 comparing with ST-LINK/V2 are:

USB software re-enumeration

Virtual Com port interface on USB

Mass storage interface on USB

USB power management request for more than 100 mA power on USB

The features not supported on ST-LINK/V2-1 are:

SWIM interface 

Minimum supported application voltage limited to 3 V

Known limitation:

Activating the readout protection on the STM32 target, prevents the target application 
from running afterwards. The target readout protection must be kept disabled on ST-
LINK/V2-1 boards.

The embedded ST-LINK/V2-1 is directly connected to the SWD port of the target STM32. 

6.3.1 Drivers 

The ST-LINK/V2-1 requires a dedicated USB driver, which, for Windows

®

 7, 8 and 10, can 

be found at 

www.st.com

.

In case the STM32 Nucleo-32 board is connected to the PC before the driver is installed, 
some Nucleo interfaces may be declared as “Unknown” in the PC device manager. In this 
case the user must install the driver files (refer to 

Figure 6

) and from the device manager 

update the driver of the connected device.

Note:

Prefer using the “USB Composite Device” handle for a full recovery.

Figure 6. USB composite device

Содержание STM32 Nucleo-32

Страница 1: ...m the various combinations of performance power consumption and features The Arduino Nano connectivity support makes it easy to expand the functionality of the Nucleo 32 open development platform with...

Страница 2: ...cal drawing 13 6 3 Embedded ST LINK V2 1 14 6 3 1 Drivers 14 6 3 2 ST LINK V2 1 firmware upgrade 15 6 4 Power supply and power selection 16 6 4 1 Power supply input from USB connector 16 6 4 2 Externa...

Страница 3: ...1 Federal Communications Commission FCC and Industry Canada IC Compliance Statements 35 A 1 1 FCC Compliance Statement 35 Part 15 1936 35 Part 15 105 35 Part 15 21 35 A 1 2 IC Compliance Statement 35...

Страница 4: ...n 20 Table 8 Solder bridges 20 Table 9 Arduino Nano connectors on NUCLEO F031K6 21 Table 10 Arduino Nano connectors on NUCLEO F042K6 23 Table 11 Arduino Nano connectors on NUCLEO F301K8 24 Table 12 Ar...

Страница 5: ...M32 Nucleo 32 board bottom layout 12 Figure 5 STM32 Nucleo 32 board mechanical drawing 13 Figure 6 USB composite device 14 Figure 7 NUCLEO F031K6 NUCLEO F042K6 NUCLEO F303K8 and NUCLEO F301K8 pin assi...

Страница 6: ...numeration capability mass storage Virtual COM port and debug port Support of a wide choice of Integrated Development Environments IDEs including IAR EWARM a Keil MDK ARM a GCC based IDEs Arm Mbed b c...

Страница 7: ...board Some boards feature a specific STM32 device version which allows the operation of any bundled commercial stack library available This STM32 device shows a U marking option at the end of the stan...

Страница 8: ...56 Kbytes 128 Kbytes The order code is mentioned on a sticker placed on the top side of the board 4 Conventions Table 3 provides the conventions used for the ON and OFF settings in the present documen...

Страница 9: ...identification of all device interfaces from the host PC and before connecting the board install the Nucleo USB driver available at the www st com stm32nucleo webpage To power the board connect the ST...

Страница 10: ...the connections between the STM32 and its peripherals ST LINK V2 1 push button LED and Arduino Nano connectors Figure 3 STM32 Nucleo 32 board top layout and Figure 4 STM32 Nucleo 32 board bottom layo...

Страница 11: ...or LD1 Red Green LED COM LD2 Red LED Power B1 Reset Button LD3 Green LED CN2 ST LINK SWD connector reserved SB1 Power configuration SB2 Connect VCP TX to ST LINK SB3 Connect VCP RX to ST LINK SB4 Conn...

Страница 12: ...ector JP1 IDD measurement SB14 3 3V regulator output SB18 Connect D4 to A4 SB16 Connect D5 to A5 SB11 Connect 670 pin 16 to GND SB15 Connect D13 to LD3 SB17 Connect MCO to PA0 SB10 Connect VDD to 670...

Страница 13: ...UM1956 Rev 5 13 37 UM1956 Hardware layout and configuration 36 6 2 STM32 Nucleo 32 board mechanical drawing Figure 5 STM32 Nucleo 32 board mechanical drawing...

Страница 14: ...on USB The features not supported on ST LINK V2 1 are SWIM interface Minimum supported application voltage limited to 3 V Known limitation Activating the readout protection on the STM32 target prevent...

Страница 15: ...in situ upgrade through the USB port As the firmware may evolve during the lifetime of the ST LINK V2 1 product for example new functionalities added bug fixes support for new microcontroller families...

Страница 16: ...to provide the required current the targeted STM32 microcontroller and the shield board are not power supplied As a consequence the red LED LD2 stays turned off In such case it is mandatory to use an...

Страница 17: ...use ST LINK for communication for programming or debugging only but it is mandatory to power the board first using VIN or 5 V then to connect the USB cable to the PC By this way the enumeration will s...

Страница 18: ...ST LINK communication status LD1 default color is red LD1 turns to green to indicate that the communication is in progress between the PC and the ST LINK V2 1 with the following setup Slow blinking r...

Страница 19: ...LINK connected to OSCIN PF0 1 1 In applications where VCP is used for communication at a speed higher than 9600 bauds it may be needed to use this solder bridge configuration to use 8 MHz clock MCO f...

Страница 20: ...s not connected to VDD and it is provided by pin 13 of CN4 SB15 LD3 LED ON Green user LED LD3 is connected to D13 of Arduino Nano signal OFF Green user LED LD3 is not connected SB9 NRST ON The NRST si...

Страница 21: ...I2 C support and CN3 pin 8 is available as Arduino Nano D5 SB18 ON STM32 PB7 is connected to CN4 pin 8 for I2 C SCL support on Arduino Nano A4 In such case STM32 PB7 does not support Arduino Nano D4 a...

Страница 22: ...V input output 15 D13 PB3 SPI1_SCK 1 Only one USART is available and it is shared between Arduino Nano and VCP The selection is done by remapping no need to change the hardware configuration 2 D5 PWM...

Страница 23: ...8 setting PB7 8 D5 1 PB6 TIM16_CH1N 2 2 D5 PWM on inverted channel Timer 16 9 D6 PB1 TIM14_CH1 10 D7 3 3 D7 D8 shared with OSC_IN OSC_OUT PF0 11 D8 3 PF1 12 D9 PA8 TIM1_CH1 13 D10 PA11 SPI_CS 4 4 SPI_...

Страница 24: ...dges according to SB16 SB18 setting PB7 8 D5 2 PB6 TIM16_CH1N 1 9 D6 PB1 TIM1_CH3N 1 10 D7 3 3 D7 D8 shared with OSC_IN OSC_OUT PF0 11 D8 3 PF1 12 D9 PA8 TIM1_CH1 13 D10 PA11 SPI_CS 4 4 SPI_CS is made...

Страница 25: ...tting PB7 8 D5 1 PB6 TIM16_CH1N 2 2 D5 PWM on inverted channel Timer 16 9 D6 PB1 TIM3_CH4 10 D7 3 3 D7 D8 shared with OSC_IN OSC_OUT PF0 11 D8 3 PF1 12 D9 PA8 TIM1_CH1 13 D10 PA11 SPI_CS 4 4 SPI_CS is...

Страница 26: ...and A5 D4 and D5 related to I2 C configuration are explained in Section 6 10 Solder bridges according to SB16 SB18 setting PB7 8 D5 3 PB6 TIM2_CH3 2 9 D6 PB1 TIM2_CH4 10 D7 4 4 D7 D8 shared with OSC_I...

Страница 27: ...ated to I2C configuration are explained in Section 6 10 Solder bridges according to SB16 SB18 setting PB7 8 D5 2 PB6 TIM21_CH1 9 D6 PB1 TIM2_CH4 10 D7 3 3 D7 D8 shared with OSC32_IN OSC32_OUT PC14 11...

Страница 28: ...according to SB16 SB18 setting PB7 8 D5 2 PB6 TIM16_CH1N 1 9 D6 PB1 TIM1_CH3N 1 10 D7 3 3 D7 D8 shared with OSC32_IN OSC32_OUT PC14 11 D8 3 PC15 12 D9 PA8 TIM1_CH1 13 D10 PA11 SPI_CS 4 TIM1_CH4 4 SPI...

Страница 29: ...ccording to SB16 SB18 setting PB7 8 D5 2 PB6 TIM16_CH1N 1 9 D6 PB1 TIM1_CH3N 1 10 D7 3 3 D7 D8 shared with OSC32_IN OSC32_OUT PC14 11 D8 3 PC15 12 D9 PA8 TIM1_CH1 13 D10 PA11 SPI_CS 4 TIM1_CH4 4 SPI_C...

Страница 30: ...tion UM1956 30 37 UM1956 Rev 5 Figure 7 NUCLEO F031K6 NUCLEO F042K6 NUCLEO F303K8 and NUCLEO F301K8 pin assignment 06Y 9 9 1 1 1567 9 3 3 3 3 3 3 3 3 5 9 3 3 3 1567 1 3 3 3 3 3 3 3 3 3 3 3 1567 1 9 1...

Страница 31: ...ware layout and configuration 36 Figure 8 NUCLEO L011K4 NUCLEO L031K6 NUCLEO L412KB and NUCLEO L432KC pin assignment 06Y 9 3 3 1567 1 3 3 3 3 3 3 3 3 3 3 3 9 1 1 1567 9 3 3 3 3 3 3 3 3 5 9 3 18 2 1567...

Страница 32: ...Revision NUCLEO32 Project REV B SB14 changed to JP1 Jumper for easy IDD measurement and enlarge board length CN1 USB PN changed to Micro B for Device REV C Add SB18 SB16 for connecting D4 D5 to A4 A5...

Страница 33: ...B 17 PB3 26 BOOT0 PB8 PH3 31 VDD3 1 U2 MCU_LQFP32 QFN32 D10 D2 D6 D8 D7 SB12 BOOT0 AVDD 3V3 5V A0 A1 A2 A3 A4 A5 D0 D1 D2 D4 D3 D5 D6 D7 D8 D9 D10 NRST VIN D13 D12 D11 Arduino Connector 1 2 3 4 5 6 7...

Страница 34: ...3_ST_LINK 3V3_ST_LINK 3V3_ST_LINK PWR_EXT 3V3_ST_LINK VO D1 BAT60JFILM D2 BAT60JFILM C18 1uF_X5R_0603 C17 10nF_X7R_0603 C16 1uF_X5R_0603 5 1 2 GND 3 4 BYPASS INH Vin Vout U4 LD3985M33R C15 100nF C19 1...

Страница 35: ...ions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interferenc...

Страница 36: ...Arduino Nano connectors on NUCLEO L432KC to add NUCLEO L432KC 23 Aug 2018 4 Extended document scope to NUCLEO L412KB Updated Introduction Updated Chapter 3 Ordering information Added Table 14 Arduino...

Страница 37: ...ers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to...

Отзывы: