W5500+STM32+SD web server

Multi-threaded HTTP server with SD memory card
ORIGINAL POST
By GYUR22
details

20220524-1.jpg

MCU – STM32F100RBT

SPI1 – W5500(Connection)

SPI2 – SD Card

LEDs – blue PC8 : SD card data

green PC9 : successful initialization of SD card.

 

When accessing the default server address, it accesses the index.htm file. When working, all all 8 sockets of the W5500 are used, due to this, multithreading is ensured. Number of state variables by number of sockets. Under equal conditions approximately as the ENC28j60, the maximum that I saw is ~130-140kb/s (since this also depends on the speed of working with the card, so the comparison may be incorrect because the SPI of the W5500 is up to 80MHz, and here it is at 12MHz).

About the programming of the W5500 – compared to the ENC28j60 it is of course the earth and the sky, everything is simple and pleasant (although I have not yet dug deeply). The code size on the W5500 is about 2 times smaller than on the ENC28j60.
Heating – W5500 lower degrees by 10 degrees than ENC28j60.

 

20220524-1.jpg

MCU – STM32F100RBT

SPI1 – W5500(Connection)

SPI2 – SD Card

LEDs – blue PC8 : SD card data

green PC9 : successful initialization of SD card.

 

When accessing the default server address, it accesses the index.htm file. When working, all all 8 sockets of the W5500 are used, due to this, multithreading is ensured. Number of state variables by number of sockets. Under equal conditions approximately as the ENC28j60, the maximum that I saw is ~130-140kb/s (since this also depends on the speed of working with the card, so the comparison may be incorrect because the SPI of the W5500 is up to 80MHz, and here it is at 12MHz).

About the programming of the W5500 – compared to the ENC28j60 it is of course the earth and the sky, everything is simple and pleasant (although I have not yet dug deeply). The code size on the W5500 is about 2 times smaller than on the ENC28j60.
Heating – W5500 lower degrees by 10 degrees than ENC28j60.

 

COMMENTS

Please Login to comment
  Subscribe  
Notify of