Yahoo Groups archive

Lpc2000

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

Thread

communication channel interrupt

communication channel interrupt

2005-12-01 by tasking12

Hi all,

does anyone know, has a communication channel an interrupt flag
which must be cleared in the Interrupt routine?

Thanks

Re: [lpc2000] communication channel interrupt

2005-12-01 by Richard Duits

The DCC (debug communications channel) interrupts are cleared when the 
data is read (rx interrupt) or written (tx interrupt).
If you have no more data to send, you have to disable the tx interrupt 
to keep it from firing again.

Richard Duits.


tasking12 wrote:
Show quoted textHide quoted text
> Hi all,
>
> does anyone know, has a communication channel an interrupt flag
> which must be cleared in the Interrupt routine?
>
> Thanks
>
>
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "lpc2000
>       <http://groups.yahoo.com/group/lpc2000>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>

Re: communication channel interrupt

2005-12-01 by Karl Olsen

--- In lpc2000@yahoogroups.com, Richard Duits <yahoo@r...> wrote:

> tasking12 wrote:
> 
>> does anyone know, has a communication channel an interrupt flag
>> which must be cleared in the Interrupt routine?

> The DCC (debug communications channel) interrupts are cleared when
> the data is read (rx interrupt) or written (tx interrupt).
> If you have no more data to send, you have to disable the tx
> interrupt to keep it from firing again.

I guess you are thinking of the A*mel USARTs.  The "Transmit Holding 
Register Empty" interrupt flag of the 16C550 compatible UARTs in 
LPC2000 must be reset in the interrupt handler.  It is done by either 
reading the IIR register (if source of the interrupt) or by writing a 
new byte to transmit to the THR register.

The former case means that if you read the IIR and it indicates that 
a THRE is the highest-priority pending interrupt, you have just reset 
the THRE flag.  If the IIR indicates something else, any pending THRE 
interrupt stays pending.

Karl Olsen

Re: [lpc2000] communication channel interrupt

2005-12-01 by Sean

At 10:14 AM 12/1/2005, tasking12 wrote:
>Hi all,
>
>does anyone know, has a communication channel an interrupt flag
>which must be cleared in the Interrupt routine?
>
>Thanks

Depending on what you want to do you may be able to simulate the bus 
yourself.  I have an external 512KB SRAM chip hooked up to my 2148 just 
bit-banging on GPIOs.  It's not all that fast, but it works.

-- Sean

Re: [LPC2000] external address and data bus (was: communication channel interrupt)

2005-12-01 by Sean

{Heh... I totally responded to the wrong email on this one.  I meant to 
respond to the following email:}


 > Hello everyone,
 >       Just wanted to know if there was support for external address
 > and data buses on LPC2104  controller.., i mean the pins  acting as
 > addr. and data buses???


Depending on what you want to do you may be able to simulate the bus 
yourself.  I have an external 512KB SRAM chip hooked up to my 2148 just 
bit-banging on GPIOs.  It's not all that fast, but it works.

-- Sean


At 12:23 PM 12/1/2005, Sean wrote:
Show quoted textHide quoted text
>At 10:14 AM 12/1/2005, tasking12 wrote:
> >Hi all,
> >
> >does anyone know, has a communication channel an interrupt flag
> >which must be cleared in the Interrupt routine?
> >
> >Thanks
>
>Depending on what you want to do you may be able to simulate the bus
>yourself.  I have an external 512KB SRAM chip hooked up to my 2148 just
>bit-banging on GPIOs.  It's not all that fast, but it works.
>
>-- Sean

Re: communication channel interrupt

2005-12-02 by tasking12

I do it, but I have had hope the communication channel Interrupt is
edge driven and not level driven.
I mean Interrupt is not a "free" flag.

Thanks for help

Efim Monjak


--- In lpc2000@yahoogroups.com, Richard Duits <yahoo@r...> wrote:
>
> The DCC (debug communications channel) interrupts are cleared when the 
> data is read (rx interrupt) or written (tx interrupt).
> If you have no more data to send, you have to disable the tx interrupt 
> to keep it from firing again.
> 
> Richard Duits.
> 
> 
> tasking12 wrote:
> 
> > Hi all,
> >
> > does anyone know, has a communication channel an interrupt flag
> > which must be cleared in the Interrupt routine?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
------------------------------------------------------------------------
> > YAHOO! GROUPS LINKS
> >
> >     *  Visit your group "lpc2000
> >       <http://groups.yahoo.com/group/lpc2000>" on the web.
> >        
> >     *  To unsubscribe from this group, send an email to:
> >        lpc2000-unsubscribe@yahoogroups.com
> >       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> >        
> >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >
------------------------------------------------------------------------
> >
>

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.