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.

[参考译文] CCS/TMS320F28379D:设置计时器

Guru**** 2544130 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/626444/ccs-tms320f28379d-setting-up-timers

器件型号:TMS320F28379D
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

大家好。 这是圣阿斯。

                    我需要一些帮助、了解如何将计时器设置为特定频率(在本例中为44.1kHz)并在以该频率触发的 ISR 中运行代码。 如何将计时器值设置为

在 Code Composer Studio 中为44.1kHz。

谢谢你。

此致、

圣雷迪

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

    您是否尝试将 CPU 计时器配置为每22.67us (44.1 KHz)进入 ISR?

    您可以参考 C200Ware 示例代码来配置 CPU 计时器。

    C:\ti\c2000Ware_1_00_01_00\device_support\f2837xd\examples\cpu1\cpu_timers\cpu01

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

    你好 Nirav。 感谢您的回复。  

    是的。 我尝试每22.67us 从数组中挑选一个样本(即、使用 ISR 和计时器概念的44.1kHz)。

    谢谢你。

    此致、

    圣雷迪