Hi Vasudha-san,
I ask additional questions about the following threads:
https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/812087/3024935#3024935
Vasudha Bhadoria said:
We discussed over this and concluded that making TBCTR = 0 or TBCTR = PRD through software can lead to inconsistent behaviour.When the interrupt gets generated. counter is incrementing and when we write TBCTR = 0 or PRD in ISR this leads to counter load with specific value. Since the increment and load are not synchronized with TBCLK much slower than SYSCLK, this leads to inconsistent behaviour wherein counter = 0 is not getting detected by hardware.
Where is hardware detected "counter = 0"?
Is it a falling edge from PRD to "0"?