cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect STM32H743 to ST-LINK V3SET via Serial Wire.

JCho.3
Associate II

Hi.

I'm designing a circuit using STM32H743ZI.

I should add connectors to connect it to STLINK-V3SET.

However, I don't want to use 20 pin Box Header because it is too bulky.

For I only use SerialWire Interface to program and debug the MCU,

I want to use only necessary pins.

When I looked into the STLINK-V3, There is a connector(CN6) that includes

all the pins for SerialWire communication.

0693W000008wTEtQAM.jpgI think CLK should be connected to SWCLK, and DIO should be connected

to SWDIO. NRST should be going to NRST in the board. Right?

What is SWO in the picture then?

Should I connect that pin to TRACESWO(PB3)?

What is the function of it?

1 ACCEPTED SOLUTION

Accepted Solutions

PB3 SWO is the Serial Wire Viewer (SWV) which provides trace and debug uart functionality. Perhaps look at some ARM Technical Reference Manuals, or ST's Programming Manual

PA13 SWDIO/DIO

PA14 SWCLK/CLK

You could always use the 10-pin high density SWD connector

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3

PB3 SWO is the Serial Wire Viewer (SWV) which provides trace and debug uart functionality. Perhaps look at some ARM Technical Reference Manuals, or ST's Programming Manual

PA13 SWDIO/DIO

PA14 SWCLK/CLK

You could always use the 10-pin high density SWD connector

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
JCho.3
Associate II

Thank you Tesla.

I'll only need 6 pins then. ;)

mpen.1
Associate II

what about NREST ,VCC if it is connect to ext ,GND?

what about Vapp,TRST,TDI,NRST,VDD ?