Easy - Use a LPC23xx series chip! I don't know why they did level interrupts on the LPC21xx series (easier to impliment?). I have never used a level interrupt in a micro controller. You could use a D flipflop (Q Bar output) and a port line to reset it. The line will be high again before you reenable the intterupt. Thats what I was planning in a previous project. Fortunalty it has been delayed until now and I am planning on using a LPC 23xx solution and an edge triggered interrupt. Owen Mooney Hello All! I'm trying to write a simple interrupt routine for a external interrupt source (EINT0) for a LPC2106. As there's no selection between level or edge-triggered interrupts, I want to to wait until there's a logic 1 on the EINTx pin to clear the intrrupt on the VIC to not count a long strobe as several different interrupts. This goes along with the LPC2106 user's manual, as on page 40 it says that to clear a pending intrerrupt on EINTx I have to wait until there's a high level on the pin, so I REALLY want to wait until a logic 1 is present. But how do I do that? I already tried a code like this in my interrupt handler:
Message
Re: LPC2106 external interrupts
2005-03-16 by Owen Mooney
Attachments
- No local attachments were found for this message.