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.

  • Hi,

    The F2837x devices have type-4 PWMs, which include features that simplify this peak current mode control implementation.  We do not have a software example currently available. The attached file shows how you could configure the device for this operation.

    I hope you find this useful.

    HrishiPCMC Waveform generation with type-4 PWMs.pdf

  • Dear Hrishi :
    Thank you very much for your reply.

    I have read the attached file you gave me, however, it is too simple and I do not know how to set the registers.

    Can Ti's engineers give me an simple software example. I've been puzzled by this question for months.

    Thank you very much !

    zhaoyang zhao
  • Hi Zhaoyang,

    We hope to make a software example available soon (probably 2019). Till then users will need to derive the register configuration based on the attached file.

    Hrishi