How do I use the NMI (Nonmaskable interrupt) for MPC5744P?

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

How do I use the NMI (Nonmaskable interrupt) for MPC5744P?

3,649 Views
gerrywang
Contributor II

Hi,

In our project, when the interrupt condition occurs, the SBC (FS6500) generates a low pulse to the NMI pin of the MPC5744P. However, I do not know how to configure and implement Nonmaskable interrupt in code, there are examples of code?

Tags (3)
4 Replies

1,376 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

This is quite simple.

When NMI is rised micro is going into machine check exception like e200z4 reference manual shows below:

pastedImage_1.png

To serve NMI you need to have IVOR1 handler. As an example you can refer to one of the the MPC5744P examples with IVOR handlers implemented we have posted here:

MPC5 software example list 

for example:

https://community.nxp.com/docs/DOC-103438 

Peter

1,376 Views
gerrywang
Contributor II

Hi , Peter

Thank you for your reply!
But I'm not familiar with VLE instruction set. Can you provide an example of an IVOR1 handler?

0 Kudos

1,376 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You can find reference example for IVOR1 here:

https://community.nxp.com/docs/DOC-333754 

Peter

0 Kudos

1,376 Views
alexanderhu
Contributor I

hi,peter:

      Is there an example of working in S32D?

0 Kudos