NMI as active high

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

NMI as active high

跳至解决方案
1,287 次查看
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.

标签 (1)
标记 (4)
1 解答
1,116 次查看
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

在原帖中查看解决方案

2 回复数
1,117 次查看
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

1,116 次查看
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 项奖励
回复