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

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

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

919 次查看
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 回复

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