Slow ethernet speed in STM32H7xx
Hi All,
We are using the STM32H7 mcu interfaced with ethernet switch LAN9353.
In our firmware application we are using the LwIP network stack and FreeRTOS. And using TCP server-client functionality for communication.
We are able to establish the communication between mcu and external devices via the ethernet switch. The overall communication is ok.
We are reading the PHY registers and according to the speed and duplex mode, we are setting it in the STM32H7 mcu's MAC peripheral. Generally the speed read from the control registers of PHY is 100Mbps full duplex but during the transmission/reception of the packet with the external devices the speed is getting reduced to in range of 8Kbps to 46Kbps.
We have checked the speed by using Wireshark tool and "Task manager->Performance->Ethernet".
Can someone guide us in the above. Is there any way to increase the packet transmission/reception in mcu side or ethernet switch side?
Thanks in advance.
Pratik
