2

Right to the point: On a BPI-R3, should connecting the UART debug pins directly to the appropriate pins on a DB9 USB serial adapter (rx->tx, tx->rx, gnd->gnd) work? Because I’m just getting a garbled mess in my serial console. I’ve tried all different baud rates. I’m using a high quality serial adapter (Keyspan Tripp Lite). I’ve tried on Linux and Windows. I assume I’m missing something stupid.

To make matters more annoying, I have a $5 almost certainly counterfeit USB serial adapter with USB on one end and DuPont connectors on the other end and it works fine, so at this point my problem is mostly academic. I would like to know what I’m doing wrong, though.

you are viewing a single comment's thread
view the rest of the comments
[-] Susan_B_Good@discuss.tchncs.de 3 points 1 year ago

You probably have already sussed this - but:

DuPont connectors equates to logic level signals. There may even be a 3.3 v <>5v link selector on the adapter.

Whereas DB9 equates to "RS232" level signals. Generally, at least the capability to accept those voltage levels, even if not necessarily producing them.

My first step tends to be to connect tx to rx and see if characters typed in a terminal/emulator get echoed.

An RS232 breakout box is pretty much a given necessity, when it comes to sorting out what's happening on all those pins and sorting out what to connect to what.

this post was submitted on 21 Jun 2023
2 points (100.0% liked)

Ask Electronics

3265 readers
64 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS