Detection of Ethernet cable insertion and removal on iMXRt1064

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Detection of Ethernet cable insertion and removal on iMXRt1064

1,957 Views
simon_walke
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

1,834 Views
carstengroen
Senior Contributor II

1,834 Views
simon_walke
Contributor II

Great, thanks Carsten, very useful.

0 Kudos
Reply