Report
1 year, 8 months ago.

UIPEthernet works slowly

One month ago I read the value from the ADC STM32f401re and sent it over the UDP to the computer. For a second I got about 600 values. Recently, the UIPEthernet library has been updated, and the number of received values has dropped to 60. How can I fix this?

Comment on this question

1 Answer

1 year, 8 months ago.

Hello Aleksey,

Thank you for reporting the issue. I hope we'll fix the bug in common effort.

Could you please first check how the previous revision of UIPEthernet performs with your project?

  • In the online compiler, select the UIPEthernet library and then click on the Revisions button located in the right side of the screen (or press Ctrl+R).
  • Select the previous revision by clicking on the corresponding line
  • Click on the Switch button located on the toolbar and wait until the local version of UIPEthernet library is changed to the selected one
  • Edit your code: rename the UIPEthernet to UIPEthernetClass and the uIPEthernet to UIPEthernet.
  • Recompile your project and let me know how it performs

Hello, Zoltan. Followed your advice, did not help, the number of values remained the same (about 60), probably the problem is not in the library, although I did not change my code.

posted by Aleksey Pashnin 28 Jul 2017

Hello Aleksey,
Try to switch the mbed library back to earlier revision(s) too, until your code performs again.

posted by Zoltan Hudak 28 Jul 2017

Also did not help.

posted by Aleksey Pashnin 28 Jul 2017

How about the program running on your computer? Have you changed/configured it recently?

posted by Zoltan Hudak 28 Jul 2017

After the last successful launch nothing changed. It seems suspicious that almost exactly 10 times the speed fell

posted by Aleksey Pashnin 28 Jul 2017

To reduce network traffic, use a static IP address and try to connect the ENC28J60 board to your computer directly (avoid a switch) using a cross-over Ethernet cable.

posted by Zoltan Hudak 29 Jul 2017

To post an answer, please log in.