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.

PWM module requirement

Other Parts Discussed in Thread: TMS320F28035

Hello

I have the following requirements in the PWM module of piccolo TMS320F28035. I am not able to find a straight forward and simple way to achieve the same.

I have to use the PWM module in "active High-complementary" mode. I have to leave the PWM pair initialized and ready to fire. But their default positions (of both) have to be LOW.  I should be able to turn-on / turn-off the PWM signals. When I turn-off, both signals should go LOW. I have to have a main switch to on/off pwm signals.

I am not able to find a way achieve the above stated requirement. The PWM module looks all versatile and elaborate, but still I find no way to implement the above requirement.

As soon I initialize and enable the dead-band module, one of the PWM pins go high (due to active hi complementary mode).

Is there a way achieve what I want?

Thanks

Sayee

  • Hello,

    Unfortunately, there is not a simple way to do what you're trying to accomplish.  To the best of my knowledge, the best way will be to enable the deadband module only once it is needed and then disable deadband once it is no longer needed.  This would likely need to be done in software by editing the OUT_MODE bits of the DBCTL register.

    We've received the feedback that a better method is needed and are working on this in future C2000 devices.


    Thanks,
    Brett

  • Sayee,

    further elaborating on Brett's comment,

    You can configure the pins as GPIO inputs and enable them only when needed, or you can keep the module in software force trip zone till you need it and then release it out of this software force,  this is a very common request.

    However if you concern is more advanced, whether deadband requirement are met while tripping, then the above comment holds.

    -Manish Bhardwaj