On 06/15/2011 02:02 PM, Christian Kapeller wrote: > Hi, > > I am using a KARO TX-51 board (imx 515) running linux 2.6.31.12 + karo > supplied bsp patches. Xenomai is at version 2.5.6 > > In a userspace task i create an interrupt, and want to wait for 1 to 14 > ms. If I supply any non zero delay to rt_task_sleep, I get a delay of > 830 ms (measured on scope) no matter what delay argument i use. > > It seems something got wrong with the adeos patch. I also experience > that the serial console is quite laggy. > > Can anyone give me some pointers where to start investigating this > matter?
Please try cat /proc/xenomai/timer. You should see something like: status=on:setup=1777:clock=503449790:timerdev=at91_tc0:clockdev=at91_tc0 If the "setup" time is very large, please try the following patch: http://git.xenomai.org/?p=xenomai-head.git;a=commitdiff_plain;h=2442425ef628583485ece62cd637c1e6be500514;hp=7c901b868a4e96bba34311ed349b61ea74717c85 -- Gilles. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
