cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to configure the Non-Maskable Interrupt for the SPC560C50L3 MCU but the MCU is getting halted while executing the NMI config function.

Santhamurthy R
Associate II

Hello,

I am using SPC560C50L3 microcontroller for my application. I am trying to implement Non-Maskable interrupt at the pin number PA[1]. I tried configuring the NMI related registers but while executing the NMI configuration function the core is getting halted or core will be executing the unknown instruction. I attaching my sample code for your reference. Please do suggest how I can configure the NMI function successfully.

Also I am not finding the interrupt mapping for NMI. Kindly someone please share me the vector address mapped or the IRQ handler (number or callback) associated with NMI.

Regards,

R.Santhamurthy

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello,

in checking the Interrupt Vector table

NMI should be in vector46

Cf Chapter 12 in the RM

Best regards

Erwan

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

Hello,

in checking the Interrupt Vector table

NMI should be in vector46

Cf Chapter 12 in the RM

Best regards

Erwan