Hi ,
I would like to know if we must activate the NMI interruption in order to get an other interrupt??
I tried to activate only the timer 0 interrupt but I can't reached interrupt. But when I enable the NMI interrupt it works !
regards
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.
Hi ,
I would like to know if we must activate the NMI interruption in order to get an other interrupt??
I tried to activate only the timer 0 interrupt but I can't reached interrupt. But when I enable the NMI interrupt it works !
regards
Suleyman says said:I would like to know if we must activate the NMI interruption in order to get an other interrupt??
Suleyman says said:I tried to activate only the timer 0 interrupt but I can't reached interrupt. But when I enable the NMI interrupt it works !
Hi don5534,
I would recommend you to refer to the interrupt.c file of C6748 starterware code.
Below is the code snippet from interrupt.c
#define C674X_NMI 1
void IntDSPINTCInit (void)
{
unsigned int step = 0;
/* Set ISRs to default "do-nothing" routine */
while(step != C674X_INT_COUNT)
c674xISRtbl[step++] = IntDefaultHandler;
/* Set interrupt service table pointer to the vector table */
#ifdef __TI_EABI__
ISTP = (unsigned int)_intcVectorTable;
#else
ISTP = (unsigned int)intcVectorTable;
#endif
/* Clear pending CPU maskable interrupts (if any) */
ICR = 0xFFF0;
/* Enable NMIE bit to allow CPU maskable interrupts */
IER = (1 << C674X_NMI);
}
Hi Shankari,
Thanks, that's just the information I need. I appreciate the response.
Don