Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: LPC's w/ ENC28J60 for ethernet via SPI

2006-01-05 by slawcus

I'd use cs8900 instead. Why bother with overclocking and problems with
new and not fully tested ethernet device. You will spend too much time
with that.

Best regards

--- In lpc2000@yahoogroups.com, "Ryan Niemi" <ryan@f...> wrote:
>
> Hi Lasse,
> 
> I agree that the Xport modules are nifty when you want to avoid
> writing a network stack, but they're around $50.  Not a big deal for
> one-offs, but when you start building more than a few boards, it adds
> up quick compared with a $8 ethernet MAC/PHY and $4 of passives and
> magnetics.  Other reasons I'm not looking for an IP coprocessor are
> that I prefer to write the IP stack myself, and this is a
> latency-critical motion control application.  Ethernet throughput
> needs are low, but latency is pretty critical.  Most likely I'd rather
> go the CS8900A route and deal with the extra hassle before falling
> back to an Xport.
> 
> For anyone without experience homebrewing ethernet hardware, I'd agree
> with Lasse's pointer toward the Xport modules.  But for the rest of us
> who like to do things the hard way (yay!), anyone have experience
> overclocking an LPC just enough to get the SPI clock rate up to 8MHz?
> 
> -Ryan
> 
> 
> --- In lpc2000@yahoogroups.com, "Lasse Madsen" <Lasse.Madsen@E...>
wrote:
> >
> > Have a look at the Lantronix Xport it will do the job for you
> requiring only
> > a serial port to communicate... and in the smallest footprint I
> believe you
> > can ever get...
> > 
> > Regards
> > Lasse
> > 
> > -----Original Message-----
> > From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On
> Behalf Of
> > Ryan Niemi
> > Sent: 5. januar 2006 12:00
> > To: lpc2000@yahoogroups.com
> > Subject: [lpc2000] LPC's w/ ENC28J60 for ethernet via SPI
> > 
> > Hello,
> > 
> > I'm working on a project that'll require ethernet.  I was hoping the
> > LPC's w/ onboard MAC/PHY would come out before this project had to
> > start, but alas, no such luck!  I've done the CS8900A, RTL8019A and
> > Asix 10/100 routes before on past projects, but this application needs
> > to be minimal space and lowest netlist connection count as possible to
> > route in a minimally sized PCB.  Ethernet performance requirements
> > isn't high, it'll just be some signalling and status packets to a
> > control app over UDP.
> > 
> > Has anyone interfaced a Microchip ENC28J60 MAC/PHY to an LPC via SPI?
> >  While looking at it, I ran across a potential problem.  The LPC2292
> > datasheet section on the SPI interfaces say the SPI clock has a
> > maximum of 1/8 the input clock.  The ENC28J60 errata says reading or
> > writing the MAC registers may be unreliable if the SPI clock is below
> > 8MHz.  At 60MHz, it would appear the max LPC SPI clock is 7.5MHz.  I'm
> > contemplating overclocking the LPC slightly by using a 16MHz clock
> > scaled to 64MHz, which would allow an 8MHz SPI clock.  But before I
> > spend a bunch of time and money (it's a semi-personal project just for
> > fun) to try it, I figured I'd check if anyone has blazed this trail
> > before..
> > 
> > Alternatives were Cirrus EP9301/2, but the package is large and I
> > still need an external PHY anyway.  Atmel AT91RM9200 borders on cost
> > sensitivity and also requires external PHY.  Not to mention external
> > flash and RAM.  So I'm stuck with two chips minimum anyway, so might
> > as well try to go with the LPC2292 as the most suitable CPU choice and
> > select an ethernet solution around it.
> > 
> > -Ryan
> > 
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> >
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.