Re: elimination of intercharacter gap in RS232 stream?
- From: "Bo" <bo@xxxxxxxxxx>
- Date: Wed, 10 Oct 2007 17:45:07 -0500
"Anton Erasmus" <nobody@xxxxxxxxxxxxxxxx> wrote in message
news:a2aqg3lrdiuba5ji63m2l6q01glqb78u0g@xxxxxxxxxx
On Wed, 10 Oct 2007 11:50:19 -0500, "Bo" <bo@xxxxxxxxxx> wrote:
Writing an Embbeded Linux app for a PC104/Versalogic board. Linux
2.6.14.17.
Using write() to transmit data packets to another PC104 board. If I
write()
30 bytes, sometimes there is a 2-5mS gap in the middle of the
transmission, usually at about byte 15-20, but sometimes at byte 29--as
seen
on a scope. Tried using low latency setting when
opening the port--but this made no difference. This is causing
difficulties
for the receiving end-- and we have yet to add two more serial ports to
the
application.
Any ideas on how to force continous transmission of the data?
Are you flushing the buffers after write ?
No--because I've not been able to find an API call that does this. Do you
know how?
But as other posters have
suggested, it would be better to fix the Rx side. If you ever need to
run your code on a system using USB-serial or ethernet-serial, you
will have these sort of issues in any case.
No--no USB or ether-serial ever.
Thanks,
Bo
.
- Follow-Ups:
- Re: elimination of intercharacter gap in RS232 stream?
- From: Grant Edwards
- Re: elimination of intercharacter gap in RS232 stream?
- References:
- elimination of intercharacter gap in RS232 stream?
- From: Bo
- Re: elimination of intercharacter gap in RS232 stream?
- From: Anton Erasmus
- elimination of intercharacter gap in RS232 stream?
- Prev by Date: Re: elimination of intercharacter gap in RS232 stream?
- Next by Date: Re: elimination of intercharacter gap in RS232 stream?
- Previous by thread: Re: elimination of intercharacter gap in RS232 stream?
- Next by thread: Re: elimination of intercharacter gap in RS232 stream?
- Index(es):
Relevant Pages
|