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.

TMS320F28027: HRPWM inverted output with deadband

Part Number: TMS320F28027

Hello C2000 team,

I have a customer who would like to configure the HRPWM as follows:

PWMxA - high res frequency control

PWMxB - complement of PWMxA with deadband

PWM signals are active high

It is critical that the frequency resolution of both output signals is not compromised. The size of the deadband between the two output signals should not be a major concern, they just need to be guaranteed to not overlap.

I see there are two places where I could configure this inversion, with the HRCNFG register (SELOUTB), and also in DBCTL register POLSEL field. What is the proper way to configure this inversion and the deadband generator to maximize the frequency resolution?

Thanks, 

Munan

  • Hello Munan,

    Selecting the inversion in the dead-band module (POLSEL) and writing non-zero values to DBRED and DBFED registers will allow you to generate correct PWM outptuts with dead-band.

    Please note that PWMxB output will not be hi-res when generated in this way.

    Hrishi