Interrupt handling problem

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

Interrupt handling problem

跳至解决方案
648 次查看
fabriziotronci
Contributor I

Hi everybody,

I'm new in this community so I apologize in advance if I'm wrong to make this request.

I'm using a mwct1003 with CodeWarrior and I've a problem with interrupt handling.

I have created a new MCU project selecting the mwct1003. I've set up my module registers (Timer A2) to generate an interrupt and I've seen that the interrupt vector table is managed in MWCT10xx_vector.asm file; the module interrupt flag is asserted correctly but the service routine is not executed.

 

May anyone know if there are any special steps to follow to execute the ISR?

 

Thanks

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
534 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please check the bit in Interrupt Priority Register for Timer A2, whether the IRQ is disabled? And please also compare its settings with the bit I0-I1 in SR register.

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
535 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please check the bit in Interrupt Priority Register for Timer A2, whether the IRQ is disabled? And please also compare its settings with the bit I0-I1 in SR register.

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复