Skip to main content
Explorer
December 19, 2020
Question

STLINK V3 RX/TX direction?

  • December 19, 2020
  • 5 replies
  • 2789 views

On the STDC connector, Pin 13/14 are virtual com port signals T_VCP_RX and _TX.

Which one is input and output? They have cryptic comments like "Output for STLINK-V3SET" (for _RX) - Is RX an output and connects to the RX pin on the STM32? Or is it an input and connects to a STM32 TX output?

    This topic has been closed for replies.

    5 replies

    Graduate II
    December 19, 2020

    My recollection is the "TX" on the V3 (MB1440B) side is the input, from the Target Board's USARTx_TX pin of choice.

    Martin294Author
    Explorer
    December 21, 2020

    Thanks a lot! Not intuitive though. They really should make the documentation clearer (or is it just me?)!

    - Martin

    Graduate II
    December 21, 2020

    It's not you, the documentation is not helpful. Would help if it said T_VCP_TX (INBOUND) or something similar every time it is mentioned.

    I've grown into the habit of drawing ASCII diagrams at the top-end of my main.c code illustrating connection points on board and debugger so I can remember exactly how I had it wired up when I come back to things months/years later, or I share with others.

    Graduate II
    January 16, 2021

    Some philosophy on connector and signal line naming. To me it seems that the most clear way is to name them so that the names answer the question "what it is on this device", not the "where the developer thinks it should be connected".

    Visitor II
    January 24, 2025

    This is in the User Manual of  ST-Link V3 Set. This should be clear. 
    Kudos if it helped you.Screenshot 2025-01-24 133354.png