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.

[参考译文] DP83826E:带 DP83826E 的 EtherCAT

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

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1217792/dp83826e-ethercat-with-dp83826e

器件型号:DP83826E
主题中讨论的其他器件:AMIC110TLK105

您好!

我的定制电路板与 AMIC110 ICE 电路板设计非常匹配。 唯一的区别是 PHY (DP83822与 DP83826)。  ESC full_BareMetal 示例中的 TI PDK 适用于 AMIC110  ICE 板、这意味着、TwinCAT 主器件可以检测从器件。 但是、在我的定制设计中、我无法检测 将  DP83826作为 PHY 的从站。 我在 MDIO/MDC 线路上观察到流量(请参阅下面的屏幕截图)。 我也在监视 PRU_0下的 MDIO 寄存器,见截图。 在我的设计中、我将 DP83826配置为基本模式、并将 PHY 地址设置为0x01。 您是否具有用于初始化 DP83826的驱动程序。 以下是 Board_tlkphy.h 下的一些寄存器

#define PHY_BCR_REG (0U)
#define PHY_BSR_REG (1U)
#define PHY_ID1_REG (2U)
#define PHY_ID2_REG (3U)
#define PHY_AutoNeg_ADV_REG (4U)
#define PHY_LINK_PARTNER_ABLTY_REG (5U)
#define PHY_1000BT_CONTROL_REG (9U)
#define PHY_1000BT_STATUS_REG (0x0A)

#define TLKPHY_RCSR_REG (0x17)

#define TLKPHY_CR1_REG (0x9)
#define TLKPHY_CR2_REG (0xA)
#define TLKPHY_CR3_REG (0xB)
#define TLK105_EXT_MLEDCR_REG (0x0025)
#define DP83822_EXT_LEDCFG1_REG (0x0460)
#define DP83822_EXT_IOCTRL1_REG (0x0462)

谢谢。

Jagbir

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

    Jagbir,

    请参阅 用于 Linux 驱动程序的以太网软件。

    此致、

    Gerome.