NMI support?

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

NMI support?

548 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by atomicdog on Sat Jun 30 17:22:08 MST 2012
The user manual says that "The NMI is not implemented on the LPC111x/LPC11Cxx"

Setting NMIPENDSET appears to work though when debugging with LPC-link.
SCB->ICSR = SCB_ICSR_NMIPENDSET_Msk

Is it OK to use the NMI from a software interrupt?
Or should this be considered undefined behavior?
Labels (1)
0 Kudos
Reply
1 Reply

491 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Daniel Widyanto on Thu Nov 08 19:38:32 MST 2012
Hi,

Just for clarification, NXP is implementing ARM Cortex-M0 core completely. Hence, the NMI function will always be there, but it may not be connected to external pin / peripherals.

"The NMI is not implemented on the LPC111x/LPC11Cxx" should be interpreted as cannot be used to generate interrupt from peripherals or pin. But, of course, it could be used for software interrupt without any restriction.

FYI also, the LPC1100XL series and LPC11Uxx series implement NMI (as in you can connect the NMI to other peripherals / GPIO pin interrupt).
0 Kudos
Reply