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.

CCS/MSP432E411Y: MDIO Interface doesn't work

Part Number: MSP432E411Y
Other Parts Discussed in Thread: DP83TC811SEVM,

Tool/software: Code Composer Studio

Hi Team,

I'm using MSP432E411Y-BGAEVM to communicate with the PHY DP83TC811SEVM via MDIO Interface. But it seems doesn't work.

I set 811PHY to RMII Master Mode and changed it's PHY ID to 0x1 by hardware bootstrap, and connected it to MSP432E411Y through RMII Interface. Then i used the SimpleLink MSP432E4 DriverLib API code to read and write the register value of the external 811PHY in CSS. The result was always 0x0000FFFF, when i tried to read the register like the picture. That means the MDIO Bus is always high and Idle.

I just wanna ask, what could cause this and how should I do to make it work? 

Many Thanks.

Regards,

Zhouyang Liu

  • Hello Zhouyang,

    Which Driverlib API calls are you using? The API starting with EMACPHY* should be used to access the PHY registers. Are you using these?

    Thanks,
    Sai
  • Hello Sai,

    yes, i used them. First of all, i set the system clock, enabled EMAC and reset it. Then i started to call the "EMACPHYConfigSet" to select the used PHY is an external PHY, then called "EMACInit" and "EMACConfiSet" to initialize and configure the EMAC.

    After all of these i called "EMACPHYRead" to read the Register of the external PHY. But no matter which Register I read, the result was always 0x0000FFFF. I don't know where goes wrong.

    Regards,
    Zhouyang
  • Hello Zhouyang,

    Apologize for the delay in getting back!

    Are you still looking for a solution on this. If so I can try it one week from now. Hope that time works!

    Regards,
    Sai
  • Hello Sai,

    Thanks for your reply again! Yeah, i'm still looking for a solution, I'm confused where I did wrong. If you can help, will be nice!

    Regards,

    Zhouyang 

  • Hello Zhouyang,

    The APIs that you described above are the right ones to configure the MAC to talk to the External PHY.

    Please refer the System Design Guidelines to ensure that there are no hardware issues.

    Thanks,

    Sai

  • Hello Sai,

    Did you try the APIs, it works? I used an oscilloscope to measure the MDC Pin, and found that there was always no Clock Signals from this Pin. (Oscilloscope works well)

    I used the "PinMux" in "TI Cloud Tools" to configure PF2 as MDC and other Pins like RX_D0, and inserted the automatically generated C Code from this Tool into my Code. Maybe the problem is here?

    Do you have any Idea that i can solve this Problem? I have two MSP432E411Y-EVM on hand, both of them don't have MDC Clock Signal. I did nothing with the two EVM Hardware before, I guess there are no hardware issues.

    Thanks,

    Zhouyang

  • Hello Zhouyang,

    I haven't tried those APIs but they were used by other TI'ers. Please confirm if you used the "System Design Guidelines" (that I mentioned in my previous post) to ensure that the hardware connections are correct.

    Thanks,
    Sai

**Attention** This is a public forum