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.

TMS320F28335: E-pwm module

Part Number: TMS320F28335


Hi,

  I am working on TMS320F28335 (Epwm module) and i am generating the 1KHz frequency at the pwm channel(1A,1B,2A,2B,3A,3B,4A,4B).. i am going to run the motors with this channels and i want control the each pwm channels ON/OFF individually like ,if my variable is receive_data.

the configuration is  0-th bit is high means channel 1A  should be be generate the pwm and epwm1B should not generate the pwm frequency..

through datasheet my understanding is we can run the channel  1A and 1B separately

will anyone please explain..... 

Thank you ,

Regards,

D.sangeetha

  • Feel free to use whatever encoding you wish, this is all application dependent. Yes, you can run the PWMxA and PWMxB independently. If you wish to disable any channel this can be done multiple ways.

    1. AQCSFRC/ AQSFRC, these allow you to force the Action Qualifier (AQ) low. This will not work if you are using complementary settings in the Dead-Band(DB).
    2. Use the Trip-Zone (TZ) 
    3. Disable the PWM output at the GPIO buffer using GPxMUXy registers
    4. Reconfigure the counter-compare module to force ePWMxA/B to the desired state.

    Regards,
    Cody