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.

[参考译文] LP-MSPM0L1306:捕获比较功能

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1512255/lp-mspm0l1306-capture-compare-function

器件型号:LP-MSPM0L1306
主题:MSPM0L1306中讨论的其他器件

工具/软件:

您好的团队、

我的客户希望构建一个 示例代码、以检查 PWM 输出周期是否与  使用捕获函数设置的值匹配。

它们共享了以下示例代码、但似乎无法确认寄存器上的捕获值、如下所示。

您可以检查代码并给出有关如何修复它们的建议吗?

TIMG0用于 PWM 输出

TIMG1用于捕捉  

 e2e.ti.com/.../empty_5F00_LP_5F00_MSPM0L1306_5F00_nortos_5F00_ticlang_5F00_CPWM-Sys.zip

将 PA7 (捕捉输入 TIMG1)连接到 PA12 (PWM 输出 TIMG0)

此致、

Kenley

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

    有一个关于在 SDK 中捕获的示例。 我想您可以直接将其用于该应用。