Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] LPC's w/ ENC28J60 for ethernet via SPI

2006-01-05 by Lasse Madsen

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.