How to tune one shot time period
Randy Ricklefs <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am working on a project that requires a 100msec loop that has a drift of no more than about 100usec per hour. I am using the oneshot mode with RTAI 4.1 with kernel 3.10.32 on an i7 computer, and the 100msec period is very stable (+/- a few usec), but compared to the system time and UTC is actually larger than 100msec by an amount than creates a drift rates close to 10msec every 10 or 20 minutes. I have tried varying the 100msec period by small amounts to compensate, but the results are not satisfactory. I understand there is a method of calibrating the timer used for oneshots, but I have not found documentation of the procedure. Once calibrated, will the period remain stable, or are there temperature variations? Any help would be appreciated! Thanks! Best regards, Randy Ricklefs _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai