Interrupts

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

Interrupts

1,261 次查看
prasad1
Contributor II

Hi,

I am using MPC5777C microcontroller. Can you please explain in detail what will happen in following scenario:

peripheral interrupt is configured (like dma,adc,timer etc.,) and enabled.But global interrupt flag is disabled.Will CPU/core ignore interrupt completely or it will queue that interrupt and service back after global interrupt flag is enabled.

Is there any application note on this?

Thanks,

Prasad

标记 (1)
0 项奖励
回复
1 回复

1,129 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

the second way is correct. As soon as EE bit is set, global interrupts are enabled and microcontroller executes all pending interrupts according to the priority.

For more information, you can see AN2865. This is for MPC56xx microcontrollers, but interrupt controller is the same in MPC5777C.

https://www.nxp.com/docs/en/application-note/AN2865.pdf 

Regards,

Martin

0 项奖励
回复