ENC28j60 or CS8900A

Hi,

I have a microcontroller (ATMega128) and I want to connect it t internet. At first I need a ethernet controller(MAC & PHY ethernet). I have known some ICs: ENC28j60, CS8900 (3v), RTL8019A...

I think CS8900A and ENC28j60 are better for my project. but I don't kno which of them is better ?

Is there anybody who has experience with them?

As I am in hurry, I will be so thankful if you reply me as soon a possible.

-thanks.

Reply to
rf_xport
Loading thread data ...

rf_xport =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0:

I'm always puzzled when someone ask "which is better" without to define what "better" means,as "better" is very subjective category. For instance my wife thhnks that soda is better than beer but I don't think so ;) Same is here - it may be better for your application to use ENC28J60 which could be interfaced with fewer microcontroller ports than CS8900A, but in other hand it may be better in your application to use CS8900A which needs only 80mA instead ENC28J60 which take 200 mA, so you tell me which better is better in your application? Both Ethernet controllers will do the job fine. If I would use ENC28J60 would never use ATmega128 though as Microchip already wrote briliant TCP-IP royality free stack which supports ENC28J60 and allow it to be interfaced to any PIC with some amount of memory. The stack is written in very modullar approach and different services can be easily add/removed so you can configure it as HTTP, FTP, etc server and write e-mails, store dynamic web info in external serial flash memory or have all PIC resources managable though web service i=2Ee. Microchip has done significant part of your software job and it cost you nothing! I don't know something similar to exist for AVRs - there are some open source projects like the Ethernut but it requires much more hardware resources and it's not so flexible as Microchip stack. To setup web enabled application with Microchip stack is peace of cake.

We made two projects with ENC28J60 and both worked well from the first time:

formatting link
and
formatting link
so if you want to add quick and dirty ethernet connectivity to your project ENC28J60 + some cheap PIC like PIC18F25J10 ($1.50 for 100+) is the easy route.

Best regards Tsvetan

--
PCB prototypes for $26 at http://run.to/pcb (http://www.olimex.com/pcb)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430
(http://www.olimex.com/dev)
Reply to
tusunov

Thanks for your answer.

ENC28j60 is more suitable for me than CS8900, because it has SPI.

I shall use ATMega128(unfortunately, I can't use your recommended micr controller). I have bought AVR embedded Internet Toolkit. It has modular TCP/IP stac for AVR family. This TCP/IP stack has low level interface drivers fo CS8900 ethernet controller. But I want to use ENC28j60.

Is it possible to delete this file and replaced it with interface drive for ENC28j60 ?

AS I am in hurry to make my decision, I wil be so thankful to reply me a soon as possible.

-thanks

Reply to
rf_xport

If your boss sees these messages, he might just hire the guy that answers your question, because at that point, he doesnt need you. Usually when time is a factor, the price goes up. Certainly there are many AVR consultants that can make a CS8900 do any internet protocol you have on the wire. Just give him a spec.

Reply to
BobG

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.