Calculating Interrupt latency on iMX6Q Sabre-sd board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Calculating Interrupt latency on iMX6Q Sabre-sd board

757 Views
ajmalali
Contributor III

Hi,

Can anyone please tell me how to find the interrupt latency on my imx6q board using software methods? I am using C baremetal programming. My initial plan was to manually generate an interrupt(EPIT) and measure the time between the moment the control enters the general irq handler and the the moment just before the user interrupt handler for that particular interrupt is called. Since i can not use any other interrupt during this process, i am confused how to measure the time. Can EPIT be used as a counter? If yes, then what might be the interval between each count?  Please help

Can any one at least provide some pointers regarding this matter.

Regards,

Ajmal

Labels (2)
1 Reply

604 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ajmal

one can look at example on

Xilinx Wiki - Zynq-7000 AP SoC - RealTime - InterruptLatency Reference Design and Demo Tech Tip 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------