marcellin wrote: > About rt_task_set_periodic()/rt_task_wait_periode() is there a > drift with the "second time top" of the RTC IRQ ?
The RTC probably drift less than Xenomai system clock, but according to an FAQ (http://www.beaglesoft.com/mainfaqclock.htm), the RTC drift is typically 5 or 6 seconds a day. One way to have your system synchronized with a precise time source is by using NTP. Unfortunately, Xenomai does not benefit from using NTP. I guess you may plug a GPS system to the serial port and get precise timings from there. The reason why I suggest rt_task_set_periodic()/rt_task_wait_period() is because they use Xenomai system clock, which compensate a constant part of the interrupt and scheduling latencies. So, using them should lead to the small latencies the "latency" test give you. -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help