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?
This is quite simple.
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:
MPC5 software example list
Example MPC5744P PIT triggering interrupts
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?
You can find reference example for IVOR1 here:
Example MPC5744P 1b+2b_FLASH_ECC_error_by_UTEST_area_read GHS614
Is there an example of working in S32D?
Retrieving data ...