STM32 Ethernet – UDP Client
Recently, I had the opportunity to work on a project using an STM32 microcontroller and an Ethernet interface. Like others who have tackled this topic, I encountered a problem – the lack of “simple” guides. In most of the available sources, connecting the Ethernet interface and STM32 chips is described in a rather confusing way, and in my opinion, there is a lack of instructions describing how to configure this functionality in the simplest possible way, without unnecessary exploration of network aspects. That is why I decided to prepare this and related materials on the subject of Ethernet on STM32. In this article, I will show you the basic functionality of a UDP client. That is, code whose operation is, in a sense, the opposite of a UDP server. In the previous tutorial, the STM32 acted as a server to which the computer connected, this time we will create a server on the computer to which the microcontroller will connect.


