Re: RT_PREEMPT and Serial Port

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

 



On Sun, Apr 13, 2008 at 07:37:47PM +0200, Wolfgang Grandegger wrote:
> Mauricio � wrote:
> > In summary, i am reading from other computer the data sent by a serial
> > port, and almost always I have a 30-40 usec jitter, but sometimes
> > I get a single point where the jitter is like 1-5 msec. The strange
> > thing is that the sender shows perfect timing (less that 30 usec),
> > but the reader get these strange jumps. I am downloading the last
> > kernel to check the serial port driver code: the patch -rt do something
> > with the serial port? or generally some hardware related pacth?
> 
> Just to be sure, the interrupt thread of your serial port is running at
> a higher priority than the others.
> 

Yes, the priority is 80 and a FIFO scheduler, the other threads have 70.
In QNX it works as it should. I will try the writer in linux, and the 
reader in QNX to check what is happenig.

-- 
Mauricio Araya L. 
ACS-UTFSM Team Leader, cel: 0-81564903
Est. Magister en Ciencias de la Informatica UTFSM, Valparaiso, Chile
counter.li.org: #249395, http://www.inf.utfsm.cl/~maray 
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux