Skip to main content
Visitor II
Oct 17, 2024 9:50 AM UTC
Solved

W5100 ineterfacing with stm32

i want modbus TCP/IP communication in my stm32f429 Nucleo board, for that i brought one W5100 module and connected module via SPI 1 port of controller, i also added io- driver library in my project tree from WIZnet for communication with W5100 module ,  when i am trying to ping from my lap cmd is showing destination host unreachable, i added W5100.h, socket.h, wiznet config.h file and respective c files also added to my project tree , any sample code available to check whether W5100 is communicating with my system.

This topic has been closed for replies.
STeaBest answer
ST Employee
Nov 4, 2024 10:30 AM UTC

Hello @rvishnu19 ,

I would recommend you follow the tutorial in Adding ethernet connectivity to a STM32-Nucleo
you can also check this Github Repo Serasidis/Ethernet_STM: WIZnet W5500, W5200, W5100 ethernet library for 8-bit, 32-bit Arduino and STM32F1 (STM32F103) micro-controllers and this stm32-nucleof4/stm32-nucleof4-ethshield1 at master · cnoviello/stm32-nucleof4.
worth mentioning that you need "TO ADD A RESISTOR 4k7 BETWEEN RESET AND 3.3V (OR RESET AND 5V) PINS ON ETHERNET SHIELD."
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

2 replies

STeaBest answer
ST Employee
Nov 4, 2024 10:30 AM UTC

Hello @rvishnu19 ,

I would recommend you follow the tutorial in Adding ethernet connectivity to a STM32-Nucleo
you can also check this Github Repo Serasidis/Ethernet_STM: WIZnet W5500, W5200, W5100 ethernet library for 8-bit, 32-bit Arduino and STM32F1 (STM32F103) micro-controllers and this stm32-nucleof4/stm32-nucleof4-ethshield1 at master · cnoviello/stm32-nucleof4.
worth mentioning that you need "TO ADD A RESISTOR 4k7 BETWEEN RESET AND 3.3V (OR RESET AND 5V) PINS ON ETHERNET SHIELD."
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ST Employee
Dec 30, 2024 3:05 PM UTC

Hello @rvishnu19 ,

any updates on this thread?
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.