NMI support?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NMI support?

581 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

524 次查看
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 项奖励
回复