This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: NMI ISR usage and example

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software:

Hi champs,

I am asking this for our customer.

1) Do we have any example to show how to use NMI ISR?

2) Does the user need to enable NMI ISR or it's just there as long as the user add below code?

void NMI_Handler(void)
{

...
}

3) Can Sysconfig be used to enable and/or generate NMI ISR?

  • Hi Wayne,

    1) There is a flash DED NMI example in SDK, customer can take it as reference.

    "Your MSPM0 SDK Download Folder\mspm0_sdk_xxxx\examples\nortos\LP_MSPM0G3507\driverlib\flashctl_ecc_error_injection".

    2) Just add the NMI_Handler function as above is ok, no need to enable NMI.

    3) No need any operation in Sysconfig to enable NMI interrupt.

    Best Regards,
    Peter