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.

TMS28379D HRPWM Implementation

Other Parts Discussed in Thread: C2000WARE

I am testing an implementation for the HRPWM on the TMS28379D DSP.

I have modified an example provided in control suite.

For ease of use, I changed the UPDOWN count to UP count in the PWM init of the example.

 Dear C2000 team,

the behavior I am seeing when I set the PWM parameters to 500 kHz and 0.5 DC is correct.

When I change to 501 kHz and the HR part of the PWM is used, on my scope I can only measure a jittered PWM between 500 kHz and 502.5 kHz. This is also available for any value in the TBPRDHR register.

 The TBPRD and TBPRDHR registers seem to update correctly.

 

Is this the intended behavior? If so how would I go about measuring  the precision of the system?

If not, I have attached the c file I modified, maybe I missed something?

Please let me know

  • Hi,

    Which example are you using? Below example showcases the period variation.
    C:\ti\c2000\C2000Ware_2_01_00_00\device_support\f2837xd\examples\cpu1\hrpwm_prdupdown_sfo_v8
    You could try this example and let us know your observation.
    Jitter is not anticipated in this operating condition.
    Yes - It could also possibly be due to the precision of measurement - hence i suggest you look into that as well.