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.

Link between two DP83640 devices

Other Parts Discussed in Thread: DP83640

Hello,

I've made two custom boards each existing of a microcontroller and a DP83640 connected via MII.

I am not able to plug the boards together with an ethernet cable and get a valid link connection.

If I connect them indirectly over a switch, then everthing works fine (good link, receive packets, transmit packets, timestamping...).

I've tried turning off Auto-Negotiation and Auto-MDIX and setting it up manually with no success.

I don't know if I am overlooking something, but I'm pretty clueless at the moment.

The schematics was done using the AN-1469 PHYTER Design & Layout Guide and looking at the DP83640 TP&FX Demo Board schematics.

Is there any "standard" base register setting, with them it should work? Could you please give me a hint?

best regards

Pierre

  • Hello,

    I have a few of questions regarding your test setup.

    1. What type of cables (straight or cross) are you using to connect to the switch?

    2. What switch are you using?

    3. Did you use the same cable(s) to connect the two custom boards?

    4. What speed are you trying to use while connecting the two custom boards?

    5. Are you using 'straps' to configure the boards or are you programming the PHY with the microcontroller?

    Can you get a register dump of the two custom boards with and without the boards being connected?

    If you can get that information, will you post your information?

    Thanks,

    John

     

  • Thanks for your answer, John.

    1. I've tested both, straight and crossed cables

    2. A standard (cheap :)) swirch, TP-Link

    3. Yes, I've tested quite a few different cables. Not only straigt but also crossed ones.

    4. I've tried all possible speed settings, none of them working except when connecting via the switch.

    With the switch it runs on 100BASE-TX, Full-Duplex.

    5. Both, same result

    I can make a register dump, but I've tried different settings.

  • Hello Peter,

    Thanks for the additional information.

    Could you please provide a register dump of your boards?

    Thanks,

    John