Post Go back to editing

What causes interrupt latency jitter?

I am using the ADSP-21488. At the beginning of an ISR (in my case the PWM-period-expired or the core-timer) I set a flag and reset it at the end. Using a scope I trigger on one rising edge and zoom in on the next one. I find that there is a jitter of 110 ns in 10 ns increments. 

What causes this jitter and how can it be reduced?

I am using interrupts() to set up the interrupts.

Parents Reply
  • Hi,

    As disabling a lower priority interrupt reduces jitter to 30 ns, we recommend enabling the interrupt nesting option and share the results.
    When interrupt nesting is disabled, a higher priority interrupt cannot interrupt a lower priority interrupt’s service routine.
    If nesting is enabled and a higher priority interrupt occurs immediately after a lower priority interrupt, the service routine of the lower priority interrupt is delayed.  

    The NESTM bit in the MODE1 register directs the processor to enable (if 1) or disable (if 0) interrupt nesting.

    If still you are facing issues, can you please share simple project which simulates your jitter issue.
     
    Regards,
    Divya.P

Children