2020-12-19 11:17 AM
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?
2020-12-19 12:14 PM
2020-12-19 03:49 PM
My recollection is the "TX" on the V3 (MB1440B) side is the input, from the Target Board's USARTx_TX pin of choice.
2020-12-21 11:50 AM
Thanks a lot! Not intuitive though. They really should make the documentation clearer (or is it just me?)!
- Martin
2020-12-21 02:49 PM
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.
2021-01-16 10:30 AM
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".