Non-Maskable Interrupt S32K146

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

Non-Maskable Interrupt S32K146

Jump to solution
2,378 Views
hamid_abrishami
Contributor III

Hi every one! I used S32k146 with LQFP 144. and I connect a safety function pin to PTD3 and use ( Non-Maskable Interrupt) option but it make a conflict in my software routine. CAN I change this interrupt priority. and use this as a normal interrupt. 

0 Kudos
Reply
1 Solution
2,347 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

This is the introduction to NMI in the Cortex-M4 Devices Generic User Guide:
A Non Maskable Interrupt (NMI) can be signalled by a peripheral or triggered by software. This is the highest priority exception other than reset. It is permanently enabled and has a fixed priority of -2. NMIs cannot be:
• masked or prevented from activation by any other exception
• preempted by any exception other than Reset.

NMI fixed priority of -2 Cortex -M4 Devices Generic User Guide.png

Have you considered configuring this pin as PTD3 to enable the PORTD interrupt and configure its priority?

PTD3 SSS S32K146.pngS32K1xx_DMA_Interrupt_mapping S32K14x_INT_MAP_ARM PORTD Interrupt.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

2 Replies
2,320 Views
hamid_abrishami
Contributor III

yes, I config the PTD3 and interrupt function (no NMI function) 

0 Kudos
Reply
2,348 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

This is the introduction to NMI in the Cortex-M4 Devices Generic User Guide:
A Non Maskable Interrupt (NMI) can be signalled by a peripheral or triggered by software. This is the highest priority exception other than reset. It is permanently enabled and has a fixed priority of -2. NMIs cannot be:
• masked or prevented from activation by any other exception
• preempted by any exception other than Reset.

NMI fixed priority of -2 Cortex -M4 Devices Generic User Guide.png

Have you considered configuring this pin as PTD3 to enable the PORTD interrupt and configure its priority?

PTD3 SSS S32K146.pngS32K1xx_DMA_Interrupt_mapping S32K14x_INT_MAP_ARM PORTD Interrupt.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------