AnsweredAssumed Answered

STM32 Ethernet MAC w/wo lwIP how to use ?

Question asked by horbach.markus on Aug 23, 2017
Latest reply on Aug 29, 2017 by horbach.markus

Hello everyone,


I try to start with the Ethernet Features of the STM32F746G-Disco / STM32F746ZGT-Nucleo-144 and I have Problems getting started and use it correctly. I found UM1713, AN3966 and of course the HAL Drivers Manual UM1725. For raw Ethernet packages, i am missing informatinos/functions how to prepare my data to use HAL_ETH_TransmitFrame (&heth, (uint32_t)1500); or the receive Counterpart.

With lwIP enabled in CubeMX, I noticed that the initialisation of the Ethernet Hardware is not structured  the same as in raw Ethernet use. I want to use UDP / TCP data Exchange between 2 STM32 Boards first, but I was not able to find some examples how to start after creating the CubeMX Project. In the STM32Cube_FW_F7_V1.7.0 repositorys are only examples for Server applications on the STM32. Can somebody give me a hint or example?


Best regards,