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/TMS320F28027: sampling frequency problem

Part Number: TMS320F28027
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

hello,

I am working currently over pwm using ADC. my frequency is 12KHz and I am setting my sampling frequency at 6KHz. I am able to get my dutycycle variation from 100% to 50% only

please help me what changes I should do to get full dutycycle variation!!

thank you

  • Hello,

    How are you updating the CMPx register? Could you share your configuration of the relevant EPWM registers?

    Have you had a chance to look at EPWM examples epwm_updown_aq and epwm_up_aq found in the device support folder of controlSUITE or C2000Ware? Those are examples on how to update duty-cycle for up-down-count and up-count modes respectively.

    Elizabeth