Skip to main content
SIDRI.1
Associate III
May 8, 2020
Question

Pins connection SWD st-link to an external STM32F103RBT6

  • May 8, 2020
  • 2 replies
  • 1240 views

Hi!

I'm trying to use my ST_linkV2 debugger to program an external STM32 microcontroller using SWD, is this configuration ok ?

: CN4 (STLlink) Vdd----------> Vdd (stm32 MCU)

SWCLK------> PA14 (SWCLK)

GND---------> GND

SWDIO------> PA13 (SWDIO) + 100K pull up resistor) )

Thank you in advance for your response

This topic has been closed for replies.

2 replies

Uwe Bonnes
Chief
May 8, 2020

VDD connection is not needed. Pullup not needed. Otherweise ok. Additional ground connection enhance reliability

SIDRI.1
SIDRI.1Author
Associate III
May 8, 2020

Thank you for you quick response, VDD is used to power the external microcontroller during programming mode, i guess

Uwe Bonnes
Chief
May 8, 2020

If you use a stand alone STLINk, VDD line is used to report target voltage. Other debugger may use the VDD line to power level translation between target and debugger. Build-in stlinks only report STLink voltage.