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.

[参考译文] TMS320F280049C:用于测量两个脉冲之间延迟的 HRCAP 代码

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1363489/tms320f280049c-hrcap-code-for-measuring-delay-between-two-pulses

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

嗨、

我将尝试使用 hrcap 模块捕获两个脉冲之间的时间延迟。 但是、我无法在 C:\ti\cc2000\C2000Ware_5_02_00_00\device_support\f28004x\examples 中找到与 F280049C 的 HRCAP 相关的任何示例

即使  C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f28004x\examples\hrcap 中提供了一些示例

我不熟悉   driverlib 中提供的代码。 我请求某人向我提供 HRCAP 模块的代码。

此致

阿卡什

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

    尊敬的 Akash:

    遗憾的是、我们只有有关 F28004x 的 hrcap 的 driverlib 示例。 不过、您可以使用此示例查看配置的位并将其转换为您的位域代码。

    我们还有一个针对 F2806x 示例的器件支持示例、该示例使用 bitfield 配置 HRCAP。 您可以将其用作起始基本模板。

    C:\ti\c2000\c2000Ware_x_xx_xx\device_support\f2806x\examples\c28\hrcap

    此致!

    马瑞安