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:单独控制单个 PWM

Guru**** 2382480 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/947195/ccs-rm44l520-control-a-single-pwm-individually

器件型号:RM44L520

工具/软件:Code Composer Studio

尊敬的团队:

/**@fn void etpwmStartTBCLK ()
*@简短启动所有 eTPWMx 模块的时基时钟
*
*此函数启动所有 eTPWMx 模块的时基时钟。
//
//* sourceId:ETPWM_sourceId_002 *//
* DesignId:ETPWM_DesignId_002 *//
//*要求:hL_ePWM_SR36 */
void etpwmStartTBCLK (void) 

这意味着 etpwmStartTBCLK 将启动所有 eTPWMx 模块的时基时钟。 我们是否有能够 仅启动其中一个 eTPWMx 模块的时基时钟的 API?  我没有找到单独打开或关闭单个 PWM 的方法。

请帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Susan、

    etpwmStartTBCLK() is to enable the TBCLKSYNC. 当 TBCLKSYNC 被置位时、所有 ePWM 时基时钟在 TBCLK 对齐的上升边沿启动。 当 TBCLKSYNC 为0时、所有 ePWM 模块的时基时钟被停止。