STUCK IN NMI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

STUCK IN NMI

1,064 次查看
hajianik
Senior Contributor I

Hi,

My Target is S32K146.

I have configured PTD3 as NMI and corresponding ISR gets hit however I seem to be stuck in it.

I've configured the PTD3  PCR as a falling edge interrupt and yet it is acting as a level interrupt.

is there a status bit somewhere that needs to be cleared somewhere?

could someone please let me know if there is such bit that needs to be cleared.

Thanks

标签 (1)
标记 (1)
0 项奖励
3 回复数

873 次查看
hajianik
Senior Contributor I

Hi Daniel,

Seems to me that NMI is a level sensitive(triggered) signal and not  an EDGE triggered.

Is that correct?

Thanks

0 项奖励

873 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Koorosh,

Yes, it is low-level sensitive, the signal has to go up, otherwise it will trigger again.

Regards,

Daniel

 

0 项奖励

873 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Koorosh,

The PCR register does not configure the NMI functionality.
Yes, it is low-active.
There is NMIPENDSET bit in ICSR core register, but it gets cleared automatically when the handler is entered.
pastedImage_1.png

Please refer to ARM Cortex-M4 Devices Generic User Guide
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Cihfaaha.html

Regards,
Daniel

0 项奖励