From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Christian Kapeller <christian.kapeller@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] unexpected rt_task_sleep behaviour
Date: Wed, 15 Jun 2011 22:09:26 +0200 [thread overview]
Message-ID: <4DF91176.9020608@domain.hid> (raw)
In-Reply-To: <1308139320.2568.7.camel@domain.hid>
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.
prev parent reply other threads:[~2011-06-15 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 12:02 [Xenomai-help] unexpected rt_task_sleep behaviour Christian Kapeller
2011-06-15 20:09 ` Gilles Chanteperdrix [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DF91176.9020608@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=christian.kapeller@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.