NMI Handler (Non Maskable Interrupt) not triggering in S32K388

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NMI Handler (Non Maskable Interrupt) not triggering in S32K388

ソリューションへジャンプ
865件の閲覧回数
punithchandra
Contributor IV

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 件の賞賛
返信
1 解決策
598件の閲覧回数
punithchandra
Contributor IV

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 件の賞賛
返信
3 返答(返信)
821件の閲覧回数
punithchandra
Contributor IV

Hi Team,

Can you please look into this query?

0 件の賞賛
返信
788件の閲覧回数
punithchandra
Contributor IV

Hi Team,

Can someone from NXP check this please?

0 件の賞賛
返信
599件の閲覧回数
punithchandra
Contributor IV

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 件の賞賛
返信