Page 1 of 1

TCP/IP Comms HELP

Posted: Tue May 21, 2019 12:09 am
by wayne millard
Hi Everybody,

Has anybody got a example of code for two micros sending data to each other over TCP/IP using ENC28J60. I have read the Embedded Internet Course Notes but nothing seems to match all the macros in the course to the componet so need some help on how to do this. :(

Thanks,
Wayne

Re: TCP/IP Comms HELP

Posted: Tue May 21, 2019 1:09 pm
by LeighM
Hi Wayne,
The WIZ810 and W5500 based components work very well. These were used with the Embedded Internet Course.
The ENC28J60 is a much lower device and needs a lot of code to drive it.
A component was started for this device, based on some Arduino library, but it needs more work to be usable in all situations.
I think it is probably OK for responding to connections, but not initiating them, that's as I recall.
Maybe a search of posts on the forum might give more clues as to how others have used the device and component.
So in the short term at least I would suggest that you use a W5500 device such as the ETH WIZ click if that is possible.