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.

Changing the EMAC RGMII interface in NDK2.0 to EMAC GMII interface(TMS320C6454)

Hi all,

currently am using the NDK 2.0 for application to build the Ethernet giga bit interface.

but in NDK  i have seen that it configured for RGMII interface(in an example for EVM6455).

How to change the NDK 2.0 in such way that it can be used for GMII interface

Please tell me which all the files need to be changed for GMII Ethernet interface from EMAC in NDK 2.0.(Am using Vittesse VSC8211 giga bit PHY for My application)

regards,

Pradeep.P

  • Pradeep,

    I have moved your post to the C64x Single Core DSP Forum.  I believe this is the best forum for getting the guidance and support you need for your request.

    Patrick

  • Pradeep,

    The NDK core package consists of the platform independent libraries, source files, and drivers.
    From this release onwards,the core NDK package itself has the platform specific files (NSP) for all supported devices.
    The platform specific portion of the stack is also delivered as a separate package too per platform basis.

    All supported NSPs are by default installed with NDK package installation from release NDK v2.0 onwards.
    If NSP already installed, this step can be skipped.
    Copy the "ti.ndk.platforms.dsk6455_2_00_00.tar" under NDK_INSTALL_DIR\packages directory, and untar it.
    A new folder dsk6455 can be seen now.
    Copy over the directory and contents of NDK_INSTALL_DIR\packages\dsk6455\ti to NDK_INSTALL_DIR\packages directory.

    Please kindly look the provided files as per the below path
    ndk_2_0_0\packages\ti\ndk\src\hal\dsk6455\eth_c6455
    Refer the csl_mdio.c and ethdriver.c files for PHY mode selection.
    The MDIO_open function gives the PHY mode selection in csl_mdio.c
    Uint32  macsel;             /* PHY mode selection */

  • Pradeep,

    Did you able to identify the code from ndk stack?

    Is there any update from your side and Please let us know, if your problem got fixed.

  • Hi,

    I am facing an issue with link establishment:

    At time when connected to Gigabit Ethernet, the link will still be 100Mbps but there seems to be no communication happening. No packets are received or transmitted. As you suggested we have made the required changes.

    Pradeep

  • Pradeep,

    Please kindly verify the mode as per the below register,
    see the value of MACSEL[1:0] bits through device status register(DEVSTAT)
    And also make sure the link status through MDIO Registers
    1. MDIO PHY Alive Status Register
    2. MDIO PHY Link Status Register