[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serial port response time



Kevin Wooley wrote:
> This almost fixed things.  Thanks Lars!
> 
> Here's the situation now  - I'm running two threads.  One thread is listening
> for and responding to commands on COM1 at 57600 bps.  The other thread is
> capturing streaming binary data at 115200 bps.
> It seems that when either thread is running on its, performance is fine, but
> when both are running together, things slow down enough to be a problem.
> 
> any more ideas?  Do I need a custom interrupt based driver (have any of you
> implemented one which I could try out)?  I've tried the 3 different kernel
> options for the serial driver,and FAST_TIMER is the only one that seems to work
> even close.
> 
> thanks again,
> 
> 	Kevin
> 

Try to set CONFIG_ETRAX_SERIAL_RX_TIMEOUT_TICKS set 0 (zero).

Steen