From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: synchronous serial port communication (16550A)
Date: Tue, 23 Mar 2004 10:49:26 +0000 (UTC) [thread overview]
Message-ID: <c3p4nm$a8m$1@news.cistron.nl> (raw)
In-Reply-To: <40600CDD.5050807@pop2wap.net>
In article <40600CDD.5050807@pop2wap.net>,
Christof <mail@pop2wap.net> wrote:
>I have a possible problem with the 8250 serial port driver in linux (2.6.2).
>I communicate with a graphic controller with LCD-Display via ttyS0. This
>controller has a small buffer: 20 bytes. When the buffer is full it
>asserts the CTS line. When it can receive data again, the CTS line is
>cleared.
>My software checks the CTS line each time before sending a byte. If it
>is asserted, it waits until its cleared and goes on. When data is sent
>although CTS is asserted, the graphic controller will be confused and
>garbage will appear on the LCD screen.
Why don't you simply turn on hardware flow control (i.e. enable
CRTSCTS with tcsetattr() or even stty) ?
Mike.
--
Netu, v qba'g yvxr gur cynvagrkg :)
next prev parent reply other threads:[~2004-03-23 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-23 10:09 Christof
2004-03-23 10:31 ` Russell King
2004-03-23 10:49 ` Miquel van Smoorenburg [this message]
[not found] <1CRaT-Zx-3@gated-at.bofh.it>
[not found] ` <1CRO7-1s4-19@gated-at.bofh.it>
2004-03-23 11:31 ` Christof
[not found] ` <1CRun-1dV-41@gated-at.bofh.it>
2004-03-23 11:33 ` Christof
[not found] <703905114@toto.iv>
2004-03-24 0:46 ` Peter Chubb
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='c3p4nm$a8m$1@news.cistron.nl' \
--to=miquels@cistron.nl \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome