Tool/software: Code Composer Studio
Dear Mr/Miss
I set the timer interrupt to occur every 1 mS.
It works well at first.
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.
Tool/software: Code Composer Studio
Dear Mr/Miss
I set the timer interrupt to occur every 1 mS.
It works well at first.
interrupt void gpt0Isr(void)
{
nTimer0CountU++;
/* Clear Timer Interrupt Aggregation Flag Register (TIAFR) */
CSL_SYSCTRL_REGS->TIAFR = 0x01;
}
It seems to be OK if It does not communicate peripheral devices.
Why is this happening?
yongwho,
"If a timer interrupt occurs during external interrupt processing, does the timer interrupt be ignored?
Will timer interrupts that occur during external interrupt processing be processed later?"
Please see pg of 802 of http://www.ti.com/lit/ug/spruh16b/spruh16b.pdf for details on timer interrupts and their behavior.
Lali
Hi Lali.
Timer interrupts do not occur at any moment when external interrupt and timer interrupt are used at the same time.
Then, When I write 1 to TIAFR by debugger, timer interrupt occur again.
I do not know what's wrong.
BR
ywkim