Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #31607

How to snif full-duplex UART protocol between two nodes

From pozz <pozzugno@gmail.com>
Newsgroups comp.arch.embedded
Subject How to snif full-duplex UART protocol between two nodes
Date 2023-02-20 11:16 +0100
Organization A noiseless patient Spider
Message-ID <tsvh99$mpm3$1@dont-email.me> (permalink)

Show all headers | View raw


Many times I need to snif and log on a file the activity between two 
nodes that talk over a full-duplex UART (separate TX and RX lines).

Just an example, consider a host MCU that talks with a modem through AT 
commands. It's a half-duplex protocol because the MCU sends the AT 
command and the modem replies. However the modem is able to send URC 
messages that can be emitted at any time.

I think the better approach is to use two different UART/USB converters, 
one for each signal (of course, both signals goes to the RX inputs of 
the converters).

What about the sofware on the PC? It should open two serial ports and 
monitors both of them, joining together the messages on a single file. A 
great feature would be to have a timestamp for each message, where a 
message is "\r\n" delimited.

Is there something already available that I can use?

Back to comp.arch.embedded | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to snif full-duplex UART protocol between two nodes pozz <pozzugno@gmail.com> - 2023-02-20 11:16 +0100
  Re: How to snif full-duplex UART protocol between two nodes Don Y <blockedofcourse@foo.invalid> - 2023-02-20 04:17 -0700
  Re: How to snif full-duplex UART protocol between two nodes Theo <theom+news@chiark.greenend.org.uk> - 2023-02-20 12:23 +0000
  Re: How to snif full-duplex UART protocol between two nodes Richard Damon <Richard@Damon-Family.org> - 2023-02-20 07:59 -0500
  Re: How to snif full-duplex UART protocol between two nodes Paul Rubin <no.email@nospam.invalid> - 2023-02-20 13:52 -0800
    Re: How to snif full-duplex UART protocol between two nodes pozz <pozzugno@gmail.com> - 2023-02-21 10:59 +0100
      Re: How to snif full-duplex UART protocol between two nodes Don Y <blockedofcourse@foo.invalid> - 2023-02-21 04:11 -0700
        Re: How to snif full-duplex UART protocol between two nodes Theo <theom+news@chiark.greenend.org.uk> - 2023-02-22 11:33 +0000
          Re: How to snif full-duplex UART protocol between two nodes Don Y <blockedofcourse@foo.invalid> - 2023-02-22 05:08 -0700
    Re: How to snif full-duplex UART protocol between two nodes Rick C <gnuarm.deletethisbit@gmail.com> - 2023-02-21 14:05 -0800
      Re: How to snif full-duplex UART protocol between two nodes Paul Rubin <no.email@nospam.invalid> - 2023-02-21 16:55 -0800
        Re: How to snif full-duplex UART protocol between two nodes Brian Cockburn <brian.cockburn.1959@gmail.com> - 2023-04-22 07:03 -0700
  Re: How to snif full-duplex UART protocol between two nodes Grant Edwards <invalid@invalid.invalid> - 2023-02-20 22:18 +0000
  Re: How to snif full-duplex UART protocol between two nodes Clifford Heath <no.spam@please.net> - 2023-02-21 09:58 +1100
  Re: How to snif full-duplex UART protocol between two nodes Andrew Smallshaw <andrews@sdf.org> - 2023-02-21 07:05 +0000
  Re: How to snif full-duplex UART protocol between two nodes Andrew Smallshaw <andrews@sdf.org> - 2023-02-21 07:07 +0000

csiph-web