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.

RTOS/TMS320C6657: PDK c665x 2.05: PHY Link detection problem

Part Number: TMS320C6657

Tool/software: TI-RTOS

I have found the bug of PHY Link detection in latest SDK.

On my TMDSEVM6657LS I see periodic phy link up/down effect. Investigation has shown that phy link status checking is incorrect (EMAC driver)..

pdk_c665x_2_0_5\packages\ti\drv\emac\src\v0\mdio.c

line: 421 function: MDIO_timerTick

now:

        if( ltmp1 || !(MDIO_REGS->LINK)&(1<<pd->phyAddr) )

should be (it's seems):

        if( ltmp1 && !(MDIO_REGS->LINK)&(1<<pd->phyAddr) )