Forums

LPC213x And Ethernet

Started by dsidlauskas1 January 25, 2005

I have a project where the LPC312x fits very well accept that there's
a requirement for ehternet connectivity. I'd appreciate any
suggestions as to how this might be accomplished cheaply and simply.

Many thanks in advance.

Dave Sidlauskas




An Engineer's Guide to the LPC2100 Series

I am developing application with lpc2138 and cs8900a. I used freertos
with uIP port.
http://www.freertos.org/portrowleylpc2124.html For schematic check
http://groups.yahoo.com/group/lpc2000/files/SCHEMATICS/

Etherent controller is CS8900A.
http://www.cirrus.com/en/products/pro/detail/P46.html
dsidlauskas1 wrote:
>
> I have a project where the LPC312x fits very well accept that there's
> a requirement for ehternet connectivity. I'd appreciate any
> suggestions as to how this might be accomplished cheaply and simply.
>
> Many thanks in advance.
>
> Dave Sidlauskas > *>.





Also you if you do not want the overhead and just a simple Ethernet
connection you may want to look at Lantronix. It is a Ethernet to
serial bridge which allows 10/100T with and SSL layer and output
baudrates from 9600 to 240K.

http://www.lantronix.com/device-networking/embedded-device-servers/xport.html

regards,
Charles --- In , Marko Pavlin <mp@h...> wrote:
> I am developing application with lpc2138 and cs8900a. I used freertos
> with uIP port.
> http://www.freertos.org/portrowleylpc2124.html > For schematic check
> http://groups.yahoo.com/group/lpc2000/files/SCHEMATICS/
>
> Etherent controller is CS8900A.
> http://www.cirrus.com/en/products/pro/detail/P46.html >
> dsidlauskas1 wrote:
> >
> > I have a project where the LPC312x fits very well accept that there's
> > a requirement for ehternet connectivity. I'd appreciate any
> > suggestions as to how this might be accomplished cheaply and simply.
> >
> > Many thanks in advance.
> >
> > Dave Sidlauskas
> >
> >
> >
> >
> >

> > *>.
> >
> >





I start new project with LPC2138 and Wiznet W3100A chip (10/100M). It
is connected through 3 lines (I2C - SCL, SDA and interrupt). My
experience with previous board (with LPC2106) takes nearly 350kb/s
ethernet speed, that is enough for serving web pages.

The main advantage is a very simple programming of TCP/IP stack
(included inside the chip). Total integration cost is less than 12$.
There is also many examples from producer's web page.

Regards
Grzegorz




--- In , "dsidlauskas1" <dsidlauskas@w...>
wrote:
>
> I have a project where the LPC312x fits very well accept that
there's
> a requirement for ehternet connectivity. I'd appreciate any
> suggestions as to how this might be accomplished cheaply and simply.

I am looking at doing something very similar with the AT91SAM7S chips.
Like the LPC312x parts, there is no external data bus. I think this
is the biggest issue. It means you will either need to add a serial
to parallel interface chip of some sort (possibly an FPGA) or you will
have to bit bang the bit IO ports to talk to the Ethernet chip.

The more I think about this, the more I like using an FPGA to provide
a fast serial port to the ARM chip and a parallel port to a LAN91C111
chip. I am discussing this in the AT91SAM7 group. I expect most of
this discussion will be applicable to the LPC21xx chips too.

http://groups.yahoo.com/group/AT91SAM7/




Maybe, microchip makes an integrated MAC/PHY with an SPI interface.
I forgot the name of this new device. Samples are available..

Markus Rick Collins schrieb:
>
> --- In , "dsidlauskas1" <dsidlauskas@w...>
> wrote:
>
>>I have a project where the LPC312x fits very well accept that
>
> there's
>
>>a requirement for ehternet connectivity. I'd appreciate any
>>suggestions as to how this might be accomplished cheaply and simply. > I am looking at doing something very similar with the AT91SAM7S chips.
> Like the LPC312x parts, there is no external data bus. I think this
> is the biggest issue. It means you will either need to add a serial
> to parallel interface chip of some sort (possibly an FPGA) or you will
> have to bit bang the bit IO ports to talk to the Ethernet chip.
>
> The more I think about this, the more I like using an FPGA to provide
> a fast serial port to the ARM chip and a parallel port to a LAN91C111
> chip. I am discussing this in the AT91SAM7 group. I expect most of
> this discussion will be applicable to the LPC21xx chips too.
>
> http://groups.yahoo.com/group/AT91SAM7/ >
> Yahoo! Groups Links

