Forums

LPC21XX 3rd UART Example needed

Started by radim100 January 14, 2006
Hi,
I need 3rd UART in my project so software UART implementation is
obvious . I have transmitting part but does anybody has some interrupt
driven receiver site of code ( ANSI C or ASM is OK ). My baud rates
should be bellow 19200Bd.
Thanks radim.


An Engineer's Guide to the LPC2100 Series

Radim,

I have some 10 year old code on my website at
http://www.moonbounce.dk/embedded.htm
look for second last entry.
This is code running on a Philips 87C750 type device, but (if I may
say
so :-) well documented, so it should be easy to port to a LPC device.
Basically it uses an external interrupt pin for the RxD, and when a
start bit is discovered, it uses a timer to sample the individual
bits.

Regards,
Carsten --- In lpc2000@lpc2..., "radim100" <radim100@y...> wrote:
>
> Hi,
> I need 3rd UART in my project so software UART implementation is
> obvious . I have transmitting part but does anybody has some
interrupt
> driven receiver site of code ( ANSI C or ASM is OK ). My baud
rates
> should be bellow 19200Bd.
> Thanks radim.
>