View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Is it possible to connect the RTL8019 IC to a PIC ? |
Posted: Mon Dec 11, 2006 10:13 am |
|
|
Hi,
I plan to use the standard PCI card available off the shelf to connect a PIC to the LAN network.
Is it possible to use/modify the driver code for the RTL 8019 for this purpose. ??
Also I would like to use the card with all the existing hardware.
Could anyone give suggestions on how I should go about this..
thanks
arunb |
|
|
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Mon Dec 11, 2006 12:50 pm |
|
|
Forget it. The PCI-bus is a too much complicated 32-bit bus for a PIC to handle. (many PCI cards operate as bus-masters, I suppose this is the case with a network card also, so you will not even get a chance to dictate your own timing on the PCI bus)
What's wrong with a bare RTL8019 ? |
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Mon Dec 11, 2006 10:56 pm |
|
|
Hi,
The reason I chose a RTL8019 is that the IC is easily available on the PCI LAN card, I find that the card contains only the RTL IC and not any other, so a bus controller may not be required.
Is it possible to use a RTL8139D instead ???
thanks
arunb |
|
|
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Tue Dec 12, 2006 2:47 am |
|
|
I was suspecting it must be an old 8 or 16 bit ISA card if absolutely no glue logic is present surrounding the RTL8019. Are you sure it is a PCI card?
However RTL8139 is for the PCI bus instead, so forget it.
In case of an ISA card, you just need to connect the correct pins in the ISA socket to your PIC, no other parts on the ISA board, so no software change necessary, regarding the connections: just follow the traces of the RTL's pins to the edge connector of the card.
there are many RTL8019 interfacing solutions for the PIC on the net. CCS also has an example, or just google for 'RTL8019 PIC'.
For a clue you can find a solution using an ISA PC card with 8019 e.g. here -> http://picnic.sourceforge.net/ (schematics for the ISA pinout here: http://picnic.sourceforge.net/sch/layout.png |
|
|
|