Can the NMI be used to generate an interrupt while running?

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

Can the NMI be used to generate an interrupt while running?

931件の閲覧回数
jmaranhao1
Contributor I

I want to be able to generate an NMI (Non-Maskable Interrupt) while the processor is running (KL17).  The design is to connect it to an external low power detection IC to trigger when the external power is dropping below a threshold.  We need this interrupt to save some state information to non-volatile memory before the power drops off completely. 

Most of the documentation on the Kinetis systems and the KL17 specifically refers to the NMI as being triggered from the system reset.  Is this the only way this interrupt will be triggered or can it be used while the processor is running?

Thanks!

タグ(2)
0 件の賞賛
返信
1 返信

783件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

Please be note that the NMI interrupt occurs when the pin is connected or forced to a low level input. The interrupt source can be either an interrupt or wake up source, not just the reset.

0 件の賞賛
返信