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.

[参考译文] LAUNCHXL2-TMS57012:HALCOGEN:在 NHET 驱动器中将 PWM 占空比从100设置为0会失败

Guru**** 2443910 points
Other Parts Discussed in Thread: HALCOGEN

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/628331/launchxl2-tms57012-halcogen-setting-pwm-duty-cycle-to-0-from-100-fails-in-nhet-driver

器件型号:LAUNCHXL2-TMS57012
主题中讨论的其他器件:HALCOGEN

使用在 het.c 中生成的 HALCOGEN 版本04.07.00和 pwmSetDuty()函数 将占空比从100设置为0失败。 其他值的设置工作正常、因此我首先将占空比更改为100以外的值、然后将其设置为0。

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

    这是 HalCoGen 中包含的 NHET PWM 代码中的一个已知错误。 您首先将纠正措施设置为中间值、然后设置为0是有效的解决方法、但目前尚未确定此行为的其他纠正措施。