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/TMS320F28377S: Spin forever

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Thank you for visiting my post.

I wrote the PWM program in C language to implement F28377S.

(triangular() is a function of triangular wave function).

In my opinion , it will output  PWM signal from OUTPIN , and OUTPIN2 forever. 

But these outputs are stopped after a certain period of time  .

Output pins keeps a constant output. If I click resume in CCS , it's not restart output PWM signal.

Why this program and computer can't output the PWM signal forever?

I attach main program and correct outputs.