daniel sheltraw wrote:
>
> Hello from an RT newbie
>
> Can anyone point me to good examples or docs on how to use RTL or
> the Zenotropix RTL in one shot mode. There seems to be enough doc
> on periodic mode but not oneshot.
>
> Thanks
> Daniel
Hi Daniel,
Please find attached a jitter measurement example that use one shot
mode. In general there is nothing special you need to do (in rtai you
need to say: rt_set_oneshot_mode before starting the timer).
The issue with oneshot versus periodic is:
Periodic:
+ More efficient as there is less timer re-programming
- The task periods must be a multiple of a base period
Oneshot:
+ Task periods can be unrelated
- Needs more timer reprogramming so the maximum potential task frequency
is lower
Regards, Stuart
jitter.tar.gz