Detection of Ethernet cable insertion and removal on iMXRt1064

cancel
Showing results for 
Search instead for 
Did you mean: 

Detection of Ethernet cable insertion and removal on iMXRt1064

138 Views
Contributor II

ARM Cortex M7 running FreeRTOS and the LWIP stack on top of FSL ethernet driver (fsl_enet.c)

Is it possible to detect the plug/unplug actions for an Ethernet device ?

Within LWIP, there are various callbacks that can be instrumented for link and interface up/down events, but it's not clear to me how they should be triggered based on Ethernet PHY activity.

Has anyone done this, or can point me to a primer for it ?

Labels (1)
2 Replies

15 Views
Senior Contributor I

15 Views
Contributor II

Great, thanks Carsten, very useful.

0 Kudos