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.

[参考译文] AM620-Q1:具有定制 PHY 的 AM62x 上的 PTP

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1513715/am620-q1-ptp-on-am62x-with-a-custom-phy

器件型号:AM620-Q1

工具/软件:

你(们)好

我们正在使用  AM6254和 运行速度为100Mbit 的 ksz8081 PHY 开发一个传感器。
我们希望使用 PTP 来实现良好的时间同步(因此、我们的器件是 PTP 从站)

我的代码基于  mcu_plus_sdk_am62x_11_00_00_16中的 gptp_lwip_cpsw 示例。

示例编译并启动-但 我收到以下错误:

Cpsw_getPortLinkCfg: Port 1: Link config not available for layer 1 sublayer 1
Cpsw_internalIoctl_handler_ENET_PER_IOCTL_GET_PORT_LINK_CFG: Port 1: Failed to get link config: -13
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000105: -13
Enet_ioctl: cpsw3g: IOCTL 0x01000105 failed: -13
ERR:cbase:Failed to get link info: -13
ERR:cbase:cbl_query_response:failed to get speed and duplex : tilld0
INF:cbase:000003-081835:cbl_query_response:tilld0: link UP, speed=0, duplex=0 !!!! (25583us since link change event)
INF:gptp:000003-082184:index=1 speed=0, duplex=unknown
WRN:gptp:000003-082193:!!! Full duplex link with Speed above 100 Mbps needed for gptp to run !!!

错误消息非常明确- gPTP 要求速度> 100Mbit。  

这是否意味着我们需要考虑其他方案、或者我们是否可以采取一些措施来使 PTP 从站在我们的硬件上正常运行(精度可能会降低)?