[Leapfrog: First Look]
Mini Ethernet Chip Contends In Low-End Networking Space
With SPI, an Ethernet controller easily interfaces to 8-bit microcontrollers.
Connectivity keeps moving down the food chain. TCP/IP stacks for 8- and 16-bit MCUs are readily available. Yet interfacing an Ethernet controller to one of these compact MCUs has been an exercise in creativity.
Most Ethernet controllers use a parallel interface, such as PCI. Now, thanks to Microchip's latest innovation, an MCU needs only four lines to interface to Ethernet. This was accomplished with a high-speed serial-peripheral-interface (SPI) protocol, which is supported by most 8- and 16-bit MCUs.
The 10BaseT ENC28J60 Ethernet controller comes in a variety of small, 28-pin packages. The four-wire SPI operates at speeds of up to 10 Mbits/s. Contained within the chip are the Ethernet physical-layer device (PHY) and media access controller (MAC), creating a single-chip solution. Thus, even 16-pin MCUs can have Ethernet connectivity, leaving 10 pins for other chores. Microchip has a free TCP/IP stack designed for its PIC18 8-bit MCUs.
The on-chip, 8-kbyte, dual-port SRAM buffers Ethernet packets, and it can be used for off-chip MCU memory. Then, an application can examine, modify, or create new messages using the Ethernet controller's memory. This is crucial for RAM-limited 8- and 16-bit MCUs with lots of flash.
The controller also handles many protocol stack chores. Its programmable filtering can automatically evaluate, accept, or reject Magic Packet, Unicast, Multicast, or broadcast packet types. This is particularly important for minimizing the flash-memory space in the host MCU.
ON-CHIP VERSUS OFF-CHIP The ENC28J60 has no competition in the 8-bit arena so far, but the 16-bit arena is another matter. A number of 16-bit MCUs with integrated Ethernet PHY and MAC is available.
Freescale's MC9S12NE64 combines a 16-bit HCS12 processor core with an Ethernet MAC and PHY (see EiED Online, "Building A One-Chip Web Server," ED Online 9115). It can use a parallel interface between the microprocessor and the Ethernet controller, because an on-chip interconnect won't affect the number of peripheral pins. On the other hand, the NE64 is a larger chip. Replete with built-in peripherals, it's most appropriate for new designs where its peripheral complement can be considered.
The other downside to a built-in solution is the choice of processors and peripherals. The 8- and 16-bit MCUs are option-prolific. Clearly, combining Ethernet with all of these options is impractical. Microchip's solution allows the addition of Ethernet to almost any design. SPIs are common because other off-chip peripherals employ the same interface.
Some designers say 10BaseT is no longer the standard. This is really a non-issue. Automatic speed negotiation is standard with Ethernet hubs and switches. It's required due to the plethora of devices with different capabilities, from 10BaseT to Gigabit Ethernet.
Another issue involves MCU performance. An 8-bit MCU will have a tough time just keeping up with the throughput of a 10BaseT connection. Luckily, a remote device like this typically will support a single connection to a remote monitoring application.
The ENC28J60 represents a major step forward in low-end networking. Now, CAN (controller-area network) isn't the only economical solution for 8- and 16-bit networking. The ENC28J60 costs $4.17.
the difference between hcs12 and pic18 is the register?
Anonymous -August 25, 2008
what is the difference between hcs12,pic18,8051?
Anonymous -August 25, 2008
what is the difference between hcs12,pic18,8051?
Anonymous -August 25, 2008
I am also doing some based on "ENC 28J60 interfaced with 8051 based microcontroller. Would you mind you some infornation for me. hccccc@yahoo.com.hk
MIchael Chung -February 25, 2006
plz any one send me document based on "ENC 28J60 interfaced with 8051 based microcontroller". i have a project on "8051 based embedded web server. thanks for help .( wajid_zaman@hotmail.com )
wajid -December 24, 2005
This chip is ideal for small instruments which needs connectivity to ethernet.
Ganesh Raja -October 26, 2005 (Article Rating: )
isn't it more useful to have a single chip ethernet controller which has a serial rs232 interface to the microprocessor
tony -September 29, 2005
i want 10/100 ethernet chip PDF file at Free of cast,if it is passible please send my e-mail address. thanking you sir
Anonymous -August 30, 2005
While I agree with your "non issue" comment "Some designers say 10BaseT is no longer the standard. This is really a non-issue. Automatic speed negotiation is standard with Ethernet hubs and switches." I disagree with your reasoning. The ENC28J60 supports just two modes, 10M half duplex and 10M full Duplex. The current IEEE802.3 standard does not support half / full duplex autonegotiation 10M Ethernet.
Andrew Smallridge -August 22, 2005 (Article Rating: )
clear and concise. I will look at the chip on the manufacturer's website
stephen Graff -July 26, 2005 (Article Rating: )
Your Comments:
Enter the text from the image below
Please refresh the page if you have trouble reading this text.
Search Electronic Design
Web Seminar
Sponsored By:
Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices