Can't interrupt on KL17

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't interrupt on KL17

1,093 Views
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 Kudos
2 Replies

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

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