Q:

How do you measure interrupt latency?

0

How do you measure interrupt latency?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

With the help of the oscilloscope, we can measure the interrupt latency. You need to take the following steps.

  • First takes two GPIOs.
  • Configure one GPIO to generate the interrupt and second for the toggling (if you want you can attach an LED).
  • Monitor the PIN (using the oscilloscope or analyzer) which you have configured to generate the interrupt.
  • Also, monitor (using the oscilloscope or analyzer) the second pin which is toggled at the beginning of the interrupt service routine.
  • When you will generate the interrupt then the signal of both GPIOs will change.

The interval between the two signals (interrupt latency) may be easily read from the instrument.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How to reduce interrupt latency?... >>
<< What is interrupt latency?...