Priorities for Interrupts

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

Priorities for Interrupts

Jump to solution
2,211 Views
berat24
Contributor III

Hello everyone,

I am using MCP5777C MCU and I have a question about interrupt priorities. I could not find any tables showing default priorities settings when I have examined reference manuel. 

Is there any source showing us which interrupts have which priority numbers as default?

Thanks in advance:))

0 Kudos
Reply
1 Solution
2,177 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Pay close attention to INTC chapter for all the details about interrupts and their processing.

If you have multiple interrupts with same priority, first come will be executed.

If 2 come in exact same time then one with lowest INTC number will be executed.

Best regards,

Peter

View solution in original post

0 Kudos
Reply
3 Replies
2,178 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Pay close attention to INTC chapter for all the details about interrupts and their processing.

If you have multiple interrupts with same priority, first come will be executed.

If 2 come in exact same time then one with lowest INTC number will be executed.

Best regards,

Peter

0 Kudos
Reply
2,201 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The default priority is stated in reference manual and it is 0.

petervlna_0-1623306095501.png

petervlna_1-1623306152002.png

Best regards,

Peter

 

 

0 Kudos
Reply
2,199 Views
berat24
Contributor III

@petervlna thanks a lot. The highest priority number is 16 but there are many interrupts. What will do if ı enable 20 different interrupt flag? In this situation, some interrupts will have same priorities.

0 Kudos
Reply