At 07:50 PM 6/7/04 +0000, you wrote:
>Sorry for the SETBITS....they are defines. SETBIT1=0x02 and
>SETBIT15=0x8000 (as you said) (try to remember what number have to
>be ORed with your register just to set your 26th bit and you'll see
>that this is very useful)...
Unless, of course you have to go back to the definition to figure out if
the bits are numbered starting at 0 or at 1 :)
>I'm using LPC2129.
OK, that explains the EXTMODE and PINSEL numbers.
>Well how do I know that I'm receiving the RDY? An osciloscope...:-))
Actually I was referring to the question of how do you know whether or not
you have received the interrupt not whether the pin state was set.
>I'm running with a ULINK debugger and according to the simulator,
>the EINT1 bit from EXTINT register is set...this means that
>interrupt flag is set but the routine was not called...
ULINK uses JTAG?
There is a small possibility that an interrupt is occurring before your
debugger gets control of the micro and it just isn't acknowledged
correctly. I'd add a pin toggle in your ISR to allow you to scope
that. It sounds more like the IRQs are disabled though. Check your global
IRQ flag (I've forgotten where it is on the ARM).
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] Re: External Interrupt
2004-06-07 by Robert Adsett
Attachments
- No local attachments were found for this message.