All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] RTDM driver questions
@ 2006-05-07 15:14 witzel.thomas
  2006-05-07 21:38 ` Jan Kiszka
  0 siblings, 1 reply; 8+ messages in thread
From: witzel.thomas @ 2006-05-07 15:14 UTC (permalink / raw)
  To: xenomai

Hello All,

I'm working on a RTDM driver for a PCMCIA DAQ card. I have already implemented 
all the basic infrastructure, some ioctls for setting the sampling rate and 
interrupt sources and have also implemented the interrupt handling (there is 
some issues with the irqs that I might ask about later). 
My question is how to best give the data from the driver to the user space data 
acquisition program. Should I allocate some kernel space and mmap it to the user 
address space and then use a signal of some kind to inform the user space 
application when the space is half full ? Any suggestions how this is best done 
are welcome.

Also I'm using now a clock on the DAQ card to trigger an interrupt at which I 
read the samples of the card. The card itself (ancient) has only a very small 
FIFO and I also want to do some DIO on the PCs parallel port for each sample 
that I read from the DAQ card, so thats why I decided for this design. Would it 
be better to use a timer from xenomai to do the sample clocking rather than an 
irq generated by the clock on the DAQ card (performance or otherwise) ?

Thanks for your comments,
Thomas


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-23 20:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.