Ensure that your wiring between ESP32 dev board and the ENC28J60 module is realized by short wires with the same length and no wire crossings. CS Hold Time needs to be configured to be at least 210 ns ...
(See the README.md file in the upper level 'examples' directory for more information about examples.) ENC28J60 is a standalone Ethernet controller with a standard SPI interface. This example ...