Interrupt Latency Factors | Interview | Skill-Lync Resources
Medium Microprocessors & Microcontrollers Interrupts & Timers

What factors affect interrupt latency in embedded systems?

Answer

Interrupt latency is time from interrupt request to ISR execution start. Contributing factors: Hardware latency (interrupt recognition, pipeline flush, stacking), Interrupt priority (pending higher-priority interrupts delay lower ones), Instruction completion (current instruction must finish), Critical sections (interrupts disabled for mutual exclusion), Interrupt controller overhead (NVIC processing), and Cache/memory access time. Optimization: Keep ISRs short, minimize critical sections, use appropriate priorities, use tail-chaining (Cortex-M), and consider DMA for data movement. Typical Cortex-M latency: 12-16 cycles.

Master These Concepts with IIT Certification
IIT Certified

Master These Concepts with IIT Certification

175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.

Relevant for Roles

Embedded Engineer Real-Time Systems Engineer Firmware Developer