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.

TMS320F28388D: Does HRPWM increase the precision of the duty cycle?

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello, Mr. Expert,

I am generating 10khz pwm on the F28388D daughert board, but I want to control this pwm duty cycle value at 0.01% precision, how can I do this, can I do this with HRPWM?

Can you guide me on this subject?
Good work, best regards

  • Hi Ali,

    Yes you would be able to, please take a look at our C2000WARE examples found here.

    Here is also additional academy content for you to understand what is High resolution PWM.

    If you have any further questions make sure to look at our FAQ for HRPWM.

    Best,

    Ryan Ma

  • Hello, Mr. Expert,
    I have examined these documents and examples in c2000ware, but there is no example or document that explains how to do what I want to do (controlling 10khz pwm with 0.01% duty cycle) and how to change which timer value.

    Could you please guide me on which example I should look at and how I should proceed?

    Best regards

  • Hi Ali,

    The C2000WARE example you will find for HRPWM is found in: C:\ti\c2000\C2000Ware_5_02_00_00\C2000Ware_5_02_00_00\driverlib\f2838x\examples\c28x\hrpwm

    To change what timer value do you mean TBPRD? In order to change this, you can change the example to fit your 10khz requirement.

    Best,

    Ryan Ma