Question: onsider a system built on a 4 8 MHz processor with a main loop and an interrupt which occurs at a 1 0 kHz frequency.
onsider a system built on a MHz processor with a main loop and an interrupt which occurs at a kHz frequency. Assume the ISR take us to execute and there is a total of us of response and return time overhead.
What percentage of the processors time is spent in interrupt response and return overhead?
What percentage of the processors time is left for the main loop to execute?
If the main loop requires ms of computation to execute one iteration, what is the minimum main loop update rate in Hz
Consider the system above again, but now with the interrupt running at kHz and the ISR taking us to execute.
What percentage of the processors time is spent in interrupt response and return overhead?
What percentage of the processors time is left for the main loop to execute?
If the main loop requires ms of computation to execute one iteration, what is the minimum main loop update rate in Hz
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
