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.

EVMK2E.gel _setupPHY() config

Guru 10570 points

Hello,

I got EVMK2E.gel file from eInfochips web site.
https://www.einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html#5-resources

Can I have a question about following code if you have?

_setupPhy() configures PHY #16 and #17 registers several times.
What does it do?

Best regards, RY

  • Sorry, I found it's workaround for 88e151X errata.

    Best regards, RY

  • RY,

    Glad to hear that you have found the reason. In addition that, the EVM having an Ethernet PHY (PHY1 and PHY2) is connected to SoC EMAC0 & 1 to provide a copper interface and routed to a Gigabit RJ-45 connector (LAN1). 
    To find more clarity for PHY, see the registers for each module and submodule are described in the chapter-3 at the Gigabit Ethernet (GbE) Switch Subsystem User Guide.