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.

CCS/TMS320C5517: Timer interrupt events do not occur suddenly.

Part Number: TMS320C5517

Tool/software: Code Composer Studio

Dear Mr/Miss

I set the timer interrupt to occur every 1 mS.

It works well at first.

However, when periodically communicating with other peripherals(McSPI, SPI,..), no timer interrupt occurs at any moment.
Then, I write 1 to TIAFR by debugger, timer interrupt occur again.
Then, the interrupt will not occur again soon.
The interrupt function is simple.

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?