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: EtherCAT with DP83826E

Part Number: DP83826E
Other Parts Discussed in Thread: AMIC110, TLK105

Hi,

My custom board closely matches the AMIC110 ice board design. The only difference is the PHY (DP83822 vs DP83826). The TI pdk in ESC full_baremetal example works with the  AMIC110 ICE board, meaning- the Twincat master can detect the slave. However, on my custom design, I can not detect the slave with the DP83826 as a PHY. I observe traffic on the MDIO/MDC lines(see screenshot below). I am also monitoring the MDIO registers under PRU_0 , see screenshot. In my design, I am configuring DP83826 in BASIC mode with PHY address set to 0x01. Do you have the drivers for initializing DP83826. Below are some registers under 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)

Thanks,

Jagbir