Skip to content

Fast Implementation of W5500 Ethernet Communication Module of STM32

Fast Implementation of W5500 Ethernet Communication Module of STM32

mark

Published December 20, 2023

Original author: Yang Hongbo;Zhu Lei;Zhang Bo;Lu Lu · ChinaOriginal source (new tab)

Fast Implementation of W5500 Ethernet Communication Module of STM32

Project description

W5500 Ethernet communication overall solution design

  STM32F407 + W5500 with LabVIEW Client mode

Fast Implementation of W5500 Ethernet Communication Module of STM32

HW part:  STM32F407 + W5500 connected by SPI interface

Fast Implementation of W5500 Ethernet Communication Module of STM32
Fast Implementation of W5500 Ethernet Communication Module of STM32

SW part:

- STM32F407 + W5500

>  STM32F407 Initial configuration

>  Rewrite W5500’s WIZCHIP_READ(), WIZCHIP_WRITE(),

     WIZCHIP_READ_BUF(), WIZCHIP_WRITE_BUF()

> W5500 Ethernet communication main program flow chart of STM32CubeMX

Fast Implementation of W5500 Ethernet Communication Module of STM32

LabVIEW Client:

Fast Implementation of W5500 Ethernet Communication Module of STM32
Fast Implementation of W5500 Ethernet Communication Module of STM32

Result:

-  Communication rate results before and after modifying the officially provided W5500 library function

Fast Implementation of W5500 Ethernet Communication Module of STM32
Fast Implementation of W5500 Ethernet Communication Module of STM32
Fast Implementation of W5500 Ethernet Communication Module of STM32

Conclusion:


The microcontroller STM32F4 provided in this article extends the W5500 Ethernet communication rate test system, using the STM32CubeMX tool developed by ST to configure the relevant initialization of the STM32F4 chip, combined with the W550 0Officially provided library functions reduce development time and perform single-receiver and single-send data transmission, with an average The transmission rate can be stabilized at 220KB/s. Further improvements to the W5500 library function have increased the communication rate to a certain extent. The final average transmission rate can be stabilized at 414KB/s, providing users with practical reference applications.

Comments

Similar projects you might like

Comments