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.

Why if i am using the CPUTimer0 INT, my device it is in NMI_ISR?

Other Parts Discussed in Thread: CONTROLSUITE

i am making an applycation with CPU timer0 interrupt, it runs good and the whole thing, but for some reasons i have to keep doing my work in other PC, when i load the code in the C2000 in that other PC, it doesnt run, and then i sends me an error because the "f2802x_defaultISR.c" its not in the location that the CCS is finding, i click to locate the file, and i point the right location.

After that, i press play again, but it is stoping in the Default_ISR routine, specifically in the NMI routine in a section with >>  asm("     EST0P");

i dont understand this, because im using the timer0 interrup, not that.  The only thing that i can do to fix this is create another project and copy the source file again, and it runs as a new project, or i copy the source code in the example launchpad demo project. other tries to fix this doesnt work for me. why this is happening? how can i fix it? 

in a section of the code im using this to re-map the interrupts, maybe this is not working?

EALLOW; // This is needed to write to EALLOW protected registers

PIE_registerPieIntHandler(myPie, PIE_GroupNumber_1, PIE_SubGroupNumber_7, (intVec_t)&cpu_timer0_isr);

EDIS;

Regards.

  • Hi Eliomar,

    Have you tried taking a look at the cpu timer example located in the controlSUITE\device_support\f2802x\v230\f2802x_examples_drivers\cpu_timer folder. This example configures CPU Timer0, 1, & 2 and increments  a counter each time the timer asserts an interrupt. Perhaps this example might give you an idea of how to assert the cputimer interrupt.

    Regards,

    Ozino