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.

CCS/RM44L520: control a single PWM individually

Part Number: RM44L520


Tool/software: Code Composer Studio

Dear team,

/** @fn void etpwmStartTBCLK()
*   @brief Start the time-base clocks of all eTPWMx modules
*
*   This function starts the time-base clocks of all eTPWMx modules.
*/
/* SourceId : ETPWM_SourceId_002 */
/* DesignId : ETPWM_DesignId_002 */
/* Requirements : HL_EPWM_SR36 */
void etpwmStartTBCLK(void)

It means that etpwmStartTBCLK will Start the time-base clocks of all eTPWMx modules. Do we have API which can Start the time-base clocks of JUST ONE of eTPWMx modules? I have not found a way to turn on or off a single PWM individually.

Please help.

  • Hello Susan,

    etpwmStartTBCLK() is to enable the TBCLKSYNC. When TBCLKSYNC is set, all ePWM time-base clocks are started with the rising edge of TBCLK aligned. When TBCLKSYNC is 0, the time-base clock of all ePWM modules is stopped.