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.

Only stop PWM output when ePWM module is running?



Hi,

Is it possible PWM output stops when ePWM module is running.

I want to control only output of ePWM (Enable/start PWM output or Disable/stop PWM output).

Can Piccolo (F2805x) support this function?

  • Hi Remony,

    You can control this using Trip Zones - In this case the PWM outputs will be actively driven (start) or trip to a defined state (stop).
    Trip zone can be forced from external inputs or s/w force as needed. Refer to Trip zone related documentation.
    Note that the internal PWM timer will continue to work in this case and only the PWM outputs are controlled by Trip condition.
    If you have to freeze the Time base - that can also be done by changing CTRMODE bits in TBCTL reg.

    -Bharathi.
  • Depending on your application needs, if you wanted software control of the PWM output you could also just change the GPIO pin mux to GPIO instead of ePWM function.  It could be GPIO input or output, again depending on what you need to do.

    - David