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

Jump to solution
569 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
Reply
1 Solution
302 Views
punithchandra
Contributor III

Configured the WakeupNMI configurations in the Icu module. And referred this in one of the IcuChannels. After this the NMI handler is being triggered.

punithchandra_0-1718262939511.png

 

View solution in original post

0 Kudos
Reply
3 Replies
525 Views
punithchandra
Contributor III

Hi Team,

Can you please look into this query?

0 Kudos
Reply
492 Views
punithchandra
Contributor III

Hi Team,

Can someone from NXP check this please?

0 Kudos
Reply
303 Views
punithchandra
Contributor III

Configured the WakeupNMI configurations in the Icu module. And referred this in one of the IcuChannels. After this the NMI handler is being triggered.

punithchandra_0-1718262939511.png

 

0 Kudos
Reply