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.

[参考译文] TMS320F28P650DH:计数周期 — ERAD Counter_Event_Mode

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1565938/tms320f28p650dh-count-cycles---erad_counter_event_mode

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

工具/软件:

您好、  

我要对 F28P65 上的周期进行计数(由 SW 触发)。 由于某些原因、我在 F28P65 上找不到有关 ERAD 模块的大量信息、但 在 F29x 文档中找到了 ERAD _configCounterInStartStopMode () 函数。  

您是否确认在 F28P65 上对周期进行计数 的优选方法、并且其使用方式与在 F29 上相同?  

此致、

Geoffrey  

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

    尊敬的 Geoffrey:

    POST 中引用的计数器函数在 F28P65x 器件中提供。 请参阅最新的 C2000Ware 中的 erad.h 文件。  第 13.9.4 节 ERAD 计数器_REGS 寄存器包含有关  为 ERAD Counter_Config 参数使用 ERAD EVENT_NO_EVENT 值的信息。 这会使计数器使用 CPU 周期。 还应注意、必须 使用  ERAD _enableModules 方法启用计数器以开始计数。

    此致、

    Ozino