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?
When NMI is rised micro is going into machine check exception like e200z4 reference manual shows below:
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: