Re: Events on Serial port
- From: Derek <derek.philip@xxxxxxx>
- Date: Wed, 9 Jul 2008 05:09:38 -0700 (PDT)
On 9 Jul, 00:05, Derek Philip <derek.phi...@xxxxxxxxx> wrote:
Again observations on the scope indicate that the after command isn't as
reliably timed as under Linux. I set the after for 8 milliseconds and
get 15!, shrinking it down to 3 didn't seem to do much, but that was a
quick test before leaving for the day. In this case I loose at least 4
blocks of RDS data on a regular basis.
Things I should check now then is how reliable the after command is on
Windows. I'm assuming the poll period on the uart setting does not
affect reading the state of the control lines.
So confirming what is already on the wiki , that after 1 takes about
15ms on my quad core when running XP
I have to find another way of getting this data reliably under
windows, maybe put a PIC on the board and push the data up so that I
can use fileevents!
Derek
Check that I can read the state of the DSR reliably.
My fconfigure by the way is
fconfigure $fd -mode 115200,n,8,1 -handshake none -translation binary
-blocking 0 -buffering none
More timing test tomorrow I think, find out where
Derek
.
- References:
- Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Rolf Schroedter
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Ralf Fassel
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Rolf Schroedter
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Rolf Schroedter
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Rolf Schroedter
- Re: Events on Serial port
- From: Derek Philip
- Events on Serial port
- Prev by Date: Re: Random Number
- Next by Date: Reading and writing XML gets tediuos
- Previous by thread: Re: Events on Serial port
- Next by thread: Re: Events on Serial port
- Index(es):
Relevant Pages
|