STM32F1 ETH UDP TX loosing packets
- November 15, 2018
- 3 replies
- 1264 views
In my project i have a ethernet communication in between a PC and a STM32F107 uC device. When everything works fine the PC sends a request to the uC-Device and this one sends a echo back to the PC when everything from the request is done. Because of time critical applicatoin i use UDP protocol and send messages with the low_level_output(..) function.
But sometimes if a broadcast from any network-device comes between the pc message and the echo then the pc never gets the echo. I already found out that the uC gets the pc request and tries to send a echo back.
I already tried following things:
-Check if the uC device gets the message --> Message is there
-Check if the uC device sends the message with low_level_output() --> Seems fine
-Enable ETH_DMA_TX error interrupts --> Nothing
-Changed mode from half duplex to full duplex --> Nothing changed
Would be fine if anyone have a tip for me...
Attached: Wireshark recording