EmbeddedRelated.com
Forums
Memfault Beyond the Launch

EINT3 external interrupt problem

Started by lokesh_17 November 30, 2005
Hello all,

I herewith facing some problem in external interrupt, see if anybody
can suggest me to overrule the difficulty. Hence follows the problem
description

when i configure my LPC2124 as

EXTMODE = 0x08;
...
VICIntEnable = (1<<VIC_EINT3); // Enable external 3

as ISR, i am not getting the interrupt, but when try the same with
EXT1 its working fine, but i am using both the interrupts in my
application.
Is it the problem exist in the uC itself or i need to do it in the
tricky way if so please give me the same code.

rgds,
Lokesh.S



An Engineer's Guide to the LPC2100 Series

If it does not use an if EXT1,

EXTMODE = 0x0A;

With above try to attempt together. --- In lpc2000@lpc2..., "lokesh_17" <lokesh_17@y...> wrote:
>
> Hello all,
>
> I herewith facing some problem in external interrupt, see if
anybody
> can suggest me to overrule the difficulty. Hence follows the
problem
> description
>
> when i configure my LPC2124 as
>
> EXTMODE = 0x08;
> ...
> VICIntEnable = (1<<VIC_EINT3); // Enable external 3
>
> as ISR, i am not getting the interrupt, but when try the same with
> EXT1 its working fine, but i am using both the interrupts in my
> application.
> Is it the problem exist in the uC itself or i need to do it in the
> tricky way if so please give me the same code.
>
> rgds,
> Lokesh.S
>




There is a documented bug in EINT see the errata sheet for workaround
http://www.semiconductors.philips.com/acrobat/erratasheets/2124.pdf --- In lpc2000@lpc2..., "lokesh_17" <lokesh_17@y...> wrote:
>
> Hello all,
>
> I herewith facing some problem in external interrupt, see if anybody
> can suggest me to overrule the difficulty. Hence follows the problem
> description
>
> when i configure my LPC2124 as
>
> EXTMODE = 0x08;
> ...
> VICIntEnable = (1<<VIC_EINT3); // Enable external 3
>
> as ISR, i am not getting the interrupt, but when try the same with
> EXT1 its working fine, but i am using both the interrupts in my
> application.
> Is it the problem exist in the uC itself or i need to do it in the
> tricky way if so please give me the same code.
>
> rgds,
> Lokesh.S
>





Memfault Beyond the Launch