Skip to main content
Santhamurthy R
Associate III
July 25, 2019
Solved

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.

  • July 25, 2019
  • 1 reply
  • 1152 views

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 topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello,

    in checking the Interrupt Vector table

    NMI should be in vector46

    Cf Chapter 12 in the RM

    Best regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    August 13, 2019

    Hello,

    in checking the Interrupt Vector table

    NMI should be in vector46

    Cf Chapter 12 in the RM

    Best regards

    Erwan