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.

TMS320F280039C: program stuck when involving the DCLF32.h code

Part Number: TMS320F280039C


Tool/software:

Hello,

I am now designing a T-type three phase bi-directional inverter, which i think can refer the TI's reference design: https://www.ti.com/tool/TIDA-01606

Bcs of the different hardware connection, i build the program from demo empty project for f280039c. However, when i added the control part (DCL_runPI_C2) , the program can work with debug mode(i connect to the mcu with JTAG XDS100V3 debugger), but when i remove the debugger and run in standalone mode. The program stucked (phenomenon is no PWM output and LED blinking written in main function stopped). 

I tried to copy the related code from DCLF32.h to my code, it can works. 

Why i can't use the functions in DCLF32.h by directly including it, as described above? Wish can get your help.

Regards,

David