The attached example code is used to demonstrate NMI(Non-Maskable Interrupt) on ADSP-BF609 Ezkit. NMI’s come from three possible sources:
• External events
• RAISE 2 instruction (which is committed before I/O starts, so it cannot interrupt an I/O access)
• Parity errors (which can interrupt an I/O access)
This example uses RAISE 2 instruction to generate NMI.