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.

TMDS64EVM: Testing Ethernet Loopback Using the Loopback Cable

Part Number: TMDS64EVM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

How to modify the current example of ethernet_cpsw_loopback/loopback_phy_end to make it work a little bit further to

the RJ45 ethernet loopback cable (routing the Tx wires back to Rx wires). This will allow me to test from the PHY to the transformer and connector

to make sure the layout is good and no EMI issue.

Thanks,

Huynh

  • Hello Huynh Nguyen,

    To which AM64x SDK exactly are you referring to for this ethernet_cpsw_loopback/loopback_phy_end example ? 

    Are you working on the TI TMDS64EVM (as per current thread tag) or on your custom AM64x board (you speak about checking layout for EMI issues) ?

    Are you asking for help with a software or with a hardware modification to adapt the CPSW Eth loopback test to use an  Ethernet loopback cable with RJ45 connector ? 

    Thanks for your clarification  

    Kind Regards,

    Anastas Yordanov

  • Hello Anastas,

    Thank you for the response. Here is the information : 

    1. mcu_plus_sdk_am64x_10_01_00_32

    2. Yes TMDS64EVM

    3. Software modification only. So on the EVM I can test using the current /ethernet_cpsw_loopback/loopback_phy_end example now. 

        So the example with loopback is still within the PHY chip. I need help to modify the example to test TX/RX using ethernet loopback cable on RJ45.

    Thank you very much.

    V/R,

    Huynh

  • Hello Huynh,

    I will ping software expert to tell if it is possible and how much effort it will require. Please expect a couple of days delay.

    Thank you.

    Stan

  • Hi Huynh,

    With the same example, you can test the functionality of PHY by crossing the wires. You have to change the MacPort configuration from PHY Loopback mode to 'LOOPBACK_MODE_NONE' in the sysconfig under the section Enet (CPSW) > Mac Port Config > Mac port-1 Config > Loop-back Mode.

    Please let us know if you face any issues further.

    Regards,
    Teja.