Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By haimgbs
#41094
Cicero wrote:I am serving very simple webpages via Ethernet cable and an ENC28J60 connected to the ESP8266. (C development, not Arduino)

Currently working on integrating my ENC28J60 stack (because it needs its own) and Sprites httpd project html cgi functionality, so as to seamlessly serve the same webpages over hardwire connection as wifi, whatever you chose. At this point the integration is the hardest part as I'm trying to mimic the esp SDK in some aspects, but if I get it right it will be rather nice.


i would like to check if someone manages to connect ESP8266 with ENC28J60
can you share any code ?
User avatar
By eriksl
#41178 If you want to connect an ENC28J60 to the ESP2866, you must:

- master the SPI interface of the ESP8266 (never tried, but should be doable)
- connect it
- either write your own IP implementation or somehow find out how to inject the raw ethernet frames into lwip, the ENC28J60 does not deliver IP, only raw ethernet

Oh, and you will need the pins of the secundary SPI interface exposed, so an ESP-01 won't suffice.

It can be done, but it's not for the light at heart.