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.

AM2634: AM263x CPSW Ethernet Clause-45 Support

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

I'm trying to integrate Marvell PHY drivers into the AM263x TI MCU+ SDK CPSW ethernet drivers. The Marvell driver expects a XMDIO interface for register reads/writes that uses Clause-45 frames. In the sysconfig tool, I have configured the MDIO Clause-45 PHY mask to the PHY addresses I'm using. When the Mdio_open function tries to open the MDIO, it checks to see if this mask is set and returns ENET_ENOTSUPPORTED. However the AM263x TRM states that the CPSW supports Clause-45 frames: "13.2.1.1.1 CPSW0 Features - Management Data Input/Output (MDIO) module for PHY Management with Clause 45 support".

  • Hi Steve,

    Clause 45 is disabled by default as our evm do not have phy which support it. But there is no limitation from driver side on enablement of it. Customer can enable it by removing this check : 

        if (mdioCfg->c45EnMask != ENET_MDIO_PHY_ADDR_MASK_NONE)
        {
            status = ENET_ENOTSUPPORTED;
            ENETTRACE_WARN("MDIO Clause 45 is not supported\n");
        }

    in file: source\networking\enet\core\src\mod\mdio.c and recompile the enet library and rebuild the example.

    Please note:  We have not tested clause 45 (in any mode). IP team has done validate for the IP support only