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.

TMS320C6678: How to configure 3-port Gbe to exchange data between SGMII0 and SGMII1?

Genius 13655 points
Part Number: TMS320C6678

Hello Champs,

Do we have 3-port Gbe switch example for reference?

Customer wanted to know how to configure send data from DSP1 SGMII1 to DSP1 SGMII0 or vice versa.


Thanks.
Rgds
Shine

  • Hi Shine,

    You mean you want to communicate between the two SGMII interfaces within the same TMS320C6678 DSP, right?
    I don't think this is possible, see Section 2.4.3 Modes of  Operation in the Gigabit Ethernet Switch User Guide:
    There is a SGMII Loopback mode, but there is no sgmii-to-sgmii within the same DSP.

    Best Regards,
    Yordan

  • Hi Yordan,

    Thanks for your reply.

    Customer wanted to realize PHY->DSP1 SGMII1->DSP1 SGMII0->DSP0 SGMII0->DSP0 SGMII1->PC. It is similar like below post.
    https://e2e.ti.com/support/processors/f/791/t/232249

    T
    hanks.
    Rgds
    Shine

  • Shine,

    This is not the way typically a switch operate. By default, the Ethernet switch exchanges any packets among 3 ports (SGMII 0/1 and host). However, the SGMII 0 and SGMII 1 have different MAC address, the switch has ALE, once it received packets from either port, it will record the source address and later only sends the packets to the designated port.

    It would be easier for you to let host receives the packets from SGMII 0 and SGMII 1 (not using switch to forward between two SGMII ports), then host software implement such packets sending (received from SGMII 0 to SGMII 1, and vice versa).

    Regards, Eric