Skip to main content
Visitor II
October 17, 2024
Solved

W5100 ineterfacing with stm32

  • October 17, 2024
  • 2 replies
  • 2148 views

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.
    Best answer by STea

    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

    2 replies

    STeaAnswer
    ST Employee
    November 4, 2024

    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

    ST Employee
    December 30, 2024

    Hello @rvishnu19 ,

    any updates on this thread?
    Regards