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.

TMS320C6746: TMS320C6746:NMI operation specifications

Part Number: TMS320C6746

Tool/software:

Hi,Experts

My customer is developing a TMS320C6746 that implements the program code for when an NMI interrupt occurs.
I have a few questions regarding the NMI operation specifications and would appreciate your comments.


Q1:Is it possible to distinguish in the program code between an interrupt generated by an external NMI pin
and an NMI interrupt generated inside the DSP?
(Is the assumption that NMI interrupts are generated internally as well?)

NMI interrupts behave differently than normal maskable interrupts, so the question is based on
this document (SPRUFE8B?July 2010: Figures 5-4, 5-6).

Q2:Is there a routine that should be performed when an NMI interrupt occurs (e.g., clear certain registers, etc.)?

Q3:How would the correct code to return to the program routine before the interrupt occurred be implemented?
(As far as I can tell from the documentation,
I believe that the return from an NMI interrupt is accomplished by “B NRP”).


Best Regards,
Hidekazu