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.

[参考译文] MSP430F6779A:高频 PWM 需要更快的时钟

Guru**** 2540270 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/840989/msp430f6779a-need-faster-clock-for-high-frequency-pwm

器件型号:MSP430F6779A

我需要18Khz 的 PWM 频率。 我能够生成 PWM 信号、但当 TA0CCR0值为511时、我可以达到的最大频率为2kHz。 我使用的 SMCLK 频率我认为是1MHz、PWM 的时间周期为511微秒(将 TASSEL 配置为2 (smclk))。 我希望在正半周期中有180个 PWM 脉冲、在负半周期中有180个 PWM 脉冲、这会增加到360。 现在、由于我的正弦波频率为50Hz、50 x 360 = 18000。 因此、我需要18KHz 的 PWM。 我的问题是如何提高 PWM 频率。 我知道频率取决于 PWM 周期(TA0CCR0值)、但我必须至少将其保持在200左右。 请帮我解决这个问题。 提前感谢。  

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

    两个相同的员额。 我回答了另一个问题。 关闭这个。