Syed Amer Gilani wrote: > I wrote with my little Xenomai experience a rtdm kernel module witch > generates an external signal to measure it on an Oscilloscope. The > Result is satisfying. With no other load there is nearly no jitter. > With "dd if=/dev/zero of=/dev/null" and "ping -f" from an external > machine the jitter is +-15µsec.
15 us looks fairly good, maybe too good. You may also want to try the cache calibrator as load (see TROUBLESHOOTING for details). > My Question now is if my approach is OK or is there a better way to > generate the signal with Xenomai which would result in better results. > Maybe by using hardware timer interrupt or something? We have postponed the API definition for RTDM timers until the nucleus timers have been reworked (scheduled for 2.4), but that service would probably give you even better results (no reschedule, pins will be toggled in IRQ context). Check drivers/testing/timerbench.c for a hack to achieve this already. Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
