Can't interrupt on KL17

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

Can't interrupt on KL17

2,794件の閲覧回数
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 返答(返信)

2,677件の閲覧回数
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 件の賞賛
返信

2,677件の閲覧回数
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 件の賞賛
返信