Forum Discussion
Altera_Forum
Honored Contributor
15 years agoEthernet Link Status
Good day, I'm running the Altera simple socket server on the DE2-70 board. I would like to detect when the link is down on the Ethernet port. Is there a routine that can be called that returns its status?
Thanks JT1 Reply
- Altera_Forum
Honored Contributor
If you have tse mac, you can try alt_tse_phy_rd_mdio_reg() which is declared in altera_avalon_tse.h.
The register to read and the bit sowing link status will depend from your specific phy.