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.

Connection between two TMDSEVM6670LE boards

Hi all ,
This is second post about the same propose ,
I want to connect between tow  TMDSEVM6670LE boards  (Board_1 as TX and Board_2 as RX) via Ethernet cable (by attaching each end of this cable with the Ethernet port of each board ) , 
I used the example which is in the directory  :
C\ProgramFiles\TexasInstruments\pdk_C6670_1_0_0_17\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject

Can i do this propose using this example ?
if yes :
I am read a lot of posts  related to using this example and there is no specific steps to do my propose .

Can any one help me ?
Thanks in Advanced ,
Muhammad 

  • The examples under the PDK are unit test to demostrate the usage of Ethernet. There is no detailed steps to run board to board test.

    - First understand how loopback work by using the project (send out, loopback, verify)

    - Then disable the loopback to make sure you can see packets transmitted out from EVM1, using wireshark to monitor the traffic

    - On EVM2, remove the send code, make sure EVM2 can receive what you sent from EVM1

    - Finally on EVM2, send what you received from EVM1 to see if EVM1 can receive

    Regards, Eric  

  • Hi lding ,
    Thanks very much for your reply ,
    -In TX(Board_1)  i disabled the Setup_RX function 
    -In RX(Board_2) i disabled the Send_packet function .
    -But i can not disable the loop-back in the two boards ,can you tell how i do this ?
    Do you mean that if i stop RX function in Board_1 and TX in Board_2 this mean i disable the loop-back ?
    or there is a configurations to disable the loop-back ?

    Thanks in Advanced ,
    Muhammad 

  • There should be code like:

    /* Define LoopBack modes */

    #define

    CPSW_LOOPBACK_NONE 0

    #define

    CPSW_LOOPBACK_INTERNAL 1

    #define

    CPSW_LOOPBACK_EXTERNAL 2

    #define

    CPSW_LOOPBACK_PA 3

    extern

    Int cpswLpbkMode;

    Then, you can set cpswLpbkMode = CPSW_LOOPBACK_NONE;

    - Eric