Priorities for Interrupts

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Priorities for Interrupts

跳至解决方案
2,224 次查看
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 项奖励
回复
1 解答
2,190 次查看
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 项奖励
回复
3 回复数
2,191 次查看
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 项奖励
回复
2,214 次查看
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 项奖励
回复
2,212 次查看
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 项奖励
回复