Hi Joey,
If the NMI_b pin asserted, and you already add the NMI interupt service code, the code will enter in the NMI interrupt handler.
Let's take KSDK2.0-FRDM-KL27 as an example, you can download it from this link:
Welcome to Kinetis Expert | Kinetis Expert
Choose board as FRDM-KL27, and generate the KSDK2.0-FRDM-KL27 sample code, modify the :SDK_2.0_FRDM-KL27Z\boards\frdmkl27z\demo_apps\hello_world
hello_world.c and the NMI interrupt handler code:
void NMI_Handler(void)
{
PRINTF("NMI interrupt.\r\n");
}
After you build and download the code to your FRDM-KL27, when you press the NMI button, the code will enter NMI_Handler, and printf : NMI interrupt
This is the test result from my side after assert the RESET_b pin:

Wish it helps you!
If you still have question, please let me know!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------