![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello Sir, I want to interface Ethernet controller with microcontroller. I see some Ethernet controller in which SPI interface there. I have doubt, Is there different microcontroller have different Ethernet controller. Currently I have 89s52 microcontroller. Can you suggest me which Ethernet controller is useful for me ?.. Thanking you... With Regards, Ankur | |
| |
| | (permalink) |
| The Microchip ENC28J60 has an SPI port. But if you want to get into Ethernet drop the old 89S52. | |
| |
| | (permalink) |
| Hi blueroomelectronics, Thanks for reply & suggestion.I see the ENC28J60 & also ethernet controller in which this ic used.But i want to know how i interface this ethernet controller & microcontroller 89s52. Can you give me any useful link for that which i understand practically. Thank you for help me... | |
| |
| | (permalink) |
| No links for the 89S52, it'll be extremely difficult with that controller. Get a PIC18F4620 and it's not that difficult. You'll need to be able read C18. http://www.ljcv.net/home.html | |
| |
| | (permalink) |
| Hi blueroomelectronics, Thanks for reply.Actually currently i have microcontroller 89s52 and also i face problem is unavailibility of PIC18F in my town. Can i interface SPI of ENC28J60 with 89s52 ?.. Thank you for help me... | |
| |
| | (permalink) | |
| Quote:
For an antique like the 89s52 try to connect it to an old ISA network card. Lots of I/O need though. As for hooking up just follow the examples on the site I posted earlier, just change the 18F4620 to the pins on your 89s52. I take it you're an excellent programmer because this is not a trivial task writing an Ethernet stack pretty much from scratch. PS the 89s52 doesn't have a hardware SPI port. It's way to slow to keep up with the ENC28J60 using a software SPI. Last edited by blueroomelectronics; 21st January 2008 at 04:37 PM. | ||
| |
| | (permalink) |
| I agree with Bill. What is an 8051 supposed to do with a 1500 byte incoming packet when it has only 1K of RAM. OK So it has 2K of RAM you say, and I say "don't you want to be double buffered on both the transmitter and the receiver"? Can you see where this is going. Drop the 8051 if you want to do ethernet. Stop wasting your time on silly projects.
__________________ We never have time to do it right; but we always have time to do it over. | |
| |
| | (permalink) |
| probably it is not used for receiving, but transmitting.
__________________ F.N. | |
| |
| | (permalink) | |
| Quote:
__________________ We never have time to do it right; but we always have time to do it over. | ||
| |
| | (permalink) |
| Hi, I see another atmel ic atmega88 or atmega168 which is used with ethernet controller ENC28J60.but here atmega 88/168 is not available.Instead of that atmega8 is available.I see both datasheet but not too much difference i find. Can i used it for my application ?.. Thank you.... | |
| |
| | (permalink) | |
| Quote:
ATMEL has a document detailing what to change when going from M8 to M88. No such document exists go the other way round.
__________________ L.Chung | ||
| |
| | (permalink) |
| Some of the 51 family has a 20MIPS-100MIPS performance, that is faster than most of the PICs. And 1-128Kbyte of flash is almost identical as the PICs. So it should be reasonable to exist.
__________________ F.N. | |
| |
| | (permalink) | |
| Quote:
The issue is RAM - 8051s are notriously short on this commodity No DMA - it is not possible to request access to the bus and the CPU cannot be stopped. If there was an ethernet controller with RAM buffers and a convenient interface maybe it would make sense, but the overhead is so large there would not be much in the way of CPU cycles left after you got through with the TCP/IP stack. If I told you there was a 32 bit embedded controller with an ethernet MAC onboard for the same or lower price as your 8051 would you be interested? Oh...did I mention free development tools? No 30 day evaluations, no crippled code generation -- just...well...FREE!
__________________ We never have time to do it right; but we always have time to do it over. Last edited by Papabravo; 24th January 2008 at 05:02 AM. | ||
| |
| | (permalink) |
| Well "you can't make a silk purse out of a pigs ear" the 8051 is old old. | |
| |
| | (permalink) |
| As a matter of fact, the high performance 51s isn't cheap at all. They are about twice the price of PICs and AVRs.
__________________ F.N. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| monitor for controller - what is interface | stevez | General Electronics Chat | 3 | 25th October 2008 01:57 AM |
| how to interface a ADC 0809 TO MICROCONTROLLER AND THEN MICROCONTROLLER TO DECODER | praneeth22 | Micro Controllers | 1 | 9th March 2007 07:20 PM |
| Ethernet controller vs. Ethernet transceiver | pterom | Micro Controllers | 1 | 31st December 2003 11:48 PM |
| microController vs. ethernet controller | janetsmith2000@yahoo.com | Micro Controllers | 3 | 10th December 2003 02:30 PM |
| Low-clocked microcontroller with a high-speed interface?? | electronicjo | General Electronics Chat | 1 | 18th August 2003 07:01 PM |