Slow update speed on ethernet communication from Wiznet W5500 to Computer VB.Net App
avionikeren
Posts: 64
I`m using Jinbuhm Kim`s W5500 object and I have managed to establish communication between a propeller and a VisualBasic.Net application.
The problem is the slow update frequency on the messages between the two. I get about one message each second.
The VB application has been used with Wiznet W5100 before and no change has been done to that.
The VB application outputs about 15 messages each second and only one is received by the propeller.
If anyone has any experience with W5500 and this object I would be thankful for all the hints I can get.
Attached is a stripped down main spin code.
Program.spin
The problem is the slow update frequency on the messages between the two. I get about one message each second.
The VB application has been used with Wiznet W5100 before and no change has been done to that.
The VB application outputs about 15 messages each second and only one is received by the propeller.
If anyone has any experience with W5500 and this object I would be thankful for all the hints I can get.
Attached is a stripped down main spin code.
Program.spin
spin
2K
Comments
I recently updated my W5100/W5200 PASM SPI driver to work with the W5500 protocol. If you can wait a bit I plan to publish the source on the Spinneret forum.
Did the W5100 handle the 15 requests a second? What kind of requests? HTTP, A packet...
About 100 bytes in the message from the computer to the propeller and about 1200 bytes in the response.
I`m in a hurry since I have to deliver a project to a customer on Monday so I think I will go with my version with the W5100 for now.
The reason I want to use a new board with the 5500 is that my 5100 board has not a connection for the reset pin.
Sometimes when I recycle power to my board the 5100 fail to start (not able to ping it) and I think the lack of hardware reset might be the cause, do you guys have any idea if that is correct?
What does the software reset do? Should a software reset be sufficient?
Image of the system I`m working on.
After the system has been running for 4-5hours, the W5100 stops responding to pings, but I see on the Rx LED that it still receives broadcast messages or something like that.
I tried to unplug it from the switch and reconnect, that did not help.
Then I recycled power to the board and it was up and running again.
Any ideas what it could be?
Attached is a simple UDP server using a custom SPI driver for the w5500. You 'll need to update the PIN I/O, IPs, and Ports.
My board with the W5500 now runs perfect with 15 messages like the 5100 did each second.
I will let it run over night and let you know how it goes.
My software does a ping check once a second and I constantly log high ping rates and lost packages to a text file.
I am very exited now thanks to you!
My last question: should i use the hardware or software reset at each startup or is that not needed on the w5500?