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.

TDA4AL-Q1: How do I modify the latency of RGMI

Part Number: TDA4AL-Q1

Hi,

When we tried to ping pc through the domain controller, one thousand packets per second were sent and packet loss was found. Could you please tell us how to modify the receiving and sending delay of RGMI on the domain controller side to optimize this problem.

Test command:

ping 192.168.2.101 -c 1000 -i 0.001

  • The above description is wrong, what we need to modify should be the delay of RGMII.

  • Hi,

    On the SoC, you can only set the internal transmit delay inside the SoC for RGMII. And it is enabled by default. To disable it, you will need to change the phy-mode in the device tree. By default it is "rgmii-rxid", which means that the internal delay provide by phy is for rx only. If you use "rgmii-id" instead of it, it will expect the internal delay from phy.

    Then you can manage the delays from phy register space. The way to do that will be dependent upon the phy being used. Please contact the phy manufacturer for this.

    Regards,
    Tanmay

  • Hi,

    The Ethernet architecture of our current project does not use phy. It uses a mac to mac architecture.

    MDIO has been replaced by I2c, and the rest is shown in the figure.

  • Hi,

    What is the other side? Is it another device or is it ethernet switch?

    Anyways, the rx-delay for RGMII will have to be compulsorily set on the ln partner side. There is no configuration to set RGMII rx delay on the SoC.

    Regards,
    Tanmay