I recently got the FreeRTOS TCP stack running on my SAME70 based design. While the stack is working fine, it’s performance is not near where it should be.
I’m using the DriverSAM driver. Here are my configuration options from my FreeRTOSIPConfig.h that are relavent:
And what are you measuring? Are you running iPerf?
Or a TCP-connection with lots of data?
When tuning a TCP connection, I always recommend to use the socket option FREERTOS_SO_WIN_PROPERTIES, it lets you set both the size of the TCP sliding windows and the buffers. There is a short description.
What you can also do is make a capture while the TCP connection is running and attach it to you post ( or email it to me if attaching doesn’t work ).
You probably know that BufferAllocation_1.c is more efficient than BufferAllocation_2.c because it preallocates the memory at startup.