Interrupts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupts

555件の閲覧回数
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

タグ(1)
0 件の賞賛
1 返信

423件の閲覧回数
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 件の賞賛