Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi,
We are using AM6421 with MCU+SDK _am64x_09_02_00_50.
We are using DP83822 phy in our custom Board.
We have successfully interfaced with ICSSG ports and tested the DP8322 PHY IN RGMII mode.We tested in Loop back and external ping and it works fine.
We need as part of our project to work in MII mode for Profinet-IRT implementation. we have configured the interface as MII mode in sysconfig and same is attached below.
DP83822 is configured in MII mode. Register dump attached below.
We need your support to figure out if we missed any configuration to operate the MAC and PHY in MII mode.
We are unable to test the enet_icssg_loopback_am64x-evm_r5fss0-0_nortos_ti-arm-clang example from SDK in MII mode.
DP83822 register dump after configuring to MII mode
Phy 2 :After Config
PHY 2: BMCR[0x0] = 0x6100
PHY 2: BMSR[0x1] = 0x7849
PHY 2: PHYIDR1[0x2] = 0x2000
PHY 2: PHYIDR2[0x3] = 0xa240
PHY 2: ANAR[0x4] = 0x01e1
PHY 2: ANLPAR[0x5] = 0x0000
PHY 2: ANER[0x6] = 0x0004
PHY 2: ANNPTR[0x7] = 0x2001
PHY 2: ANNPRR[0x8] = 0x0000
PHY 2: CR1[0x9] = 0x0000
PHY 2: STS1[0xa] = 0x0100
PHY 2: PHYSTS[0x10] = 0x000c
PHY 2: BISCR[0x16] = 0x0140
PHY 2: 1KSCR[0xf] = 0x0000
PHY 2: RCSR[0x17] = 0x0041
PHY 2: PHYCR[0x19] = 0x0022