Re: Periodic Timer for 1 millisecond timer in linux kernel mode



Hi

In Monta Vista Linux , the least duration I can achieve is anything
greater than 10 millisecond.
Our target is MPC 8260 and we have decided on going for RISC timers in
CPM module for our 1 millisecond periodic timer callback function.

Can anyone suggest few reference code for RISC timers in CPM module
which we can use for our 1 millisecond periodic timer callback
function.

Regards
Abha


Michael Schnell wrote:
I need to implement a periodic timer callback for 1 millisecond with a
accuracy of +/- 100 ppm .
1) How can I achieve a periodic timer callback for 1 millisecond ?

2) How can I test the accuracy of the periodic timer callback function
is within +/- 100 ppm?


Is MontaVista not a commercial system that includes a decent support ?

Is this a special hard real-time system ? Standard Linux (being a soft
realtime OS) can't guarantee a latency/accuracy of less than 100 mSec or
such (Though in most cases it will be much better).

-Michael

.



Relevant Pages

  • Periodic Timer for 1 millisecond
    ... accuracy of +/- 100 ppm. ... How can I achieve a periodic timer callback for 1 millisecond? ... Can anyone let me know how can I go about acheiving the above in MPC ...
    (comp.os.linux.development.system)
  • Periodic Timer for 1 millisecond timer in linux kernel mode
    ... accuracy of +/- 100 ppm. ... How can I achieve a periodic timer callback for 1 millisecond? ... Can anyone let me know how can I go about acheiving the above in MPC ...
    (comp.os.linux.embedded)
  • Re: Periodic Timer for 1 millisecond
    ... How can I achieve a periodic timer callback for 1 millisecond? ... as well as call addtimerat the end of the timer function. ... Remember copy code above to the end of your expireing function. ...
    (comp.os.linux.development.system)
  • Re: Periodic Timer for 1 millisecond timer in linux kernel mode
    ... In Monta Vista Linux, the least duration I can achieve is anything ... greater than 10 millisecond. ... This is the third time you've posted this. ...
    (comp.os.linux.embedded)