Yahoo Groups archive

Lpc2000

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

Message

SOLVED! Re: Lost UART1 IRQ?

2005-07-19 by vajper0

Hi again!

I just rewrote much of the UART code to slim it down and make it more
efficient. It was rather crappy because it was using a buffer library
that I couldn't modify. Removed that buffer and wrote a simple ring
buffer. Also modded the code to read more than the 14 bytes when a RDA
IRQ occured (now reads until LSR0 is cleared).

Guess what? Now it works flawlessly! 

Another good thing is that I just checked the Philips website (haven't
looked there for a couple of weeks) and found a newly published Users
Manual for the LPC213x series. It describes a new UART register that
can be used to halt the Tx FIFO without resetting it. Extremly useful
when implementing flow control :)

Thanx for the help!

/PH

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.