--
Mit freundlichen Grsen
Markus Meng

************************************************************************
** Meng Engineering Telefon 056 222 44 10 **
** Markus Meng Natel 079 230 93 86 **
** Bruggerstr. 21 Telefax 056 222 44 34 **
** CH-5400 Baden Email **
** Web www.meng-engineering.ch **
************************************************************************
** You cannot create experience. You must undergo it. Albert Camus **



Rick Collins wrote:

>
> --- In , "dsidlauskas1" <dsidlauskas@w...>
> wrote:
> >
> > I have a project where the LPC312x fits very well accept that
> there's
> > a requirement for ehternet connectivity. I'd appreciate any
> > suggestions as to how this might be accomplished cheaply and simply.
>
> I am looking at doing something very similar with the AT91SAM7S chips.
> Like the LPC312x parts, there is no external data bus. I think this
> is the biggest issue. It means you will either need to add a serial
> to parallel interface chip of some sort (possibly an FPGA) or you will
> have to bit bang the bit IO ports to talk to the Ethernet chip.
>
> The more I think about this, the more I like using an FPGA to provide
> a fast serial port to the ARM chip and a parallel port to a LAN91C111
> chip. I am discussing this in the AT91SAM7 group. I expect most of
> this discussion will be applicable to the LPC21xx chips too.
>
> <http://groups.yahoo.com/group/AT91SAM7/>


Bitbanging with CS8900A require 14 lines: 8 data, 4 address and 2 for
IOR/IOW. I will have PCB in a week or so and I will post complete
project here.




One thing that come into my mind when hearing some of you suggest using an
FPGA to do some kind of serial to parallel interface is "Are you mad!?"

If the processor doesn't have a parallel interface don't spend time and
effort making it, Upgrade to a processor that has! You will never get speeds
anywhere near that or at the same price anyway...

Just my two cents...

Regards
Lasse Madsen -----Original Message-----
From: Rick Collins [mailto:]
Sent: 26. januar 2005 19:09
To:
Subject: [lpc2000] Re: LPC213x And Ethernet
--- In , "dsidlauskas1" <dsidlauskas@w...>
wrote:
>
> I have a project where the LPC312x fits very well accept that
there's
> a requirement for ehternet connectivity. I'd appreciate any
> suggestions as to how this might be accomplished cheaply and simply.

I am looking at doing something very similar with the AT91SAM7S chips.
Like the LPC312x parts, there is no external data bus. I think this
is the biggest issue. It means you will either need to add a serial
to parallel interface chip of some sort (possibly an FPGA) or you will
have to bit bang the bit IO ports to talk to the Ethernet chip.

The more I think about this, the more I like using an FPGA to provide
a fast serial port to the ARM chip and a parallel port to a LAN91C111
chip. I am discussing this in the AT91SAM7 group. I expect most of
this discussion will be applicable to the LPC21xx chips too.

http://groups.yahoo.com/group/AT91SAM7/
Yahoo! Groups Links


Rick Collins <> schrieb am Wed, 26 Jan 2005 18:08:31 -0000:

> The more I think about this, the more I like using an FPGA to provide
> a fast serial port to the ARM chip and a parallel port to a LAN91C111

The 91C111 works with 10/100 MB but has 16 registers, i.e. 1 port more.

OTOH, the cs8900 provides a memory-mapped interface which makes it more
suitable for LPCs with external bus. --
42Bastian Schick



You forgot the reset line. Since it is active high on the CS8900A you will
need to either have another GPIO or use an inverter to alter the RESET#
signal that resets the micro controller (and keeps it high long enough to
satisfy the CS8900A). Or you can just try generating a propper sequence
with an R/C filter and cross your fingers! ;)

- Rod

--
___ ____ ___ _ ___
Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
/_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ Where loved ones are remembered http://memoriam.org ~

On Wed, 26 Jan 2005, Marko Pavlin (home) wrote:

> Bitbanging with CS8900A require 14 lines: 8 data, 4 address and 2 for
> IOR/IOW. I will have PCB in a week or so and I will post complete
> project here.