Yahoo Groups archive

Lpc2000

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

Message

SPI comms with another micro

2006-03-07 by Stephen Pelc

>    From: Don Ingram <don@...>
> 
> Robert Wood wrote:
> >  >> What is the max required uart bit rate? <<
> > 
> > For the third UART I could get away 9600baud.
> > 
> 
> YMMV, but the MAX3100 style of device always looks like
> a CPU that I can't access & so I end up using a CPU that
> I can access instead...  Less cost, better availability,
> more package options. Have to write handler code either
> way. 

Ho, hum - bit-bang a few GPIO lines on the LPC. It works fine 
for us. We use a 38400 Hz interrupt on FIQ to reduce jitter, and 
a state machine to run the protocol. It's been tested with three 
bit-banged UARTs.

If we can do this in high-level Forth without a line of 
assembler, the C-weenies ought to be able to cope ...

Stephen
P.S. implicit smiley!
--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads

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.