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 100mbps speed issue

Other Parts Discussed in Thread: TMS320C6748, OMAP-L138

Hello,

I need some assistance for the speed issue i am facing in the project.

I have implemented the ethernet communication and it works properly with 10MBPS half duplex.

If i auto negotiate than i can see that link has ability upto 100Mbps FD. However, each time after auto negotiation, i could get or send any data although i have link is up! Not even ICMP.

Any thoughts?

DSP: TMS320C6748 custom board

PHY: LAN8710A

  • Hi,

    In order to validate the 100MBPS link speed, may be you could test with TI provided examples first as below:

    There is a TI provided examples for LCDKC6748 board in the StarterWare package. You can find the “lwip” sample code from StarterWare, as mentioned in below path:

    C6748_StarterWare_1_20_03_03\build\c674x\cgt_ccs\c6748\lcdkC6748\enet_lwip

    C6748_StarterWare_1_20_03_03\examples\lcdkC6748\enet_lwip

    From that you can customize your own implementation for your custom board.

    If you are using BIOS, the NDK (links below) may be a better option to try or use as a reference:

    http://processors.wiki.ti.com/index.php/GSG_C6748:_Installing_the_SDK_Software

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/omap_l138/1_00/latest/index_FDS.html

    If you are not using BIOS then you can use the Logic PD BSL(look for OMAP-L138 experimental board) test for EMAC as a reference?  That test is only intended to check for board functionality -- it is not a driver. You may have to register with LogidPD to access the BSL.

    http://www.logicpd.com/products/development-kits/zoom-omap-l138-experimenter-kit

    That test code is only designed to verify the EMAC->PHY loopback datapath.  It does not enable, use, or acknowledge interrupts.  The test uses register polling to determine if a single packet has been transmitted and received through PHY loopback:  evmc6748_v1\tests\experimenter\emac_loopback_mii

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

  • For the knowledge, i am using example project of enet_echo and manipulated for the udp communication.

    However problem is in the speed that it never wants to work except 10mbps-half duplex.

    and i have already tried the rmii loopback mode as i have rmii interfacing and it works fine even after autonegotiation at 100baseT.

    Any suggestions?
  • In beginning, i have set the registers for the RMII setup and now i call the api for the auto negotiation. After autonegotiation, i have link and i can see the light lit up for the 100mbps also.
    However in the debug it shows that rx_goodframes, tx_good frames always zero and the tx/rx_int_raw is not asserted also.

    Any clues?