Hi,

I'm having (from my perspective) too big jitter on handling
interrupts. System is: ARM9, AT91SAM9260, Kernel 2.6.20.21, Adeos
1.8-03, Xenomai-2.4.2, interrupt is generated every 1ms, externally.
Interrupt source (ET1200) is connected to IRQ1 pin (PC15). I'm using
native skin from user space. Usually, handler 'reacts' after ~110us,
but, worst case delay is around 250us! Is this performance
normal/expected on my platform? Why the difference is so huge?

Is there anything I can do to get better results (with this hw:)?

Code looks like the example provided with Xenomai:

void tmng ()
{
   for (;;) {
      err = rt_intr_wait(&intr_desc,TM_INFINITE);
      if (err > 0) {
         [..]
      } else {
         [..]
      }
      rt_intr_enable (&intr_desc);
   }
}
main ()
{

  err = rt_intr_create(&intr_desc, "ET1200_sync", IRQ_NUMBER, 0);
  err = rt_task_create(&task_desc, "tmng", 0, 99, T_JOINABLE);

  rt_intr_enable (&intr_desc);

  rt_task_start(&task_desc,&tmng,NULL);
}

Thanks

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to