This paper solves the problem of communication for two-way data exchange between a microcontroller, STM32F103 and a personal computer. Such an exchange is necessary for programming the microcontroller and for transmitting data in both directions. The choice of a data exchange medium determines the exchange rate and the performance of the microcontroller in solving various problems. It is extremely important to make this connection a fairly simple and cheap way, but at the same time ensure sufficient speed. The problem is solved on the basis of the Ethernet channel, which allows for a sufficiently high data transfer rate. The paper offers an effective solution for organizing such a communication channel using the Wiznet W5500 network controller. Based on lengthy and thorough experiments, a method for connecting this controller to the STM32F103C8T6 microcontroller was found and proposed. The most important features of the organization of such communication are described, the algorithms of operation of all devices are given. The paper also offers a way to connect the Wiznet W5500 network controller to the STM32F103C8T6 microcontroller. The data transfer rates achieved using the TCP and UDP network protocols are also shown. The total TCP data rate (UDP) is tens of times greater than the UART speed. It can also be noted that using the W5500 is simpler, for example, compared to USB.
Microcontroller Personal computer Data exchange Automation Control STM32F103 STM32F103C8T6 Ethernet TCP/IP Wiznet W5500 TCP UDP Python