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.
您好!
我的定制电路板与 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