nalle / hall-effect-sensor

A Hall Effect measurement system for measuring power/amperage for graphing
GNU General Public License v3.0
0 stars 1 forks source link

ENC28J60 module hangs after about 2000 seconds #7

Open nalle opened 7 years ago

nalle commented 7 years ago

The ENC28J60 module or code has a bug where it hangs after about 2000 seconds. A commit was done to try and address this as recommended by the microchip errata but it seems this did not help.

One suggestion would be to reset the ENC28J60 module every 1200 seconds or so to avoid triggering the bug. But it is a hack.

nalle commented 7 years ago

Seems to be somewhat better after memory optimizations and introducing the reinitation of the ENC28J60 module every 30000ms, I think we might need to do extensive testing to see that we are not losing polls due to the reinit.

nalle commented 7 years ago

Still having issues with requests being dropped every now and then and that they sometimes return more data than intended.

My guess is that this happens due to the ENC28J60 module is running on 5v instead of 3.3v