I am testing the ethernet throughput of NxP LPC54018 MCU on OM40003 development board and observing poor throughput.
Environment details:
Tool: MCUXpresso v 11.0.0 build Id 2516
Project details:
Selected MCU LPC54018
Target board not selected
Selected Device package: LPC54018JET180
Operating System: Amazon-FreeRTOS (10.2.0)
Drivers: lpc_enet (2.1.3) in addition to other auto select drivers.
CMSIS Drivers: None
Utilities: None
Middleware: LwIP TCPIP Networking Stack (2.1.2)
Board Components: phylan8720a(1.0.0)
Abstraction Layer: None
Software ComponentsL None
Library Type(and hosting variant): Redlib(none)
With the above settings of the project and referring SDK example project "lpcxpresso54018_lwip_ping_freertos" I created application which sends ICMP ping echo to a target IP address using lwip_sendto( ) API in while loop.
The time taken for lwip_sendto() to execute and come out for next call in loop is more than 20 milliseconds as can be seen from wireshark logs in the screenshot and also when I measured using timer.
Any suggestions on what settings are required for achieving best througput?
With Regards
Mayoor
Hi, Mayoor,
As you know that the Ethernet is bus architecture, all nodes have the same priority, each node uses Carrier-sense multiple access with collision detection method to access Ethernet, I do not think there is method to increase the througput via software configuration.
Hope it can help you
BR
XiangJun Rong