EmbeddedRelated.com
Forums

Samples for UART Driver for LPC2103

Started by Tidhar Tsuri July 12, 2007
Dear Friends,

I working on a problem for couple a days,

I can not receive interrupt from UART0,

I need some samples code for for UART Driver for LPC2103

Thanks,

Teddy

Regards,

Tidhar Tsuri

An Engineer's Guide to the LPC2100 Series

Tidhar Tsuri writes:

> I can not receive interrupt from UART0,
>
> I need some samples code for for UART Driver for LPC2103

Just a quick suggestion in case it helps:

Have you gotten the serial port to work in polling mode (rather than
using an interrupt)? If not, I would suggest doing that first. That
verifies that you are configuring the serial port itself correctly.

Once that is working, you can go to the next step of using
interrupts.

A few days ago, I put some very small example assembly language
programs on my web site (see sig below). They set up and use the
serial port in polling mode for the LPC2378. You could look at that
to get the general idea of how to do it, then customize it as
necessary for the lpc2103.
--
Frank
http://pygmy.utoh.org/riscy/lpc2378