Interrupts

cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupts

245 Views
prasad1
Contributor I

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

Tags (1)
0 Kudos
1 Reply

113 Views
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 Kudos