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.

TDA4VM: MDIO initialization steps to operate in MANUAL MODE

Part Number: TDA4VM

Hello experts,

I am currently using the manual mode of the MDIO interface. In section 12.2.1.5.3.1 "Initializing the MDIO Module", the document describes the MDIO initialization steps.

However, in manual mode, the clock and data lines are controlled through the register CPSW_MDIO_MANUAL_IF_REG, specifically using bits [2] MDIO_MDCLK_O and [1] MDIO_OE.

The initialization steps provided in section 12.2.1.5.3.1 do not seem directly applicable to manual mode operation.

Could you please provide more clarification on the correct initialization procedure for MDIO when operating in manual mode?

  • Hi,

    However, in manual mode, the clock and data lines are controlled through the register CPSW_MDIO_MANUAL_IF_REG, specifically using bits [2] MDIO_MDCLK_O and [1] MDIO_OE.

    Yes, In case of manual Mode we are using MDC and MDIO pins for MDIO transactions using MDIO_MANAL_IF_REG.

    Could you please provide more clarification on the correct initialization procedure for MDIO when operating in manual mode?

    You need to set MDIO in Manual Mode from CPSW_MDIO_POLL_REG.

    Also, refer to Mdio_open() function in RTOS SDK from "pdk\packages\ti\drv\enet\src\mod\mdio.c" for more details.

    Best Regards,
    Sudheer