NMI as active high

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

NMI as active high

Jump to solution
607 Views
kizo
Contributor I

Greetings,

I’m using CW10.6 and MK60DN512N. Is there easy way to use NMI pin (PTA4) as active high input? EzPort is already disabled in processor expert, but if the NMI pin is low when I press reset_b, the program won’t start, it gets stuck in Cpu_INT_NMIInterrupt handler.

Labels (1)
1 Solution
436 Views
mjbcswitzerland
Specialist V

Hi

PTA4 defaults to NMI mode on revision 1 of the K60DN512N and this can't be changed - you need to ensure that the input is not connected (it has a pullup) or is driven with '1'.

K60DN512N Revision 2 parts have additional control using the flash configuration (via FTFL_FOPT) as described in the user's manual:

pastedImage_0.png

Regards

Mark

View solution in original post

2 Replies
437 Views
mjbcswitzerland
Specialist V

Hi

PTA4 defaults to NMI mode on revision 1 of the K60DN512N and this can't be changed - you need to ensure that the input is not connected (it has a pullup) or is driven with '1'.

K60DN512N Revision 2 parts have additional control using the flash configuration (via FTFL_FOPT) as described in the user's manual:

pastedImage_0.png

Regards

Mark

436 Views
kizo
Contributor I

Thank you Mark for your reply, that was exactly the problem. I’ve removed pull-down resistor from my board and enabled internal pull-down on PTA4 and everything is working fine.

0 Kudos