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.

MCU-PLUS-SDK-AM273X: DP83TC812 PHY DRIVER ERROR

Part Number: MCU-PLUS-SDK-AM273X

Tool/software:

I am using TIDA-0020-047 development board and have ported the enet_cpsw_udpserver example code from the SDK, as well as the dp83tc812 driver. However, my program is now reporting errors, specifically in the EnetPhy_getLocalCaps function. The Get 10/100 Mbps capabilities is NULL, because no matter how it is configured, the high 8 bits of the BMSR Register (Address = 1h) are always 0, which represent 100Base-X Full Duplex, 100Base-X Half Duplex, 10 Mbps Full Duplex, and 10 Mbps Half Duplex. How can I change these high 8 bits to non-zero values?

  • The value of the reg is here:

    -----------------------
    |RegAddr Status|
    -----------------------
    -----------------------
    |RegAddr Status|
    -----------------------
    |0x0000 0x2100|
    |0x0001 0x0065|
    |0x0002 0x2000|
    |0x0003 0xA271|
    |0x0010 0x0205|
    |0x0011 0x010B|
    |0x0012 0xE400|
    |0x0013 0x0000|
    |0x0015 0x0000|
    |0x0016 0x0100|
    |0x0018 0x1025|
    |0x0019 0x0C0A|
    |0x001B 0x0000|
    |0x001E 0x0000|
    |0x018B 0x1C0B|
    |0x045D 0x428C|
    |0x0600 0x0038|
    |0x0608 0x007B|
    |0x0648 0x0120|
    |0x1834 0x0251|

  • Hi Miles,

    We have assigned your thread to our expert. Due to the coming holiday, the reply may be delayed.

    Best regards,

    Ming

  • Hi Miles,

    The AM273x EVM uses the DP83867ERGZR, therefore the only ethernet phy the MCU+ SDK currently support is the DP8386x. 

    You said you have ported dp83tc812 driver to the MCU+ SDK. Please make sure the port is done properly.

    Best regards,

    Ming