That may be it - I don't think I've done that, but I don't know what you
mean - how do you do it?

Cheers,

Richard.

> Did you turn off the input-FiFo??
> This FiFo catches incomming characters till:
> - the FiFo is more or less full,
> - the input timed out
> This could describe what you see.
>
> Jens Michaelsen
>
>
> ----- Original Message -----
> From: Richard  <mailto:[EMAIL PROTECTED]> Reeve
> To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Sent: Friday, March 09, 2001 10:09 AM
> Subject: [rtl] rt_com speed problems
>
> Hi,
>
> I have been trying to do some 2 way communication using the serial port,
> and although I can get communications to run a lot faster than they did
> under linux, there still seems to be a limit as to how fast I can switch
> between read and write using rt_com. Under linux the latency was about
> 10ms, so I could only communicate at about 50Hz (send, 10ms switch,
> receive, 10ms switch, ignoring the time for signal), using rt_com, I
> don't
> seem to be able to beat 1kHz (thus about .5ms for switch and send, .5ms
> switch and receive, making a bit over .25ms latency).
>
> Is this normal? I would like to be able to communicate up to 2kHz
> ideally,
> as this is closer to the theoretical baud rate limit (115200 baud) given
> the amount of data I'm transmitting (1 byte send, 4 receive), but I
> haven't been able to speed it up, despite playing around with the rt_com
> code itself. Does anyone have any ideas?
>
> Cheers,
>
> Richard Reeve
> University of Stirling
> Stirling
> UK
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>  OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/ <http://www.rtlinux.org/rtlinux/>
>
>
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to