Skip to main content
Graduate
February 2, 2024
Question

STM32 MODBUS TCP With W5500

  • February 2, 2024
  • 1 reply
  • 2181 views

Hello all. I have another problem related with Modbus TCP communication. I use STM32VG board and W5500 ethernet IC. My problem is about after i establish connection, communication is broken one time in five seconds, another time in one minute. So, connection problem is not periodic or instant. I can share my codes below. First one is initialization of TCP, second one is sending data and last one is receiving data part. I don't know why connection was broken with arbitrary timing.

 

TCP_INIT.png

 

 

TCP VERİ ALMA.png

 

 

TCP_VERİ GONDERME.png

 

    This topic has been closed for replies.

    1 reply

    Explorer II
    August 21, 2024

    If your board link STM32 to PC, you may have more than one running network software linked to STM32.