Interrupt Latency Measurement
Hello,
I have three interrupts,
One from EXTI4, which has NVIC_IRQChannelPreemptionPriority = 0
One from EXTI9_5 which has NVIC_IRQChannelPreemptionPriority = 1
One from TIM4 which has NVIC_IRQChannelPreemptionPriority = 2
For testing purposes, EXTI4 and EXTI9_5 are connected to the same PWM signal.
EXTI4 and EXTI9_5 implement the exact same routine that takes 1,294 uS whereas TIM4 interrupt implements another routine which takes 2,57uS.
This data has been obtained with TrueStudio and an ITM Register.
I've been asked to measure the latency to execute de IRS associated to this interrupts from the moment the interrupt is generated and I don't have an oscilloscope.
I have tried to measure the latency from the ending of EXTI4 and the beginning of EXTI9_5 using the technique I described before which is 216,9 uS which doesn't seem right.
So my question is, how can I measure the latency to serve this three interruptions with TrueStudio?
Thank you.
