All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Howard Lee Harkness <howard.lee.harkness@gmail.com>
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] Seeking recommendations for SBC with precision timer
Date: Fri, 26 Oct 2012 19:06:35 +0200	[thread overview]
Message-ID: <508AC31B.8070805@xenomai.org> (raw)
In-Reply-To: <CAMVghhUq3KUEEK32aSfap3jKbsgaZCDMErQqhzpeOSJ8pYz3Ng@mail.gmail.com>

On 10/26/2012 06:34 PM, Howard Lee Harkness wrote:
> Ah, that looks like it might be the solution. Need to dig a bit deeper on
> this subject.

If you use the the RTDM API, you would use the rtdm_task_busy_sleep 
routine:
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtdmtask.html#gaa3940cfff7cc72d7bc064a3e279d74ac

> 
> Back last time I was doing this sort of thing, I was using a 286, which
> didn't have a TSC. Plus I only had to do about 500 us resolution on the
> timings. I contracted with a friend to do a simple countdown timer for the
> PC bus, which did the trick. That was more than 15 years ago. The
> semiconductor testing business has gotten a little more complex since then.

I have to admit that when I had a 286, I was still in high-school
and programming it in Turbo Pascal for plotting function graphs
for my math assignments...

-- 
					    Gilles.


      reply	other threads:[~2012-10-26 17:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 12:22 [Xenomai] Seeking recommendations for SBC with precision timer Howard Lee Harkness
2012-10-26 12:36 ` Nicholas Mc Guire
     [not found] ` <CAHzTO8nxt5KcK_mekgArQXqdLGQC=d3bWFBse=H6cZmpRvon-A@mail.gmail.com>
2012-10-26 14:46   ` Howard Lee Harkness
2012-10-26 15:11     ` Gilles Chanteperdrix
2012-10-26 16:34       ` Howard Lee Harkness
2012-10-26 17:06         ` 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=508AC31B.8070805@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai@xenomai.org \
    --cc=howard.lee.harkness@gmail.com \
    /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.