Ethernet communication - mx_lwip_process() how often
Hi everyone,
I am using STM32f429, and I am using Ethernet communication.
Inside the while(1) has the mx_lwip_process() function and I am using the function every while, and I found this function takes a lot of time, so I would like to know how often I need to use this function?
for example:
int LoopDivisor=0;
while (TRUE){
// The rest of my code
if (LoopDivisor%100==0){
MX_LWIP_Process();
LoopDivisor=0;
}
LoopDivisor++;
}
In this situation I still have ping.
Thanks for the helpers!!
