Yahoo Groups archive

Lpc2000

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

Message

Re: external interrupt problem

2004-07-23 by douglasbolton

--- In lpc2000@yahoogroups.com, Leighton Rowe <leightonsrowe@y...> 
wrote:
> Hey Doug,
> 
> I meant clearing the flags after setting EXTMODE as
> suggested on pg.68.
> 
> EXTMODE = 0x08; //only controls the sensitivity
> EXTINT = 0x08;  //clear EINT3 flag
> ...
> ...
> VICIntEnable = (1<<VIC_EINT3);    // Enable external 3
> interrupt.
> 
> Your 2nd reply (which just came) looks kinda spooky.
> What kind-off exception r u getting? If EINT0-2 can
> work on edge sensitive mode, then I wouldn't give up
> on EINT3 quite yet. There's must be a way to get
> around to it.
> 
> Good luck,
> Leighton


Leighton

I've tried all of the above and even tried another board with no luck.

As soon as I write EXTMODE to a value the JTAG aborts. If I program 
flash and run the processor hangs.

I'm at a loss to where to go from here. For my current application I 
can run using level sensitive (using reset value of EXTMODE). However 
I would like to know why writing to this register causes such a 
problem.

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.