* [Xenomai-help] unexpected rt_task_sleep behaviour
@ 2011-06-15 12:02 Christian Kapeller
2011-06-15 20:09 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Christian Kapeller @ 2011-06-15 12:02 UTC (permalink / raw)
To: xenomai
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?
Regards,
Christian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] unexpected rt_task_sleep behaviour
2011-06-15 12:02 [Xenomai-help] unexpected rt_task_sleep behaviour Christian Kapeller
@ 2011-06-15 20:09 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-15 20:09 UTC (permalink / raw)
To: Christian Kapeller; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-15 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 12:02 [Xenomai-help] unexpected rt_task_sleep behaviour Christian Kapeller
2011-06-15 20:09 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.