communication channel interrupt
2005-12-01 by tasking12
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
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
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:
> 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/>. > > > ------------------------------------------------------------------------ >
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
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
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:>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
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/>. > > > > > > ------------------------------------------------------------------------ > > >