From: Thomas Witzel <witzel.thomas@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM driver questions
Date: Sun, 7 May 2006 22:02:22 +0000 [thread overview]
Message-ID: <200605072202.22555.witzel.thomas@domain.hid> (raw)
In-Reply-To: <445E68C0.7060404@domain.hid>
On Sunday 07 May 2006 21:38, you wrote:
> Already had a look at the interfaces comedi provides for this? Do you
> know of Alexis' ongoing effort to port comedi over RTDM? There is some
> code in the Xenomai SVN as a branch. I'm not up-to-date with its
> development, but if you are interested, I guess Alexis will be happy to
> comment on this.
Yes, I did look at comedi. The driver for this project will however be very
specialized and comedi wouldn't easily allow the implementation of what I
need without abusing it. A port of comedi to RTDM in general would be a good
thing to have however.
> Generally spoken, mmap can make sense if you have a significant amount
> of data to transfer, not "just" a few kbyte/s. RTDM has the elementary
> support for such device interfaces now, and this has already been used
> for a frame-grabbing driver.
What would be the proper procedure for just a few kbytes ? I expect less than
500 kB./second in my application.
> The on-board timers surely have lower jitters than software-driven
> timers can provide. Depending on your application, this can make a
> difference. On the other hand, application-driven acquisition timing can
> be easier to implement (less synchronisation issues). Again, I would
> suggest a look at comedi if and how such capabilities are used there.
I think when I looked last comedi would not have supported the mode that I'm
using now. If I remember correctly comedi would only allow either software
paced or hardware paced with fifo interrupt modes, but not single sample
hardware interrupts. Of course the single sample interrupt mode would become
unreasonable at high sample rates, but I'm hoping that I'll be fine with
10-20kHz.
Thomas
next prev parent reply other threads:[~2006-05-07 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-07 15:14 [Xenomai-help] RTDM driver questions witzel.thomas
2006-05-07 21:38 ` Jan Kiszka
2006-05-07 22:02 ` Thomas Witzel [this message]
2006-05-07 22:21 ` [Xenomai-help] " Bernhard Walle
2006-05-21 21:19 ` Thomas Witzel
2006-05-23 9:13 ` Jan Kiszka
2006-05-23 20:29 ` Thomas Witzel
2006-05-23 20:51 ` Jan Kiszka
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=200605072202.22555.witzel.thomas@domain.hid \
--to=witzel.thomas@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.