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.

[参考译文] MSP430G2433:P2.0上的 PWM

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/762612/msp430g2433-pwm-on-p2-0

器件型号:MSP430G2433

在向上计数模式下、我需要 P2.0上的 PWM 输出。

我在 P2.1和 P1.2引脚上有用于 PWM 的代码。 我知道这些引脚的比较寄存器是 CCR0。 但是,如果我们要在 P2.0上配置,我需要做什么寄存器配置? 还是我们无法在 P2.0上生成 PWM?

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

    您好、Arathi、

    在这个引脚上、不能使用定时器来生成一个 PWM 信号。 寄存器 CRC0始终用于周期、因此计时器无法在该引脚上生成 PWM 信号。

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