STUCK IN NMI

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

STUCK IN NMI

1,019 Views
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

Labels (1)
Tags (1)
0 Kudos
3 Replies

828 Views
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 Kudos

828 Views
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 Kudos

828 Views
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 Kudos