AnsweredAssumed Answered

MX RT1064 TCPIP Auto Negotiation timeouts

Question asked by Damien McKeever on Aug 2, 2019
Latest reply on Aug 8, 2019 by Kerry Zhou

This is an extract from the lwip fsl_phy.c for the rt1064:

 

if (((bssReg & PHY_BSTATUS_AUTONEGCOMP_MASK) != 0) && (ctlReg & PHY_LINK_READY_MASK))
                        {
                            /* Wait a moment for Phy status stable. */
                            for (timeDelay = 0; timeDelay < PHY_TIMEOUT_COUNT; timeDelay ++)
                            {
                                __ASM("nop");
                            }
                            break;
                        }

 

The "wait a moment" time delay loop for Phys status stable seems rather long, given that PHY_TIMEOUT_COUNT is set to 0x3FFFFFFU

 

Any suggestions for a more reasonable loop limit?

Outcomes