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/DK-TM4C129X:需要 EMAC 时间戳单元的使用示例

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/600919/ccs-dk-tm4c129x-need-example-for-use-of-emac-timestamp-unit

器件型号:DK-TM4C129X

工具/软件:Code Composer Studio

我想打开 EMAC 时间戳计数器、使它们至少在初始时自由运行。  之后、我想在 NDK API 之上实现 PTPv2。  在用于 lwip 的 TivaWare 的 third_party 目录中似乎有一个 PTPv1的实现、但不多。  我假设 TI 的部分设计验证包括运行 PTPv2的代码。  该代码是否存在于某个位置?  什么是只让时间戳计数器自由运行的设置?  提前感谢您的帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    另一个用户在此主题中使用 EMAC 时间戳发布了一个示例:
    e2e.ti.com/.../1857342 时间戳#pi239031350=2
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我使用了 EMAC TivaWare 驱动程序时间戳 API (在运行 TI-RTOS 管理的 EMAC0上)、EMACTIMEC/EMACTIMENANO 现在会递增、并由 UDMA 以高频率成功读取。 感谢您指出这篇文章!

    剩下的唯一问题是在某个地方是否有 PTPv2实现。