Re: Linux serial port dropping bytes
- From: John Devereux <jdREMOVE@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 04 Apr 2008 08:43:47 +0100
Anton Erasmus <nobody@xxxxxxxxxxxxxxxx> writes:
On Wed, 02 Apr 2008 22:33:00 +0100, John Devereux
<jdREMOVE@xxxxxxxxxxxxxxxxxx> wrote:
Grant Edwards <grante@xxxxxxxx> writes:
On 2008-04-02, Anton Erasmus <nobody@xxxxxxxxxxxxxxxx> wrote:
This turned out to be 5x faster than with the onboard UARTs where one
had to check the FIFO not empty flag every time.
On a 50MHz ARM9 it took about 25us per 16 characters having to do it
the way CBFalconer described it, while it only took about 5us per 16
characters where one could read how many chars were in the Rx FIFO.
There are a lot of micro-controllers out there with horribly
designed UARTs in them. One I've fought with recently is the
in the Samsung S3C4530. Half of the features don't work at
all. Half of the stuff that does work are useless because
whoever specified/designed the UART had never actually done any
serial communications only had a vague understanding of how
things like UARTs and FIFOs are used. For example, it has
FIFOs, but there's no way to flush them. It also has "hardware
flow control", but it doesn't work in a way that can be used
with any other UART on the planet.
Everything with a "industry standard '550 uart" is horrible.
I agree. The worst part is that it seems that it is becoming more
prevalent. The Philips LPC2000 series has got these horrible UARTs,
which have been badly implemented as well. If one needs 8 uarts or
more, then it seems that only '550 UARTs are available these days.
It is amazing how probably the worst UART ever designed, has become
the "Industry Standard".
Yep - also the Sharp ARMs (LH79520 etc) and Analog devices ADUC7k
series ARMs. All the ones I work with, basically :(
--
John Devereux
.
- References:
- Linux serial port dropping bytes
- From: Derek Young
- Re: Linux serial port dropping bytes
- From: CBFalconer
- Re: Linux serial port dropping bytes
- From: Grant Edwards
- Re: Linux serial port dropping bytes
- From: CBFalconer
- Re: Linux serial port dropping bytes
- From: Grant Edwards
- Re: Linux serial port dropping bytes
- From: CBFalconer
- Re: Linux serial port dropping bytes
- From: David Brown
- Re: Linux serial port dropping bytes
- From: CBFalconer
- Re: Linux serial port dropping bytes
- From: Anton Erasmus
- Re: Linux serial port dropping bytes
- From: Grant Edwards
- Re: Linux serial port dropping bytes
- From: John Devereux
- Re: Linux serial port dropping bytes
- From: Anton Erasmus
- Linux serial port dropping bytes
- Prev by Date: Re: How to tell how fast a car is going?
- Next by Date: Re: reading in data from rs232 port, require to resend as an email
- Previous by thread: Re: Linux serial port dropping bytes
- Next by thread: Re: Linux serial port dropping bytes
- Index(es):
Relevant Pages
|