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.

[参考译文] TMS320F28377S:定时器配置

Guru**** 2454880 points
Other Parts Discussed in Thread: TMS320F28377S, C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/813644/tms320f28377s-timers-configuration

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

大家好、

我在 TMS320F28377S 的 X1输入端使用外部20MHz 振荡 器、并且我希望将计时器0配置为具有50us (50微秒)的周期、并将计时器1配置为具有100ms (100毫秒)的周期。

我该怎么做?  

可以是以下几点?

ConfigCpuTimer (&CpuTimer0、200、50);//! 每50.0us 打一次勾
ConfigCpuTimer (&CpuTimer1、200、100000);//! 每100ms 执行一次勾选

或者、您能告诉我在哪里可以阅读如何配置计时器?

非常感谢

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

    您好!

    是的、配置看起来正确。

    请参考 C2000Ware_X_XX_XX_XX\device_support\f2837xs\examples\cpu1\cpu_timers 中的 CPU 计时器示例

    谢谢、Katta