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.

TMS320F28P650DK: Which is right method to config EPWM CLK?

Expert 2480 points

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

When use the syscfg, there is clock tree view.

But I tried to modfify the EPWMCLKDIV from 2 to 1. I did not see the change in the code that this change happen.

So I have the question, modification in the clock tree seems not the right way to config the EPWM clock.

Which is right method to config EPWM CLK?

  • Hello,

    The expert for this topic is currently still out of office from the holidays. Please expect a delay in response. I apologize for any inconvenience.

    Best Regards,

    Allison

  • Hi Zheng,

    Apologies for the delay as I was out of office due to the holidays. Please allow me to walk you through the process of utilizing the ClockTree Tool:

    1. In SysConfig, add the 'Device Support' module as shown in the image to generate device.c and device.h files, modify driverlib build, and use standard code start branch in conjunction with the SysConfig System Control module: 
    2. In the ClockTree Tool, modify EPWMCLKDIV from 2 to 1, as you've done already. You will see code changes in clocktree.h, device.c, and .sycfg files as follows.

    If you do not see the above occur, please send me the versions of CCS and C2000WARE you are utilizing. I am able to do the above steps successfully using C2000WARE 5.03 and 5.04 and CCS 12.8 and 20. 

    Best Regards,

    Aishwarya

  • Thanks expert.