ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7800 uart, latency?

To:
Subject: [ts-7000] Re: ts-7800 uart, latency?
From: "charliem_1216" <>
Date: Sat, 11 Jul 2009 12:44:07 -0000
--- In  "Damir Dzemidzic" <> wrote:
>
> --- In  "BxWen" <bxwen@> wrote:
> >
> > Hi:
> > 
> > I am trying to receive some data from /dev/ttts2. The data come in at a 
> > rate of 1 byte per 5 millisecond. What I want is to response to this one 
> > byte data every 5 millisecond. But I actually receive nothing, or 2 bytes 
> > at 10 millisecond interval. Is this a Linux kernel thing so that I can only 
> > read every 10 millisecond? What should I do to make the system response 
> > faster?
> > 
> > Thanks.
> > 
> > bing
> >
> 
> Serial is kernel device but you can configure it. It has defined set of bit 
> rates but the standard does not recommend overriding those given rates. 
> 
> 1 byte per 5ms is 200 bytes/sec or 1600bps. AFAIK there is no such bit rate. 
> You can perhaps choose something close to (1800bps). 
> 
> By the way both sides baud rate must match in order not to loose some data.
>

Also, if you are seeing 10 mS granularity on sleeps, you could try to run a 
kernel with 'high resolution timers' enabled.  "cat /proc/timer_list | grep 
resolution" should show 1 nsec resolution on a kernel with HRT enabled.

regards ........... Charlie



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU