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/TMS320F28377D: How to control a Peak Current Mode Controlled Buck converter using CMPSS in TMS320F28377D

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

Dear everyone,

       I want to use the CMPSS in TMS320F28377D to control a Buck converter using the Peak Current Mode.  However, I do not know how to design the programme in TMS320F28377D.  

       I found the diagrams in  spruhm8g i.e., 《TMS320F2837xD Dual-Core Delfino Microcontrollers Technical Reference Manual》as follows.  Unfortunately, I have not found the routines from TI.

    In order to use  CMPSS, I  refer to the routines given by TI, i.e.,  《cmpss_asynch_cpu01.c》and《cmpss_digital_filter_cpu01.c》. Unfortunately, no matter how I modify the program, I can't implement the function shown in the figure above, that is, the output is synchronized with EPWM.

    Thanks.