what is difference between IRQ and FRQ ?

Answers were Sorted based on User's Feedback



what is difference between IRQ and FRQ ?..

Answer / prajosh premdas

"IRQ is serviced at a normal priority level and FIQ is
serviced at high priority level." This statement is wrong

FIQ is the fast interrupt i.e. the latency time taken is less because in the FIQ mode (in case of ARM architecture where these modes are encountered) the mode has an additional set of 8 general purpose registers which means in case of the banked registers there is no need to store these registers into stack when the interrupt occurs.

That means r0 to r7 only needs to be stored while moving from User mode to FIQ mode whereas while moving from to IRQ mode r0 to r12 needs to be stored.

Is This Answer Correct ?    32 Yes 3 No

what is difference between IRQ and FRQ ?..

Answer / ravi a joshi

I hope you wished to know the difference between IRQ and
FIQ. If so, here goes the answer:

CPU is a sequentially executing machine. It will execute the
instructions from it's instruction set one-by-one until
either program execution sequence is modified or the CPU is
instructed to stop execution.

However, if any peripheral device wishes the CPU to know
that it needs it's attention, then they inform through
interrupts. IRQ stands for Interrupt Request and FIQ stands
for Fast Interrupt Request.

IRQ is serviced at a normal priority level and FIQ is
serviced at high priority level.

Is This Answer Correct ?    35 Yes 12 No

what is difference between IRQ and FRQ ?..

Answer / thiagarajan

1.FIQ has the priority level 3 whereas IRQ has the priority
level 4.
2.FIQ will not be disabled in IRQ handler by default but
IRQ will be diasbled in FIQ handler.
3.IRQ vector presents at the address 0x00000018 where the
FIQ vector presents at the address 0x0000001C which is last
of the vector table. So if IRQ occurs, the handler at
0x00000018 should use a branch instruction to redirect to
service routine. But in FIQ,(as it is the last in vector
table) the service routine can start at the 0x0000001C
itself. One branch instruction processing time will be
saved in FIQ comparing to IRQ.
4.As already mentioned in other answer, FIQ mode has 5
extra general purpose banked register.So there is less
burden in storing the corresponding registers in other mode
to stack while entering FIQ and from stack to registers
while returning from FIQ.

In short FIQ has short interrupt latency(response) than
IRQ.

Is This Answer Correct ?    14 Yes 1 No

what is difference between IRQ and FRQ ?..

Answer / mujeer

FIQ has higher priority then IRQ.
As said above it has the 8 banked register to reduce context
switching which improves interrupt latency.

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More RTOS AllOther Interview Questions

What is the difference between Hard and Soft real-time systems ?

11 Answers   Google, Hella, Satyam,


If two processes which shares same system memory and system clock in a distributed system, What is it called?

7 Answers  


Explain the difference between microkernel and macro kernel.

5 Answers   Infosys, Tech Mahindra,


When would you choose bottom up methodology?

5 Answers   Knowx Innovations,


what is major concerns about any RTOS selection ?

4 Answers   Bosch,






What is the state of the processor, when a process is waiting for some event to occur?

14 Answers   MTS,


Give an example of microkernel.

13 Answers   Global Edge, Samsung,


What is the important aspect of a real-time system ?

6 Answers  


What is priority inversion ? and What is the solution ?

6 Answers   Qualcomm, Tandberg, Wipro,


What is a Real-Time System ?

5 Answers  


What do you mean by deadlock?

8 Answers   Bosch,


what is difference between IRQ and FRQ ?

4 Answers   Bosch,


Categories