cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 MODBUS TCP With W5500

tensaisakuragi06
Associate III

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

 

1 REPLY 1
RAZORTAIL
Associate

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