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: Operate phy in clause45 mode when MDIO is in manual mode

Part Number: TDA4VM

Tool/software:

Hello,
I am using MDIO interface in manual mode. In order to read and write to some of the PHY registers, I am planning to use MDIO clause45 frame format.
Is there any special register to enable the clause45 in manual mode?
I see this register "CPSW_MDIO_CLAUS45_REG Register" to enable the PHY to operate in clause 45. But does this register usage is still valid if MDIO mode is manual?
Please let me know

Kind Regards
Manisha Narayan Gowda

  • Hi,

    I am using MDIO interface in manual mode. In order to read and write to some of the PHY registers, I am planning to use MDIO clause45 frame format.
    Is there any special register to enable the clause45 in manual mode?

    There is no register to set to enable Clause45.
    As MDIO In Manual Mode we need to run Clasue45 on MDIO Data & Clock lines.

    I see this register "CPSW_MDIO_CLAUS45_REG Register" to enable the PHY to operate in clause 45. But does this register usage is still valid if MDIO mode is manual?

    This is only when MIDO is not configured in Manual Mode.

    Are you using RTOS based CPSW application or Native Linux Driver.

    In case of RTOS, we don't have any reference for Clause45 access in MDIO Manual Mode.
    In case of Native Linux Driver, mdio_bitbang is used in Manual Mode it supports Clause45.

    Best Regards,
    Sudheer

  • Hi Sudheer,
    Thanks for you answer,
    I am neither using RTOS nor Linus driver.
    I have developed my own MDIO driver to be used in bit banging mode(due to errata i2329).
    I see this register "CPSW_MDIO_CLAUS45_REG Register" to enable the PHY to operate in clause 45, hence I got the question that, if I still need to use this in MDIO manual mode. Now it is clear that this register is not in use when MDIO is working in manual mode. Please reconfirm

    Thanks 
    Regards
    Manisha

  • Hi,

    I have developed my own MDIO driver to be used in bit banging mode(due to errata i2329).

    Understood, thanks for the details.

    I see this register "CPSW_MDIO_CLAUS45_REG Register" to enable the PHY to operate in clause 45, hence I got the question that, if I still need to use this in MDIO manual mode. Now it is clear that this register is not in use when MDIO is working in manual mode. Please reconfirm

    Yes, It will not be used in Manual Mode.

    Best Regards,
    Sudheer