Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] EINT1 and EINT2 problem

2005-01-19 by Bruce Paterson

itsjustimpossible wrote:

> 
> Hi
> Has anyone had a problem when using both EINT1 and EINT2 on the 
> LPC2294. I have them assigned to VIC0 and VIC1. (I also have a much 
> faster seperate FIQ running.)
> 
> If I have both the external interrupts enabled the interrupts stall 
> after a few seconds. If I disable one or both, all is well.
> 
> I have the same 250uS clock wired to both pins, but EINT1 is 
> positive edge triggered and EINT2 is negative edge triggered so I 
> can do something on both edges.

Thinking laterally, Have you tried using just one pin, but in the ISR 
flip the edge polarity bit every time (so you interrupt on both edges) ?
If there is some problem it might be a workaround :)

-- 
Cheers,
Bruce
-------------------------------------------------------------------
     /\\\/\\\/\\\    /   /      Bruce Paterson
    /  \\\ \\\ \\\  /   /    Senior Design Engineer
   /   /\\\/\\\/\\\/   /   8 Anzed Court, Mulgrave, Vic, 3170
  /   /  \\\ \\\ \\\  /  PO Box 4112, Mulgrave, Vic, 3170, Australia
/   /    \\\/\\\ \\\/   Ph: +61 3 8561 4232   Fax: +61 3 9560 9055
       Tele-IP Ltd.      Email: bruce@...    Icq: #32015991
                         WWW:   http://www.tele-ip.com       VK3TJN
-------------------------------------------------------------------

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.