I am working on a project where my uController will serve a UDP request to send data at around 100kbits per second which is very slow speed.
I have implemented the FreeRTOS+TCP stack using a reference design in TI ARM Cortex M4 i.e. TM4C129EXL uController running at 120MHz.
Functionality wise the firmware is working fine. However the speed is very slow. If I try to pull data of 48bits at more than 10Hz, the controller will miss some of the requests.
The 48bits data is 16bits adc value of three sensors. The time it takes to read all three sensors is negligible i.e. less than 5usec.
I have the following settings;
#define configTICK_RATE_HZ 1000
#define ipconfigIP_TASK_PRIORITY 4
#define ipconfigNIC_TASK_PRIORITY 4
#define UDP_Com_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
#define mainECHO_SERVER_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
I am not very familiar with FreeRTOS and seeking your help.
I thank you in advance for your cooperation.