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/TMS320F28035: How to start a one time count timer.

Part Number: TMS320F28035

Tool/software: Code Composer Studio

I started timer0 for time count use. I set timer0 to stop when it reached 0. but it not work properly. By debugging step by step, I finnally find that ,when I set TSS to 0 to start the timer, the timer counter changed to 0,and the timer stopped ,TIF changed to 1. what is wrong with my program.

My register is set like this:

while my program is like this: