Can't interrupt on KL17

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

Can't interrupt on KL17

1,431 次查看
ryanlush
Contributor IV

I have a KL17 that will not generate an interrupt. They are enabled in the PRIMASK but it always says the NMI is active. I have PTA4 tied high but even pausing the core at reset shows the vector active. The SysTick interrupt is pending but it wont fire. I don’t actually see the NMI occur, my code is still running.

0 项奖励
回复
2 回复数

1,314 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please check the status of NMI pin. If it is low and NMI pin is not been disabled, the NMI interrupt may happen when MCU go out of ROM code. Please read 6.3.3 in Reference Manual for detail.

If NMI happened but it is not serviced, the MCU will go into Handler mode. Then no other interrupts can be serviced.

Regards

Jing

0 项奖励
回复

1,314 次查看
ryanlush
Contributor IV

That was the problem I thought I had it disabled in the options reg but I did not.

Thank you,

Ryan

(sent from mobile device)

0 项奖励
回复