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.

[参考译文] MSPM0G3519:PWM 驱动器 V01.03.00问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1451894/mspm0g3519-pwm-driver-v01-03-00-issue

器件型号:MSPM0G3519

工具与软件:

在 Mcal 版本00.02.04.00中、PWM 模块配置为使用 TIMG0和 TIMG14生成 PWM 输出、但当我将配置从 tresos 更改为使用 TIMA0时、它没有按预期工作。

经过一些调试、我们发现在 Pwm_Priv .c 中定义的包含定时器实例基址的定时器实例数组的排列方式与用户指南中提到的方式不同、另外还有 在同一个文件中定义的函数 Pwm_Map_Timer_Instance_To_Map_Index。

因此、在尝试使用 TIMA0时、实际上 TIMG7已初始化并开始计数。

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

    尊敬的 Omar:

    感谢反馈、我会报告错误。 您是否需要有关配置 TimerA0的帮助或是否已解决该组件?

    此致、
    Luke