NMI Handler (Non Maskable Interrupt) not triggering in S32K388

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NMI Handler (Non Maskable Interrupt) not triggering in S32K388

138 Views
punithchandra
Contributor III

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.

punithchandra_0-1713778864226.png

 

punithchandra_1-1713778975963.png

 

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

0 Kudos
2 Replies

94 Views
punithchandra
Contributor III

Hi Team,

Can you please look into this query?

0 Kudos

61 Views
punithchandra
Contributor III

Hi Team,

Can someone from NXP check this please?

0 Kudos