Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: TX FIFO

2004-07-28 by Robert Adsett

I'm going to take a deeper look at this in a bit (when I get a break) but 
initially it looks OK.  In the meantime, however, a couple of 
questions/suggestions.

- Is anything happening at the receive side (Is the transmit looped back, 
is the receive getting info from somewhere) or is it transmit only?
- How about putting in a check in the main body (IE non-interrupt) or the 
timer  to check the THRE flag and set an LED if it  is set?  That way you 
should be able to tell if the flag has gone up but the interrupt has 
disappeared.  Maybe you've found a way to harden what I've seen.

At 02:40 PM 7/28/04 +0000, you wrote:
>void tx(char c)
>{
>         UART0_THR = c;
>}
>
>..and then I expect INT (after the 8th bit is out).

I figured it was probably something like that.  Just wanted to be sure of 
the obvious :)

Robert


" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.