NMI as active high

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,439件の閲覧回数
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,268件の閲覧回数
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,269件の閲覧回数
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,268件の閲覧回数
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 件の賞賛
返信