Yahoo Groups archive

Lpc2000

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

Message

Re: Uart FIFOs being disabled

2004-11-22 by peterburdine

--- In lpc2000@yahoogroups.com, "emerg_reanimator"
<emerg_reanimator@y...> wrote:
> 
> --- In lpc2000@yahoogroups.com, "peterburdine" <lordofdawn@h...>
> wrote:
> > 
> > Has anyone had experience with their UART fifos being randomly
> > disabled?  For some reason, my UART0 fifo is being diabled seemingly
> > randomly.  The application itself is not that complex, it receives
> a 2
> > byte command and sends back 10 bytes of status.  Somehow, the fifos
> > get disabled, then a CTI interrupt occurs that I cannot get rid of. 
> > In the manual it says to clear CTI I need to read RSR.  I don't see
> an
> > RSR register, but I would assume that they meant RBR.
> RSR stands for Receiver Shift Register. It's program invisible and
> connected directly to RBR (See UART architecture block diagram). So
> reading should update RSR status.
> > 
> > Any suggestions?
> > 
> > Thanks,
> > Peter
> Hi, Peter
> 
> I am interesting which "UART interrupt handling" (U?IIR[3:0]) mode you
> use?


I am using RBR and THRE.  I probably should have also noted that this
is a motor control board so the data receveived on UART0 is commands
to change the PWM (2&5).

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.