Find help, specifications and source code for the LPC900. The LPC900 challenges Microchip and AVR based on the worlds most popular 8-bit architecture the 80C51. With a 2-clock core the LPC900 series is a high performance, very flexible and low cost 8-bit microcontroller family. Designers using or interested in these devices are encouraged to share their know-how and ask questions.
How to use the External interrupt of LPC932A1 - vicdlr1 - Nov 6 21:05:35 2008
Hi,
I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
Using INT1:
1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
2. enabled external interrupt 1 EX1=1 and EA=1.
3. When level triggered (IT1=0), the interrupt routine at 001BH gets
executed continuously irregardless of whether INT1 (pin 10) is pulled
Hi or low.
4. When edge triggered (IT1=1), the interrupt routine gets to execute
only once irregardless of INT1 pin's level.
TIA
Vic
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: How to use the External interrupt of LPC932A1 - rahul shinde - Nov 6 23:27:02 2008
hi,
1) have you clear the interrupt flag in the INT1 isr routine?
regards
rahul shinde
----- Original Message -----
From: vicdlr1
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 7:35 AM
Subject: [lpc900_users] How to use the External interrupt of LPC932A1
Hi,
I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
Using INT1:
1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
2. enabled external interrupt 1 EX1=1 and EA=1.
3. When level triggered (IT1=0), the interrupt routine at 001BH gets
executed continuously irregardless of whether INT1 (pin 10) is pulled
Hi or low.
4. When edge triggered (IT1=1), the interrupt routine gets to execute
only once irregardless of INT1 pin's level.
TIA
Vic

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: How to use the External interrupt of LPC932A1 - vicdlr1 - Nov 6 23:30:29 2008
Yes, clearing IE1 does not make any difference.
--- In l...@yahoogroups.com, "rahul shinde"
wrote:
>
> hi,
>
> 1) have you clear the interrupt flag in the INT1 isr routine?
> regards
> rahul shinde
> ----- Original Message -----
> From: vicdlr1
> To: l...@yahoogroups.com
> Sent: Friday, November 07, 2008 7:35 AM
> Subject: [lpc900_users] How to use the External interrupt of LPC932A1
> Hi,
>
> I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
observe:
>
> Using INT1:
>
> 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> 2. enabled external interrupt 1 EX1=1 and EA=1.
> 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> executed continuously irregardless of whether INT1 (pin 10) is pulled
> Hi or low.
> 4. When edge triggered (IT1=1), the interrupt routine gets to execute
> only once irregardless of INT1 pin's level.
>
> TIA
> Vic
>
------------------------------------

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: Re: How to use the External interrupt of LPC932A1 - rahul shinde - Nov 6 23:35:49 2008
hi,
can you send me your code......
regards
rahul shinde
----- Original Message -----
From: vicdlr1
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 10:00 AM
Subject: [lpc900_users] Re: How to use the External interrupt of LPC932A1
Yes, clearing IE1 does not make any difference.
--- In l...@yahoogroups.com, "rahul shinde"
wrote:
>
> hi,
>
> 1) have you clear the interrupt flag in the INT1 isr routine?
>
>
> regards
> rahul shinde
>
>
> ----- Original Message -----
> From: vicdlr1
> To: l...@yahoogroups.com
> Sent: Friday, November 07, 2008 7:35 AM
> Subject: [lpc900_users] How to use the External interrupt of LPC932A1
>
>
> Hi,
>
> I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
observe:
>
> Using INT1:
>
> 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> 2. enabled external interrupt 1 EX1=1 and EA=1.
> 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> executed continuously irregardless of whether INT1 (pin 10) is pulled
> Hi or low.
> 4. When edge triggered (IT1=1), the interrupt routine gets to execute
> only once irregardless of INT1 pin's level.
>
> TIA
> Vic
>

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: Re: How to use the External interrupt of LPC932A1 - Harshal Doshi - Nov 7 9:45:37 2008
It seems you are power up the board by power supply and not battery. OKK
Pull down the pin with 10k. and your problem will solve.
which IDE are you using ??
On Thu, Nov 6, 2008 at 8:30 PM, vicdlr1
wrote:
>
> Yes, clearing IE1 does not make any difference.
>
> --- In l...@yahoogroups.com ,
> "rahul shinde"
> wrote:
>
> >
> > hi,
> >
> > 1) have you clear the interrupt flag in the INT1 isr routine?
> >
> >
> > regards
> > rahul shinde
> >
> >
> > ----- Original Message -----
> > From: vicdlr1
> > To: l...@yahoogroups.com
> > Sent: Friday, November 07, 2008 7:35 AM
> > Subject: [lpc900_users] How to use the External interrupt of LPC932A1
> >
> >
> > Hi,
> >
> > I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
> observe:
> >
> > Using INT1:
> >
> > 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> > 2. enabled external interrupt 1 EX1=1 and EA=1.
> > 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> > executed continuously irregardless of whether INT1 (pin 10) is pulled
> > Hi or low.
> > 4. When edge triggered (IT1=1), the interrupt routine gets to execute
> > only once irregardless of INT1 pin's level.
> >
> > TIA
> > Vic
> >
>
--
Doshi Harshal
POTENT
F-27, VRAJWADI COMPLEX,
Nr. UTKARSH SCHOOL,
Gadapura,
VADODARA
GUJARAT – 390015, INDIA
PH: 09429071421
www.potent.co.in

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - vicdlr1 - Nov 7 21:32:52 2008
Nope, as I've said pulling up/down P1.4 doesn't make any difference,
I'm using Keil Uv2 IDE.=20
Do you have a short sample code that uses INT1 or INT1 that works on
LPC932A1 I can test against my hardware?
Thanks,
--- In l...@yahoogroups.com, "Harshal Doshi"
wrote:
>
> It seems you are power up the board by power supply and not battery. OKK
> Pull down the pin with 10k. and your problem will solve.
>=20
> which IDE are you using ??
>=20
>=20
>=20
> On Thu, Nov 6, 2008 at 8:30 PM, vicdlr1 wrote:
>=20
> >
> > Yes, clearing IE1 does not make any difference.
> >
> > --- In l...@yahoogroups.com ,
> > "rahul shinde"
> > wrote:
> >
> > >
> > > hi,
> > >
> > > 1) have you clear the interrupt flag in the INT1 isr routine?
> > >
> > >
> > > regards
> > > rahul shinde
> > >
> > >
> > > ----- Original Message -----
> > > From: vicdlr1
> > > To: l...@yahoogroups.com
> > > Sent: Friday, November 07, 2008 7:35 AM
> > > Subject: [lpc900_users] How to use the External interrupt of
LPC932A1
> > >
> > >
> > > Hi,
> > >
> > > I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
> > observe:
> > >
> > > Using INT1:
> > >
> > > 1. setup INT1 (P1.4) as input (P1M1.4=3D1,P1M2.4=3D0)and set it to HI=
.
> > > 2. enabled external interrupt 1 EX1=3D1 and EA=3D1.
> > > 3. When level triggered (IT1=3D0), the interrupt routine at 001BH get=
s
> > > executed continuously irregardless of whether INT1 (pin 10) is
pulled
> > > Hi or low.
> > > 4. When edge triggered (IT1=3D1), the interrupt routine gets to
execute
> > > only once irregardless of INT1 pin's level.
> > >
> > > TIA
> > > Vic
> > >
> >
> >=20=20
> >
>=20
>=20
>=20
> --=20
> Doshi Harshal
> POTENT
> F-27, VRAJWADI COMPLEX,
> Nr. UTKARSH SCHOOL,
> Gadapura,
> VADODARA
> GUJARAT =96 390015, INDIA
> PH: 09429071421
> www.potent.co.in
>
------------------------------------

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: Re: How to use the External interrupt of LPC932A1 - Harshal Doshi - Nov 8 0:24:32 2008
Will send you soon?
On Fri, Nov 7, 2008 at 6:32 PM, vicdlr1
wrote:
> Nope, as I've said pulling up/down P1.4 doesn't make any difference,
> I'm using Keil Uv2 IDE.
>
> Do you have a short sample code that uses INT1 or INT1 that works on
> LPC932A1 I can test against my hardware?
>
> Thanks,
>
> --- In l...@yahoogroups.com ,
> "Harshal Doshi"
>
> wrote:
> >
> > It seems you are power up the board by power supply and not battery. OKK
> > Pull down the pin with 10k. and your problem will solve.
> >
> > which IDE are you using ??
> >
> >
> >
> > On Thu, Nov 6, 2008 at 8:30 PM, vicdlr1 wrote:
> >
> > >
> > > Yes, clearing IE1 does not make any difference.
> > >
> > > --- In l...@yahoogroups.com
> 40yahoogroups.com>,
> > > "rahul shinde"
> > > wrote:
> > >
> > > >
> > > > hi,
> > > >
> > > > 1) have you clear the interrupt flag in the INT1 isr routine?
> > > >
> > > >
> > > > regards
> > > > rahul shinde
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: vicdlr1
> > > > To: l...@yahoogroups.com
> 40yahoogroups.com>
> > > > Sent: Friday, November 07, 2008 7:35 AM
> > > > Subject: [lpc900_users] How to use the External interrupt of
> LPC932A1
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
> > > observe:
> > > >
> > > > Using INT1:
> > > >
> > > > 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> > > > 2. enabled external interrupt 1 EX1=1 and EA=1.
> > > > 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> > > > executed continuously irregardless of whether INT1 (pin 10) is
> pulled
> > > > Hi or low.
> > > > 4. When edge triggered (IT1=1), the interrupt routine gets to
> execute
> > > > only once irregardless of INT1 pin's level.
> > > >
> > > > TIA
> > > > Vic
> > > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Doshi Harshal
> > POTENT
> > F-27, VRAJWADI COMPLEX,
> > Nr. UTKARSH SCHOOL,
> > Gadapura,
> > VADODARA
> > GUJARAT – 390015, INDIA
> > PH: 09429071421
> > www.potent.co.in
> >
>
--
Doshi Harshal
POTENT
F-27, VRAJWADI COMPLEX,
Nr. UTKARSH SCHOOL,
Gadapura,
VADODARA
GUJARAT – 390015, INDIA
PH: 09429071421
www.potent.co.in
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - vicdlr - Nov 8 1:44:23 2008
Rahul,
Attached is a cleaner source tahn the one I sent you yesturday.. Please see if you can
spot where I did wrong and have it run on your hardware. The _Alive_ routine will toggle
P2.5 on every entry to the int1 inerrupt. What I need is to simply toggle once each time
P1.4 is driven low.
On my hardware what happens is that when IT1=0, P2.5 toggles continously whether P1.4 is
Hi or Low.and when IT1=1, it toggles once and stops no matter what p1.4 level is.
Thanks again,
vic
----- Original Message -----
From: rahul shinde
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 12:26 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
hi,
1) have you clear the interrupt flag in the INT1 isr routine?
regards
rahul shinde
----- Original Message -----
From: vicdlr1
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 7:35 AM
Subject: [lpc900_users] How to use the External interrupt of LPC932A1
Hi,
I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
Using INT1:
1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
2. enabled external interrupt 1 EX1=1 and EA=1.
3. When level triggered (IT1=0), the interrupt routine at 001BH gets
executed continuously irregardless of whether INT1 (pin 10) is pulled
Hi or low.
4. When edge triggered (IT1=1), the interrupt routine gets to execute
only once irregardless of INT1 pin's level.
TIA
Vic

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: Re: How to use the External interrupt of LPC932A1 - vicdlr - Nov 8 1:46:58 2008
Harshai,
Attached is my sample code. Please see if you can spot where I did wrong and have it run
on your hardware. The _Alive_ routine will toggle P2.5 on every entry to the int1
inerrupt. What I need is to simply toggle once each time P1.4 is driven low.
On my hardware what happens is that when IT1=0, P2.5 toggles continously whether P1.4 is
Hi or Low.and when IT1=1, it toggles once and stops no matter what p1.4 level is.
Thanks again,
Vic
----- Original Message -----
From: Harshal Doshi
To: l...@yahoogroups.com
Cc: v...@smartqsys.com
Sent: Saturday, November 08, 2008 1:24 PM
Subject: Re: [lpc900_users] Re: How to use the External interrupt of LPC932A1
Will send you soon?
On Fri, Nov 7, 2008 at 6:32 PM, vicdlr1
wrote:
Nope, as I've said pulling up/down P1.4 doesn't make any difference,
I'm using Keil Uv2 IDE.
Do you have a short sample code that uses INT1 or INT1 that works on
LPC932A1 I can test against my hardware?
Thanks,
--- In l...@yahoogroups.com, "Harshal Doshi"
wrote:
>
> It seems you are power up the board by power supply and not battery. OKK
> Pull down the pin with 10k. and your problem will solve.
>
> which IDE are you using ??
>
>
>
> On Thu, Nov 6, 2008 at 8:30 PM, vicdlr1 wrote:
>
> >
> > Yes, clearing IE1 does not make any difference.
> >
> > --- In l...@yahoogroups.com ,
> > "rahul shinde"
> > wrote:
> >
> > >
> > > hi,
> > >
> > > 1) have you clear the interrupt flag in the INT1 isr routine?
> > >
> > >
> > > regards
> > > rahul shinde
> > >
> > >
> > > ----- Original Message -----
> > > From: vicdlr1
> > > To: l...@yahoogroups.com
> > > Sent: Friday, November 07, 2008 7:35 AM
> > > Subject: [lpc900_users] How to use the External interrupt of
LPC932A1
> > >
> > >
> > > Hi,
> > >
> > > I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
> > observe:
> > >
> > > Using INT1:
> > >
> > > 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> > > 2. enabled external interrupt 1 EX1=1 and EA=1.
> > > 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> > > executed continuously irregardless of whether INT1 (pin 10) is
pulled
> > > Hi or low.
> > > 4. When edge triggered (IT1=1), the interrupt routine gets to
execute
> > > only once irregardless of INT1 pin's level.
> > >
> > > TIA
> > > Vic
> > >
> >
> >
> >
>
>
>
> --
> Doshi Harshal
> POTENT
> F-27, VRAJWADI COMPLEX,
> Nr. UTKARSH SCHOOL,
> Gadapura,
> VADODARA
> GUJARAT – 390015, INDIA
> PH: 09429071421
> www.potent.co.in
>
--
Doshi Harshal
POTENT
F-27, VRAJWADI COMPLEX,
Nr. UTKARSH SCHOOL,
Gadapura,
VADODARA
GUJARAT – 390015, INDIA
PH: 09429071421
www.potent.co.in

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - rahul shinde - Nov 9 23:15:25 2008
hi,
i have gone through your code ....
it is working in a simulator in a keil...so code is okay.....
what circuit you added at the int1 port pin pi.4 and how you are giving the high low
signal......
regards
rahul shinde
----- Original Message -----
From: vicdlr
To: l...@yahoogroups.com
Sent: Saturday, November 08, 2008 12:12 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
Rahul,
Attached is a cleaner source tahn the one I sent you yesturday.. Please see if you can
spot where I did wrong and have it run on your hardware. The _Alive_ routine will toggle
P2.5 on every entry to the int1 inerrupt. What I need is to simply toggle once each time
P1.4 is driven low.
On my hardware what happens is that when IT1=0, P2.5 toggles continously whether P1.4 is
Hi or Low.and when IT1=1, it toggles once and stops no matter what p1.4 level is.
Thanks again,
vic
----- Original Message -----
From: rahul shinde
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 12:26 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
hi,
1) have you clear the interrupt flag in the INT1 isr routine?
regards
rahul shinde
----- Original Message -----
From: vicdlr1
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 7:35 AM
Subject: [lpc900_users] How to use the External interrupt of LPC932A1
Hi,
I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
Using INT1:
1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
2. enabled external interrupt 1 EX1=1 and EA=1.
3. When level triggered (IT1=0), the interrupt routine at 001BH gets
executed continuously irregardless of whether INT1 (pin 10) is pulled
Hi or low.
4. When edge triggered (IT1=1), the interrupt routine gets to execute
only once irregardless of INT1 pin's level.
TIA
Vic
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - vicdlr - Nov 10 1:52:54 2008
Rahul,
I have started with P1.4 left open, then I pulled it high with a 10K resistor. Then I
inject a 1khz 5VDC signal or also tried just pulling it down using a jumper.
It appears as though the pin level is not being used as an external interrupt source by
the LPC932A1 uC. It logically appear as a logic low thats why the ISR gets continously run
when IT1=0. and only once when It1=1.
I just wonder if anyone has successfully implemented it on the LPC932A1.I suspect there is
more setting that affects it on the 932.
Thanks,
Vic
----- Original Message -----
From: rahul shinde
To: l...@yahoogroups.com
Sent: Monday, November 10, 2008 12:15 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
hi,
i have gone through your code ....
it is working in a simulator in a keil...so code is okay.....
what circuit you added at the int1 port pin pi.4 and how you are giving the high low
signal......
regards
rahul shinde
----- Original Message -----
From: vicdlr
To: l...@yahoogroups.com
Sent: Saturday, November 08, 2008 12:12 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
Rahul,
Attached is a cleaner source tahn the one I sent you yesturday.. Please see if you can
spot where I did wrong and have it run on your hardware. The _Alive_ routine will toggle
P2.5 on every entry to the int1 inerrupt. What I need is to simply toggle once each time
P1.4 is driven low.
On my hardware what happens is that when IT1=0, P2.5 toggles continously whether P1.4
is Hi or Low.and when IT1=1, it toggles once and stops no matter what p1.4 level is.
Thanks again,
vic
----- Original Message -----
From: rahul shinde
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 12:26 PM
Subject: Re: [lpc900_users] How to use the External interrupt of LPC932A1
hi,
1) have you clear the interrupt flag in the INT1 isr routine?
regards
rahul shinde
----- Original Message -----
From: vicdlr1
To: l...@yahoogroups.com
Sent: Friday, November 07, 2008 7:35 AM
Subject: [lpc900_users] How to use the External interrupt of LPC932A1
Hi,
I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
Using INT1:
1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
2. enabled external interrupt 1 EX1=1 and EA=1.
3. When level triggered (IT1=0), the interrupt routine at 001BH gets
executed continuously irregardless of whether INT1 (pin 10) is pulled
Hi or low.
4. When edge triggered (IT1=1), the interrupt routine gets to execute
only once irregardless of INT1 pin's level.
TIA
Vic
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - Harshal Doshi - Nov 10 10:06:36 2008
Its a stable part and there is letter option for any bug.
I suggest you to try with fresh chip.
On Mon, Nov 10, 2008 at 12:21 PM, vicdlr
wrote:
> Rahul,
>
> I have started with P1.4 left open, then I pulled it high with a 10K
> resistor. Then I inject a 1khz 5VDC signal or also tried just pulling
> it down using a jumper.
>
> It appears as though the pin level is not being used as an external
> interrupt source by the LPC932A1 uC. It logically appear as a logic low
> thats why the ISR gets continously run when IT1=0. and only once when It1=1.
>
> I just wonder if anyone has successfully implemented it on the LPC932A1.I
> suspect there is more setting that affects it on the 932.
>
> Thanks,
> Vic
>
> ----- Original Message -----
> *From:* rahul shinde
> *To:* l...@yahoogroups.com
> *Sent:* Monday, November 10, 2008 12:15 PM
> *Subject:* Re: [lpc900_users] How to use the External interrupt of
> LPC932A1
>
> hi,
> i have gone through your code ....
> it is working in a simulator in a keil...so code is okay.....
> what circuit you added at the int1 port pin pi.4 and how you are giving the
> high low signal......
>
> regards
> rahul shinde
> ----- Original Message -----
> *From:* vicdlr
> *To:* l...@yahoogroups.com
> *Sent:* Saturday, November 08, 2008 12:12 PM
> *Subject:* Re: [lpc900_users] How to use the External interrupt of
> LPC932A1
>
> Rahul,
>
> Attached is a cleaner source tahn the one I sent you yesturday.. Please see
> if you can spot where I did wrong and have it run on your hardware. The
> _Alive_ routine will toggle P2.5 on every entry to the int1 inerrupt. What I
> need is to simply toggle once each time P1.4 is driven low.
>
> On my hardware what happens is that when IT1=0, P2.5 toggles continously
> whether P1.4 is Hi or Low.and when IT1=1, it toggles once and stops no
> matter what p1.4 level is.
>
> Thanks again,
> vic
>
> ----- Original Message -----
> *From:* rahul shinde
> *To:* l...@yahoogroups.com
> *Sent:* Friday, November 07, 2008 12:26 PM
> *Subject:* Re: [lpc900_users] How to use the External interrupt of
> LPC932A1
>
> hi,
>
> 1) have you clear the interrupt flag in the INT1 isr routine?
> regards
> rahul shinde
>
> ----- Original Message -----
> *From:* vicdlr1
> *To:* l...@yahoogroups.com
> *Sent:* Friday, November 07, 2008 7:35 AM
> *Subject:* [lpc900_users] How to use the External interrupt of LPC932A1
>
> Hi,
>
> I can't seem to use the INT0 or INT1 on LPC932A1. This is what I observe:
>
> Using INT1:
>
> 1. setup INT1 (P1.4) as input (P1M1.4=1,P1M2.4=0)and set it to HI.
> 2. enabled external interrupt 1 EX1=1 and EA=1.
> 3. When level triggered (IT1=0), the interrupt routine at 001BH gets
> executed continuously irregardless of whether INT1 (pin 10) is pulled
> Hi or low.
> 4. When edge triggered (IT1=1), the interrupt routine gets to execute
> only once irregardless of INT1 pin's level.
>
> TIA
> Vic
>
>
>
--
Doshi Harshal
POTENT
F-27, VRAJWADI COMPLEX,
Nr. UTKARSH SCHOOL,
Gadapura,
VADODARA
GUJARAT – 390015, INDIA
PH: 09429071421
www.potent.co.in

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: How to use the External interrupt of LPC932A1 - vicdlr1 - Nov 10 22:23:13 2008
Rahul,
You're right, it a defective LPC932A1 with other features ok but not
INT0 nor INT1.
Thanks,
Vic
--- In l...@yahoogroups.com, "Harshal Doshi"
wrote:
>
> Its a stable part and there is letter option for any bug.
>=20
> I suggest you to try with fresh chip.
>=20
> On Mon, Nov 10, 2008 at 12:21 PM, vicdlr wrote:
>=20
> > Rahul,
> >
> > I have started with P1.4 left open, then I pulled it high with a 10K
> > resistor. Then I inject a 1khz 5VDC signal or also tried just pulling
> > it down using a jumper.
> >
> > It appears as though the pin level is not being used as an external
> > interrupt source by the LPC932A1 uC. It logically appear as a
logic low
> > thats why the ISR gets continously run when IT1=3D0. and only once
when It1=3D1.
> >
> > I just wonder if anyone has successfully implemented it on the
LPC932A1.I
> > suspect there is more setting that affects it on the 932.
> >
> > Thanks,
> > Vic
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > *From:* rahul shinde
> > *To:* l...@yahoogroups.com
> > *Sent:* Monday, November 10, 2008 12:15 PM
> > *Subject:* Re: [lpc900_users] How to use the External interrupt of
> > LPC932A1
> >
> > hi,
> > i have gone through your code ....
> > it is working in a simulator in a keil...so code is okay.....
> > what circuit you added at the int1 port pin pi.4 and how you are
giving the
> > high low signal......
> >
> > regards
> > rahul shinde
> >
> >
> > ----- Original Message -----
> > *From:* vicdlr
> > *To:* l...@yahoogroups.com
> > *Sent:* Saturday, November 08, 2008 12:12 PM
> > *Subject:* Re: [lpc900_users] How to use the External interrupt of
> > LPC932A1
> >
> > Rahul,
> >
> > Attached is a cleaner source tahn the one I sent you yesturday..
Please see
> > if you can spot where I did wrong and have it run on your
hardware. The
> > _Alive_ routine will toggle P2.5 on every entry to the int1
inerrupt. What I
> > need is to simply toggle once each time P1.4 is driven low.
> >
> > On my hardware what happens is that when IT1=3D0, P2.5 toggles
continously
> > whether P1.4 is Hi or Low.and when IT1=3D1, it toggles once and stops n=
o
> > matter what p1.4 level is.
> >
> > Thanks again,
> > vic
> >
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > *From:* rahul shinde
> > *To:* l...@yahoogroups.com
> > *Sent:* Friday, November 07, 2008 12:26 PM
> > *Subject:* Re: [lpc900_users] How to use the External interrupt of
> > LPC932A1
> >
> > hi,
> >
> > 1) have you clear the interrupt flag in the INT1 isr routine?
> >
> >
> > regards
> > rahul shinde
> >
> >
> >
> > ----- Original Message -----
> > *From:* vicdlr1
> > *To:* l...@yahoogroups.com
> > *Sent:* Friday, November 07, 2008 7:35 AM
> > *Subject:* [lpc900_users] How to use the External interrupt of
LPC932A1
> >
> > Hi,
> >
> > I can't seem to use the INT0 or INT1 on LPC932A1. This is what I
observe:
> >
> > Using INT1:
> >
> > 1. setup INT1 (P1.4) as input (P1M1.4=3D1,P1M2.4=3D0)and set it to HI.
> > 2. enabled external interrupt 1 EX1=3D1 and EA=3D1.
> > 3. When level triggered (IT1=3D0), the interrupt routine at 001BH gets
> > executed continuously irregardless of whether INT1 (pin 10) is pulled
> > Hi or low.
> > 4. When edge triggered (IT1=3D1), the interrupt routine gets to execute
> > only once irregardless of INT1 pin's level.
> >
> > TIA
> > Vic
> >
> >=20=20=20=20
> >
>=20
>=20
>=20
> --=20
> Doshi Harshal
> POTENT
> F-27, VRAJWADI COMPLEX,
> Nr. UTKARSH SCHOOL,
> Gadapura,
> VADODARA
> GUJARAT =96 390015, INDIA
> PH: 09429071421
> www.potent.co.in
>
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )