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.

TM4C129 Tiva C Series , Ethernet Rj45 cable link disconnection interrupt ?

Hi,

I want to get the Interrupt Status, whenever the Ethernet Physical Link is broken with the tiva.

One way is to poll (ROM_EMACPHYRead(EMAC0_BASE, 0, EPHY_BMSR) & EPHY_BMSR_LINKSTAT) and check for link connected status.

Is there any Interrupt source also , from which I can know that Physical line is disconnected ? Something like this:

if( EMACIntStatus(EMAC0_BASE, false) & EMAC_INT_PHY )
{
UARTprintf("\nPhysical Link is not active\n");

EMACIntClear( EMAC0_BASE,EMAC_INT_PHY);

------

-----

}

Thanks,

Sanchit Mehra