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.
工具与软件:
我使用 TimerA PWM 来驱动伺服。
我希望能够关闭 PWM 并将输出保持为0
如果我将"Capture Compare (捕获比较)"设置为0、则表明出现故障
如果将 Capture Compare 设置为周期、则它保持高电平。
是否有一种简单的方法可以在电压为0时将其关断?
尊敬的 Keith:
如果要关闭 PWM、可以使用 DL_TimerA_stopCounter ();
请确保"Initial Value"设置为 LOW。 以便在您将其关闭后保持低电平。
此论坛还提供了有关 MSPM0G3507 PWM 功能的另一个问答。 https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1218258/mspm0g3507-pwm-is-not-generating 如果您还考虑使用 PWM 控制器、则可以考虑使用 KA3525A