TSE MAC behavior when ethernet cable unplugged during operation
Hello, I am experiencing problems resuming transmission after the Ethernet cable has been unplugged and then plugged back in.
I am working with the TSE MAC in 10/100/1000 mode with RGMII interface to an external PHY. Quartus Version 22.1.1 on a Cyclone V.
The system works as expected during power up and stopping/ starting traffic etc. However, if the cable is unplugged while transmitting data I am unable to resume transmission after the cable is replaced.
The PHY indicates that the link is back up.
I can see that the FPGA facing side of the MAC is showing that transmit_ready is high, but ff_tx_septy is low.
septy being low pauses the logic. But I would expect the MAC to resume transmitting the packets already in its buffer which would then clear the septy signal, but it does not and the mac will not resume transmission without a reset.
What is the expected behavior of the MAC when the PHY loses link mid transmission?
Should I be doing something different on the logic side if loss of link is detected?
Any other signal I should be looking at?
Thanks in advance!