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!
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.