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.

Configure PHY using NDK interfaces

BACKGROUND:

Custom DM648 hardware with single PHY (similar to  Lyrtech eval board)

TI NDK 2.20

Currently, by default, the NDK configures the PHY to auto-negotiate the connection.  Since I know the operating conditions, I'd like to force the behavior.

I was hoping for something similar to the CfgAddEntry API.

QUESTION:

What is the best way to configure the PHY behavior from my application using the NDK?

Is there example code which demonstrates the best way to do this?

  • Hi Jeremy Sarao,

    There's no particular example of how to do this.  But, you should have the driver sources and so could have a look at those to see how it is being configured.

    Furthermore, have you seen the document "TMS320C6000 Network Developer's Kit (NDK) Support Package Ethernet Driver Design Guide"? (for example it's here on my machine: C:\Program Files\Texas Instruments\ndk_2_20_06_35\packages\ti\ndk\docs\stack\sprufp2_nspethdrvdesign.pdf)

    This will give you some details on the inner workings of the driver and should be of help to you.

    Steve

  • okay.  I've been looking in SPRU 523 and SPRU 524.  I'll keep going.