cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 problem with ETH on high UDP load

GoranDragovic
Visitor

Hello everyone. 

I'm developing Ethernet on NuceloF746ZG board. 

I'm listening to the UDP on port 1001,where there is datagram incoming every 2ms, but my callback function gets called 96 times, before it stops, and resumes for next 96 times, and so on.This is happening with lwIP and Mongoose.

I followed example code, which in the end worked the same. Changing any parameter from increasing Descriptors number, to RxBuffer didn't have impact.
I tracked that HAL_ETH_ReadData also gets called 98 times and hangs until it repeats itself. 

Bellow are attached layout and configurations.
I suspect something with ETH_DMA default setup or memory alignment but wasn't unable to track it so far. 

Any help will be welcomed.

1 REPLY 1
GoranDragovic
Visitor

Sidenote:

with Cache ON or OFF, same results, MPU across memory also.