Rodolfo wrote: > //timer_period_counts=rt_timer_set_mode(rt_timer_ns2tsc(timer_period_ns));
See http://www.xenomai.org/documentation/branches/v2.3.x/html/api/group__native__timer.html#gffcb5eaef6c3a64a05445f6dafdbb155 the parameter of rt_timer_set_mode is a count of nanoseconds. > //rt_task_set_periodic(&thread, expected, > rt_timer_ns2tsc(task_period_ns)); the task period passed to rt_task_set_periodic is a count of ticks, which should be obtained with rt_timer_ns2ticks. -- Gilles Chanteperdrix _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
