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.

TMS320F28031: HVPSFB PCMC Software on F28031

Part Number: TMS320F28031

Hi team,

We are trying to support customer to run HVPSFB demo code on F28031.

Since the ADC conversion F28031 is slower than F28027, the control loop cannot run at 100kHz.

Thus, we are trying to slow down the control loop to 70kHz.

To do this, we changed the PWM period of PWM1, but the output waveform is disordered.

Is there anything else to modify besides the PWM period of PWM 1?

Thanks for supporting! 

  • Hi,

    You might also want to check the duty cycle of the waveform. Please check CMPA/B values as well. Can you explain more about the problem? what do you mean by the disordered waveform?

    Thanks
    Vasudha
  • Hi Vasudha,

    Since CMPA/B is generated according to PWM period and deadband, I do not think this caused the problem.

    Here is my concern:

    According to the HVPSFB-DPL-ISR.asm, the compB of TB2 is set to small value which represents deadband as point 1 and 3.

    PWMA is trip to low at point 2 by the comparator. And PWMB is set at point 3 with a deadband.

    My question is, why PWMB is not set at point 1? Did you achieve this by adding nop command as in the picture?