Yahoo Groups archive

Lpc2000

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

Thread

Interrupt driven UART example

Interrupt driven UART example

2005-12-11 by gussabina

Hi:
I need to handle a high rate serial connection using the UART, but my 
interrupt driven routines are not working fine. The Rx interrupt works 
fine, but when I add the THRE interrupt, it hang up the program.
Is there a good example about how to program these drivers? (If 
possible, for Keil)

Thanks;

Gus

Re: [lpc2000] Interrupt driven UART example

2005-12-11 by Tom Walsh

gussabina wrote:

>Hi:
>I need to handle a high rate serial connection using the UART, but my 
>interrupt driven routines are not working fine. The Rx interrupt works 
>fine, but when I add the THRE interrupt, it hang up the program.
>Is there a good example about how to program these drivers? (If 
>possible, for Keil)
>
>  
>
Yeah, take a look at the rdcf2 source, that driver has been banging away 
for days without failure: *http://tinyurl.com/8bmk8

TomW


*

>Thanks;
>
>Gus
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

RE: [lpc2000] Interrupt driven UART example

2005-12-11 by Joel Winarske

> I need to handle a high rate serial connection using the UART, but my
> interrupt driven routines are not working fine. The Rx interrupt works
> fine, but when I add the THRE interrupt, it hang up the program.
> Is there a good example about how to program these drivers? (If
> possible, for Keil)

http://www.keil.com/download/docs/288.asp?bhcp=1

Joel

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.