Hi Team,
We are using the S32K388 eval board. We want to trigger the non-maskable interrupt when the pin PTD3 value changes.
We have configured PTD3 pin mode as SYSTEM_NMI_B. The pin PTD24 is configured as the GPIO output mode. We have connected the PTD3 & PTD24 via a wire on the IO matrix of the Eval board.
The code is written to toggle the PTD24 pin. Since this pin is connected to PTD3 which is configured as SYSTEM_NMI_B, we were expecting the breakpoint kept inside the NMI_Handler function to hit. But the breakpoint is never hit.
We also have enabled this interrupt using the API NVIC_EnableIRQ(NonMaskableInt_IRQn).
We are using the example code of Icu driver and did the changes as per our requirement.
Is there any other configuration parameter/ any code changes we need to do in order to enable this NMI interrupt?
S32K3 #NMI #Interrupt #ICU
Solved! Go to Solution.
Configured the WakeupNMI configurations in the Icu module. And referred this in one of the IcuChannels. After this the NMI handler is being triggered.
Hi Team,
Can you please look into this query?
Hi Team,
Can someone from NXP check this please?
Configured the WakeupNMI configurations in the Icu module. And referred this in one of the IcuChannels. After this the NMI handler is being triggered.