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.

AM5729: Cant disable Timer Interrupt Flag

Part Number: AM5729


I am working with the AM572x IDK board -  TMDSIDK (chip is AM5729) and I am trying to check the overflow interrupt of the Timer 3. The interrupt occurs only once even though the timer is set on the auto reload mode. 

According to the TRM, the interrupt flag in the IRQSTATUS register at address 0x4803 4028 needs to be cleared. However, in my case, the flag doesn't clear if I use the API :


The interrupt does not clear even if I directly write a 1 in the corresponding bit of the register to clear the interrupt - HW_WR_REG32(0x48034028, 0x2);

I am using TI-RTOS for my test code. That inherently also doesn't clear the interrupt, which it is expected to do.

What is the correct way to clear the interrupt flag in the interrupt register?

Thank you,


  • Hi Dimple,

    Have you referred to the timer example available at <PDK>\packages\ti\csl\example\timer\timer_app? If not, can you try running and see if this is implementing similar functionalities that you require. This should be a good reference point for you.


  • Hi Parth,

    Thanks for the pointer to the example. The example code disables the interrupt, clears the interrupt and then enables the interrupt again. This procedure does clear the interrupt flag. After following this sequence, my code works too. Thank you!