2023-10-13 07:49 AM
Hi,
Thanks in advance for your attention.
I'm wondering if any examples are available about transmit and receive raw ethernet frames.
The examples in STM32CubeH5 use the TCP/IP stack NetXDuo and transmit packets built on the upper layers of the stack and pass received packets to the upper layers.
How could I transmit/receive single raw ethernet frames to handle a custom layer 2 protocol?
Comparing with what is done by NetXDuo:
Thanks,
Best Regards.
Luca
Solved! Go to Solution.
2023-10-16 12:44 AM - edited 2023-10-16 12:45 AM
2023-10-15 04:42 PM
There are no official basic/raw ethernet examples for the H5 series (yet).
A short answer: it is possible to receive a single frame if the (single) buffer size is big enough. The same with send, if the whole frame is in a single buffer it will be sent at once. But there are reasons to split frames to several buffers.
To understand relation between descriptors and buffers better, unfortunately you have to read the RM :(
2023-10-15 11:29 PM
Hi Pavel A.,
Thanks for your response.
I'll go into more detail with the RM.
Are there any examples available for other series besides the H5? If so they could be a good starting point...
Thanks,
Best Regards.
Luca
2023-10-16 12:44 AM - edited 2023-10-16 12:45 AM
2023-12-01 09:00 AM
Hi Luca,
I am testing FreeRTOS+LwIP on STM32H563 Nucleo board.
And I ported FreeRTOS + LwIP for STM32H563 Nucleo board.
Refer to the my GitHub link.
https://github.com/jobaek/H563ZI_LwIP_wRTOS
Please find it.