| Author |
Message |
fireball003
Joined: 28 Oct 2005 Posts: 194 Helped: 5
|
06 Aug 2006 4:14 microcontroller interfacing lan card |
|
|
|
|
Hi,
Is there any easy way to interface PCI lan card with microcontroller?
Thanks a lot.
|
|
| Back to top |
|
 |
yogi
Joined: 08 Jan 2005 Posts: 345 Helped: 17
|
06 Aug 2006 10:18 microcontroller lan |
|
|
|
|
if you want some embedded ethernet project then u have to go for some ready made boards having rtl8019as. This project is opensource and you can get codes from
http://www.sics.se/~adam/uip/
for almost all microcontrollers.
see for modules from www.edtp.com
Bibin John
www.bibinjohn.tk
|
|
| Back to top |
|
 |
yousafzai
Joined: 01 Jun 2006 Posts: 259 Helped: 6
|
06 Aug 2006 13:27 lan card project |
|
|
|
|
| Off the shelf ethernet modules are available for interfacing to microcontrollers. There are good articles on this topic at Circuit cellar. they are very helpful.
|
|
| Back to top |
|
 |
Alan69
Joined: 01 Apr 2005 Posts: 79 Helped: 4
|
|
| Back to top |
|
 |
Google AdSense

|
06 Aug 2006 15:05 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
smmr
Joined: 06 Aug 2006 Posts: 1
|
06 Aug 2006 15:20 pic18 lan circuit |
|
|
|
|
If you don't persist on any MCU platform you can select MCU that support LAN.for example Atmel ARM series,Atmel AVR32,Or ST atlas,....
because PCI module Interfacing with MCU is more sophisticate than built in module and with simple MCU could not implement PCI interface!
|
|
| Back to top |
|
 |
techie
Joined: 05 Feb 2002 Posts: 850 Helped: 43 Location: Pakistan
|
06 Aug 2006 17:06 intefacing pci lan card with microcontroller |
|
|
|
|
| Also have a look at microchip ENC28J60. specifically built for a microcontroller.
|
|
| Back to top |
|
 |
Beeblebrox
Joined: 14 Sep 2002 Posts: 43 Helped: 1 Location: Somewhere in the known universe
|
09 Aug 2006 22:38 lancard with microcontroller |
|
|
|
|
I recently implemented Microchip's ENC28J60 ethernet controller in our company project and it runs like a charm.
Microchip also offer TCP/IP stack free of charge thus TCP/UDP communication was easy to implement.
And finally a comparison of straightforward ENC28... and too complex Realtek chip architecture brings my votes for ENC.
For rapid development you can buy cheap ENC28J60 based modules from Microchip, EDTP, Olimex and others.
I've used Microchip's HPC Explorer development board and PICtail Ethernet Board for the project design.
|
|
| Back to top |
|
 |
techie
Joined: 05 Feb 2002 Posts: 850 Helped: 43 Location: Pakistan
|
10 Aug 2006 5:53 pci lan card microcontroller |
|
|
|
|
I have also used the ENC28J60 but with the free TCP/IP from uIP. While the ENC28J60 works fine (consumes a little high current), the uip leaves a lot to be desired. the earlier versions of uip (0.6) were light and could be implemented very easily in 768bytes of ERAM of P89C51RD2 but they have some bugs and need quite a bit of tweaking to make them run properly. uip also has a difficult user interface. The later version 0.9 and 1.0 work OK if you have larger RAM. working with small RAM causes some problems.
How much RAM / ROM does microchip TCP/IP stack require for a small implementation. Can it be easily ported to platforms other than PIC.
|
|
| Back to top |
|
 |
Beeblebrox
Joined: 14 Sep 2002 Posts: 43 Helped: 1 Location: Somewhere in the known universe
|
10 Aug 2006 12:59 microcontroller lan interface |
|
|
|
|
Hi Techie,
it's hard to answer your question for me at the moment. We're about to start profiling the application and what we've done is just a "proof of concept". The core module (PIC 18LF6722) runs Microchip TCP/IP stack ver. 3.02 along with PIC18 RTOS therefore it's hard to say how much memory is occupied just by the stack, especially when all optimizations are switched off at the moment.
I think you can find rough numbers in Microchip application note AN833b.pdf. There is a table in a chapter "Memory usage".
Anyway a basic implementation (MAC, TCP, IP) shoud take about 5000 words of program memory (FLASH) and 60 Bytes of data memory (RAM) plus necessary I/O buffers dependant on your configuration.
I don't know about the portability to another platforms Basically it is aimed on ENC28J60 and RTL8019AS modules and on Microchip C18 and Hi-Tech PICC 18 compilers.
|
|
| Back to top |
|
 |