ENC28J60 ENC28J60 Stand-Alone Ethernet Controller with SPI Interface Ethernet Controller Features Operational Six Interrupt Sources and One Interrupt Output Pin IEEE 802.3 Compatible Ethernet Controller 25 MHz Clock Input Requirement Fully Compatible with 10/100/1000Base-T Networks Clock Out Pin with Programmable Prescaler Integrated MAC and 10Base-T PHY Operating Voltage of 3.1V to 3.6V (3.3V typical) Supports One 10Base-T Port with Automatic 5V Tolerant Inputs Polarity Detection and Correction Temperature Range: -40C to +85C Industrial, Supports Full and Half-Duplex modes 0C to +70C Commercial (SSOP only) Programmable Automatic Retransmit on Collision 28-Pin SPDIP, SSOP, SOIC, QFN Packages Programmable Padding and CRC Generation Programmable Automatic Rejection of Erroneous Package Types Packets 28-Pin SPDIP, SSOP, SOIC SPI Interface with Clock Speeds up to 20 MHz VDD 28 VCAP 1 Buffer VSS 27 2 LEDA 26 CLKOUT 3 LEDB 8-Kbyte Transmit/Receive Packet Dual Port SRAM 25 INT 4 VDDOSC (1) 5 24 OSC2 NC Configurable Transmit/Receive Buffer Size SO 6 23 OSC1 Hardware Managed Circular Receive FIFO SI 7 22 VSSOSC SCK 8 21 VSSPLL Byte-Wide Random and Sequential Access with CS 9 20 VDDPLL Auto-Increment RESET 10 19 VDDRX Internal DMA for Fast Data Movement VSSRX 18 VSSTX 11 TPIN- 17 12 TPOUT+ Hardware Assisted Checksum Calculation for 16 TPIN+ 13 TPOUT- Various Network Protocols 15 RBIAS 14 VDDTX Medium Access Controller (MAC) Features (2) 28-Pin QFN Supports Unicast, Multicast and Broadcast Packets Programmable Receive Packet Filtering and Wake-up Host on Logical AND or OR of the Following: 28 27 26 25 24 23 22 - Unicast destination address (1) VDDOSC 1 21 NC - Multicast address 20 OSC2 SO 2 OSC1 - Broadcast address SI 3 19 ENC28J60 4 18 VSSOSC SCK - Magic Packet 17 VSSPLL CS 5 - Group destination addresses as defined by 16 VDDPLL RESET 6 15 64-bit Hash Table VDDRX VSSRX 7 8910 11 12 13 14 - Programmable Pattern Matching of up to 64 bytes at user-defined offset Physical Layer (PHY) Features Loopback mode Two Programmable LED Outputs for LINK, TX, Note 1: Reserved pin always leave disconnected. RX, Collision and Full/Half-Duplex Status 2: The back pad on QFN devices should be connected to Vss. 2006-2012 Microchip Technology Inc DS39662E-page 1 TPIN- INT TPIN+ CLKOUT VSS RBIAS VCAP VDDTX VDD TPOUT- LEDA TPOUT+ VSSTX LEDBENC28J60 Table of Contents 1.0 Overview ...................................................................................................................................................................................... 3 2.0 External Connections ................................................................................................................................................................... 5 3.0 Memory Organization ................................................................................................................................................................. 11 4.0 Serial Peripheral Interface (SPI)................................................................................................................................................. 25 5.0 Ethernet Overview...................................................................................................................................................................... 31 6.0 Initialization................................................................................................................................................................................. 33 7.0 Transmitting and Receiving Packets .......................................................................................................................................... 39 8.0 Receive Filters............................................................................................................................................................................ 47 9.0 Duplex Mode Configuration and Negotiation.............................................................................................................................. 53 10.0 Flow Control ............................................................................................................................................................................... 55 11.0 Reset .......................................................................................................................................................................................... 59 12.0 Interrupts .................................................................................................................................................................................... 63 13.0 Direct Memory Access Controller............................................................................................................................................... 71 14.0 Power-Down............................................................................................................................................................................... 73 15.0 Built-in Self-Test Controller ........................................................................................................................................................ 75 16.0 Electrical Characteristics ............................................................................................................................................................ 79 17.0 Packaging Information................................................................................................................................................................ 83 Appendix A: Revision History............................................................................................................................................................... 93 The Microchip Web Site ....................................................................................................................................................................... 95 Customer Change Notification Service ................................................................................................................................................ 95 Customer Support................................................................................................................................................................................ 95 Reader Response ................................................................................................................................................................................ 96 Product Identification System............................................................................................................................................................... 99 TO OUR VALUED CUSTOMERS It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced. If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We welcome your feedback. Most Current Data Sheet To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at: