Bird
0
0

Why does FreeRTOS require careful configuration of interrupt priorities when using nested interrupts?

hard📝 Conceptual Q10 of 15
FreeRTOS - Interrupt Management

Why does FreeRTOS require careful configuration of interrupt priorities when using nested interrupts?

ATo disable task switching during interrupts
BTo allow all interrupts to run at the same priority
CTo prevent priority inversion and ensure system stability
DTo automatically increase task priorities during interrupts
Step-by-Step Solution
Solution:
  1. Step 1: Understand priority inversion and system stability

    Incorrect priority configuration can cause lower priority interrupts to block higher priority ones, causing priority inversion.
  2. Step 2: Importance in FreeRTOS nested interrupts

    Proper priority setup prevents this and ensures predictable, stable system behavior.
  3. Final Answer:

    To prevent priority inversion and ensure system stability -> Option C
  4. Quick Check:

    Priority config prevents inversion and stabilizes system [OK]
Quick Trick: Correct priorities avoid priority inversion and crashes [OK]
Common Mistakes:
  • Thinking all interrupts run at same priority
  • Believing interrupts disable task switching
  • Assuming task priorities auto-increase

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes