From: Tomi Manninen <oh2bns@sral.fi>
Cc: linux-hams <linux-hams@vger.kernel.org>
Subject: Re: USB converters and old hardware (Baycom in particular)
Date: Thu, 15 Apr 2010 22:22:11 +0300 [thread overview]
Message-ID: <4BC76763.8080309@sral.fi> (raw)
In-Reply-To: <4BC75156.9060907@radagast.org>
Dave Platt wrote:
> Another possible gotcha here... the Baycom is being
> used to transmit and receive AX.25 signals, which are
> 1200-bit/second *synchronous* data (HDLC), not asynchronous
> data as a UART normally sends! Although I don't have a
> schematic of the device and am not certain how this is
> being done, the description at the above page leads me to
> believe that the host software is actually clocking the
> data out, a bit at a time, by toggling the TXD pin at
> the necessary data rate.
In a "baycom modem" the data is sent and received through handshake
lines (DTR and CTS) and one (RTS) is used for PTT. TXD only serves as an
additional power source.
The software (baycom kernel driver) controls the lines directly using
UART register access. All timing is done by the CPU, not the serial port
hardware. Transmit is done using CPU timers and reception relies on
interrupts from handshake line state changes and calculating their time
differences.
In essence, a baycom modem uses the serial port as three general purpose
i/o lines to do bitbanging i/o with stringent timing requirements.
> This just isn't going to work over a USB dongle!
Definitely not.
/Tomi
next prev parent reply other threads:[~2010-04-15 19:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 5:08 USB converters and old hardware Phil
2010-04-08 10:20 ` Mike McCarthy, W1NR
2010-04-09 1:09 ` Phil
2010-04-13 14:42 ` walter harms
2010-04-13 17:52 ` IT2 Stuart Blake Tener, USNR
2010-04-14 5:37 ` Douglas Cole
2010-04-14 15:18 ` IT2 Stuart Blake Tener, USNR
2010-04-15 1:51 ` Phil
2010-04-15 14:49 ` IT2 Stuart Blake Tener, USNR
2010-04-15 17:47 ` USB converters and old hardware (in general) Dave Platt
2010-04-15 17:48 ` USB converters and old hardware (Baycom in particular) Dave Platt
2010-04-15 19:22 ` Tomi Manninen [this message]
2010-04-15 20:05 ` Adam Sampson
2010-04-15 20:41 ` Dave Platt
2010-04-15 15:55 ` USB converters and old hardware Niall Parker
2010-04-15 16:56 ` IT2 Stuart Blake Tener, USNR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BC76763.8080309@sral.fi \
--to=oh2bns@sral.fi \
--cc=linux-hams@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.