2021-06-21 05:24 AM
Hi Guys,
I'm trying to do basic communication via Ethernet on a Nucleo H723 board. I would just like to send and receive a few Layer 2 frames. I'm going through the reference manual and the ETH HAL files to learn how the ethernet peripheral works. What I fail to understand so far is, where do you set the destination MAC for the packet which is to be transmitted? The source MAC is set in the ETH_MACA0HR and ETH_MACA0LR registers, great. The destination MAC address should be set on per-frame level, but the Transmit Descriptors do not contain any destination MAC address fields.
Can anyone give me a hint, as to how/where do you set the destination MAC address when sending a frame?
Regards,
Marko
Solved! Go to Solution.
2021-06-29 07:35 AM
Hello @MarkoSeverin ,
Welcome to ST Community :)
I recommend you to take a look at the applications provided under the H7 Firmware Package ( Firmware\Projects\NUCLEO-H723ZG\Applications\LwIP ).
Otherwise, take a look at this reference. It might be helpful.
BeST Regards,
Walid
2021-06-29 07:35 AM
Hello @MarkoSeverin ,
Welcome to ST Community :)
I recommend you to take a look at the applications provided under the H7 Firmware Package ( Firmware\Projects\NUCLEO-H723ZG\Applications\LwIP ).
Otherwise, take a look at this reference. It might be helpful.
BeST Regards,
Walid
2021-06-29 02:41 PM
> The destination MAC address should be set on per-frame level, but the Transmit Descriptors do not contain any destination MAC address fields.
How about setting it right in the packet data? (and remember that you can assemble a packet from several buffers).