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.

Ethernet port not working for VAYU EVM XC5777x

Hi 

I have two VAYU EVM xc5777x Rev G board. For one board when I am trying to configure and running the codes vayu_init.c and etc then I am getting proper results and a speed of 100 mbps. But for another board I am getting 1000mbps and this board's ethernet port is not getting connected to my network. I want to run my second board also at 100 mbps. What I have to do?

Thanks

Arun

  • Arun,

    The focus of the Ethernet Forum is the DP83xxx and TLK1xx Ethernet PHY and MAC+PHY products. I have moved your post to the TI-RTOS Forum so that you can get help with your questions.

    Patrick
  • Hello Arun,

    Are you using TI NDK + NSP in your application? If yes the Vayu NSP doesnt support enabling both ports simultaneously (duel mac mode). It uses one of them depending on which one is connected and if both are, uses port 0 by default.

    The TI linux SDK supports dual MAC mode if you must use both ports and OK using Linux in your application.

    Regards,

    Prasad 

  • Just chiming in here with a few thoughts ...

    Arunabha Deb said:
    I have two VAYU EVM xc5777x Rev G board. For one board when I am trying to configure and running the codes vayu_init.c and etc then I am getting proper results and a speed of 100 mbps. But for another board I am getting 1000mbps and this board's ethernet port is not getting connected to my network. I want to run my second board also at 100 mbps. What I have to do?

    Sounds like both EVM boards are identical.  Have you checked/compared the jumpers and/or switches on the boards?  Are there any different switch or jumper settings on the board that doesn't work, compared to the board that does work?  If there are any differences, you should change your non-working board's switches/jumpers to match those of the working board.


    And what about the application?  Are you running the same identical application on both boards?  And in one case, the link is 100Mbps, and the other case, it's 1000Mbps?  Usually there is some register configuration that's done in the driver to set the link speed.  But, if the application is the same in both cases, this may not be the problem.


    Lastly, is your network set up the same in both cases?  Or, is it possible that for the working case (100Mbps), you are plugged into a router/switch with a maximum link speed of 100Mbps, and in the non-working case, you're plugged into a 1Gbps switch/router?  If so, then this could explain why you are seeing a 1Gbps link with the same app (it connects at the highest link speed available).

    Steve

  • hi

    Yea I am running the same application only,but for one board the ethernet link speed is 100 mbps and for another one 1000 mbps,The setting of the jumpers and switches as per I can see is same for both the boards. But I dont have much information for setting up of jumpers for the board such that it will have a 100mbps speed instead of 1000 mbps. I feel like there is some configuration of switch or jumper that i should be doing,But I dont know which one to configure. I am okay to run my boards at 100 mbps.

    Thanks

    Arun

  • Arun,

    Sorry for misunderstanding question earlier.

    About same boards with same setup getting different speeds:
    We have seen this issue multiple times and we had root caused it related to EVM. On few of them 1G works and some of them it does not.
    But EVM team will put sticker of 100Mbps on the ports which has issues for 1G. Do you see sticker like that on RJ45 connector?

    Also just wanted to know how did you procure the Vayu EVMs? did you get it from TI?

    Regards,
    Prasad
  • Hi All,

    I think I could not make myself clear so here I am trying to explain again my problem.

    I have two Vayu EVM xc5777x. I am working with sys/bios and NDK-2.23.02.03 and NSP. I have running one application code,which is displaying that 100 mbps has been negotiated for link speed. For this particular board,I am able to communicate between my PC and the board. For my second board,after running the same application code,I am getting the message that,negotiated speed is 1000 mbps. For this particular board I am not able to communicate between my pc and this board via ethernet.

    I would like to know why for two similar board I am getting two different link speed after running the same application code?

    I would also like to know is there any way that I can stop that auto negotiation of link speed such that I can set the link speed in my application so that all the boards 

    communicate with my pc with 100 mbps.

    P.S: No where on my board,it has been written that the board is made for 100 mbps only.

    My network cable is fine. I have closely followed the examples given in NDK for writing my application

  • Hello Arun,

    Thanks for detailed description.
    As said earlier there are multiple known issues with Vayu Ethernet because of which on some boards we are restricted to 100Mbps.
    1. (Errata i880 )Ethernet RGMII2 Limited to 10/100 Mbps
    This is due to internal timing issues. Only applies to port2
    2. Ethernet Ports not supporting 1000Mbps
    Due to issues with the Phy “wire” side connection, on some EVM the 1000Mbps is not supported. The EVM vendor will mark these EVMs with tags.
    3. Vayu PHY RGMII timing issues
    This is due to half cycle delays added by Vayu and PHY. Workaround is available and part of NSP examples. Fixed in latest releases.

    Now i wouldn't know due to which of above issue your one board showing 100 and other 1000 because it depends on which software you are using and what modifications you made.
    But if you are sure that EVM supports 1000Mbps then with NSP(4_13) examples you should not see any issue on port1(RGMII0)

    Regards,
    Prasad
  • Hello Arun,

    Hope your query is answered. Let me know if you have any issues. 

    Regards,

    Prasad