>in that particular application, the GPIO's are used, among
>others, for generating stepper pulses, and the thread running
>this should be as fast as possible; in the RTAI/parport version
>of that code that's anywhere from 20-50uSec
>
>nothing else though except wiggling pins, in particular no
>interrupt-driven input; so I dont see any extra functionality a
>kernel driver could provide

If pulses should be preciese with low jitter (and I assume that in
case of steppers they should), then, most probably, kernel driver is
anavoidable because the timing precission achievable in the kernel is
much higher then in the user-space. You might be interesting to take a
look at our blog post here:
http://veter-project.blogspot.de/2012/04/precise-pwms-with-gpio-using-xenomai.html
where we describe our attempts to generate precise PWMs to drive the
servo motor. We end up with RTDM kernel module which uses timers
(instead of periodic tasks) to get acceptable jitter.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to