From 3a98496e87b425c003baf2a53ade86fe5073d36f Mon Sep 17 00:00:00 2001 From: Ondrej Kosta Date: Fri, 25 Nov 2022 15:18:24 +0100 Subject: [PATCH] Ethernet examples: added warning that ENC28J60 is not recommended for new designs using ESP32 series of chips --- examples/ethernet/enc28j60/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/ethernet/enc28j60/README.md b/examples/ethernet/enc28j60/README.md index 5d57b0156b..751db55bfd 100644 --- a/examples/ethernet/enc28j60/README.md +++ b/examples/ethernet/enc28j60/README.md @@ -4,6 +4,19 @@ # ENC28J60 Example (See the README.md file in the upper level 'examples' directory for more information about examples.) +--- + +## !!! Warning !!! + +Espressif doesn't recommend using ENC28J60 Ethernet controller in new designs based on ESP32 series of chips. This is due to the following facts: +* ENC28J60 has low performance in half-duplex mode and various errata exist to the half-duplex mode. +* ENC28J60 does not support automatic duplex negotiation when configured to full-duplex mode. +* ENC28J60 has high current consumption - up to 180mA in comparison to e.g. 79mA of `W5500` or 75mA of `KSZ8851SNL` @ 10Mbps Tx. + +Therefore, we rather recommend using `W5500`, `KSZ8851SNL` or `DM9051`, which are also supported in ESP-IDF. + +--- + ## Overview ENC28J60 is a standalone Ethernet controller with a standard SPI interface. This example demonstrates how to drive this controller as an SPI device and then attach to TCP/IP stack.