Yahoo Groups archive

Lpc2000

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

Thread

interrupt external

interrupt external

2005-08-29 by dasbento@aeiou.pt

Hello,

anyone knows if is possible change the mode of the external interrupt
when the arm is in operation, i.e, I initialize the external interrupt
as falling edge after I configure VPBDIV and inside the function of
the interruption I want to disable the falling edge and enable the
rising edge. 

Is possible to do this because the problem of VPBDIV??
When I doing this change the VPBDIV will change??

I'm using lpc2129!!

Thanks
        Domingos
_________________________________________________________
CEAC Cursos de forma\ufffd\ufffdo profissional - pe\ufffda informa\ufffd\ufffdes aqui.:
http://ceac.online.pt/

Re: interrupt external

2005-08-29 by Ken Wada

Don't do it! If you can...

I have made various vain attempts at doing this...but I cannot get 
this to work...(I am using the LPC2214)

Theoretically, it seems possible, but I ran out of patience, and 
worked around the default behavior (low ... level sensitive interrupt)

Do a search on this msg board for interrupts, and you will see a bunch 
of postings on the workaround...

Yes, the problem does have something to do witht the VPBDIV

Ken Wada

--- In lpc2000@yahoogroups.com, dasbento@a... wrote:
> Hello,
> 
> anyone knows if is possible change the mode of the external 
interrupt
> when the arm is in operation, i.e, I initialize the external 
interrupt
Show quoted textHide quoted text
> as falling edge after I configure VPBDIV and inside the function of
> the interruption I want to disable the falling edge and enable the
> rising edge. 
> 
> Is possible to do this because the problem of VPBDIV??
> When I doing this change the VPBDIV will change??
> 
> I'm using lpc2129!!
> 
> Thanks
>         Domingos
> _________________________________________________________
> CEAC Cursos de formação profissional - peça informações aqui.:
> http://ceac.online.pt/

Re: interrupt external

2005-08-30 by Zdravko

I am using LPC2214. A few months ago I have the same problem. What I
found is that you are going to face problems not only with VPBDIV if
you do reconfigure EINT mode. But with all the consecutive writings to
the any of the VPB peripheral registers. There was not problem with
the registers of VIC which belongs to AHB peripherals.
I try to use the recommended workaround but with partial success. I
did not succeed to reconfigure EINT0.
Now I use EINT0 in the default mode as Ken Wada suggested too.
If you need External Interrupt with dynamically configured mode there
was a post in this group with the idea to use IRQ of a Capture of a
Timer if you have a free one.



--- In lpc2000@yahoogroups.com, dasbento@a... wrote:
Show quoted textHide quoted text
> Hello,
> 
> anyone knows if is possible change the mode of the external interrupt
> when the arm is in operation, i.e, I initialize the external interrupt
> as falling edge after I configure VPBDIV and inside the function of
> the interruption I want to disable the falling edge and enable the
> rising edge. 
> 
> Is possible to do this because the problem of VPBDIV??
> When I doing this change the VPBDIV will change??
> 
> I'm using lpc2129!!
> 
> Thanks
>         Domingos
> _________________________________________________________
> CEAC Cursos de formação profissional - peça informações aqui.:
> http://ceac.online.pt/

Re: [lpc2000] Re: interrupt external

2005-08-30 by dasbento@aeiou.pt

Thanks Zdravko and Ken Wada!!



Citando Zdravko <bodhisatva@...>:

> I am using LPC2214. A few months ago I have the same problem. What I
> found is that you are going to face problems not only with VPBDIV if
> you do reconfigure EINT mode. But with all the consecutive writings to
> the any of the VPB peripheral registers. There was not problem with
> the registers of VIC which belongs to AHB peripherals.
> I try to use the recommended workaround but with partial success. I
> did not succeed to reconfigure EINT0.
> Now I use EINT0 in the default mode as Ken Wada suggested too.
> If you need External Interrupt with dynamically configured mode there
> was a post in this group with the idea to use IRQ of a Capture of a
> Timer if you have a free one.
>
>
>
> --- In lpc2000@yahoogroups.com, dasbento@a... wrote:
> > Hello,
> > 
> > anyone knows if is possible change the mode of the external interrupt
> > when the arm is in operation, i.e, I initialize the external interrupt
> > as falling edge after I configure VPBDIV and inside the function of
> > the interruption I want to disable the falling edge and enable the
> > rising edge. 
> > 
> > Is possible to do this because the problem of VPBDIV??
> > When I doing this change the VPBDIV will change??
> > 
> > I'm using lpc2129!!
> > 
> > Thanks
> >         Domingos
> > _________________________________________________________
> > CEAC Cursos de forma\ufffd\ufffdo profissional - pe\ufffda informa\ufffd\ufffdes aqui.:
> > http://ceac.online.pt/
>
>
>
>
>
>  
> Yahoo! Groups Links
>
>
>
>  
>
>
> 

_________________________________________________________
CEAC Cursos de forma\ufffd\ufffdo profissional - pe\ufffda informa\ufffd\ufffdes aqui.:
http://ceac.online.pt/

Re: [lpc2000] Re: interrupt external

2005-08-30 by Clovis Costa

Hello my friends!

I\ufffdm using something similar it!
first u need clear all interrupts, so u will set
extpolar and extmode.

see it!
it work very well with my program test!


   VICIntEnClear   = 0xFFFFFFFF;
   VICSoftIntClear = 0xFFFFFFFF;
   EXTPOLAR_bit.EXTPOLAR0 = 0x00;
   EXTMODE_bit.EXTMODE0   = 0x00;  
   EXTINT_bit.EINT0 = 0x00;


--- Zdravko <bodhisatva@...> wrote:


---------------------------------
I am using LPC2214. A few months ago I have the same
problem. What I
found is that you are going to face problems not only
with VPBDIV if
you do reconfigure EINT mode. But with all the
consecutive writings to
the any of the VPB peripheral registers. There was not
problem with
the registers of VIC which belongs to AHB peripherals.
I try to use the recommended workaround but with
partial success. I
did not succeed to reconfigure EINT0.
Now I use EINT0 in the default mode as Ken Wada
suggested too.
If you need External Interrupt with dynamically
configured mode there
was a post in this group with the idea to use IRQ of a
Capture of a
Timer if you have a free one.



--- In lpc2000@yahoogroups.com, dasbento@a... wrote:
> Hello,
> 
> anyone knows if is possible change the mode of the
external interrupt
> when the arm is in operation, i.e, I initialize the
external interrupt
> as falling edge after I configure VPBDIV and inside
the function of
> the interruption I want to disable the falling edge
and enable the
> rising edge. 
> 
> Is possible to do this because the problem of
VPBDIV??
> When I doing this change the VPBDIV will change??
> 
> I'm using lpc2129!!
> 
> Thanks
>         Domingos
>
_________________________________________________________
> CEAC Cursos de forma\ufffd\ufffdo profissional - pe\ufffda
informa\ufffd\ufffdes aqui.:
> http://ceac.online.pt/


  
    
---------------------------------
  YAHOO! GROUPS LINKS

  
    Visit your group "lpc2000" on the web.
   
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
   
    Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.

  
---------------------------------




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Re: [lpc2000] interrupt external

2005-08-31 by Jean-Rene David

* dasbento@... <dasbento@...>:
> anyone knows if is possible change the mode of
> the external interrupt when the arm is in
> operation,

It seems the external interrupt registers are
seriously broken.

I have read the LPC2214's errata sheet, namely
version 1.6. Three erratas concern the external
interrupt registers: EXTINT.1, EXTINT.2 and
VPBDIV.1. 

However what I found was that the workarounds
suggested:
   
   a. were not always necessary
   b. didn't always work

Which is a bit unfortunate.

In a bit more detail:

I was able to configure EXTINT0 as rising edge
sensitive *without* implementing any of the
workarounds.

I was *not* able to configure EXTINT0 as rising
edge *with* all the workarounds.

I was able to configure EXTINT3 as rising edge
sensitive only with all the workarounds *and* only
if EXTINT0 had not been configured previously.

If EXTINT0 had been configured as rising-edge
sensitive first, then I wasn't able to configure
EXTINT3 as rising-edge at all, workaround or not.

JR

Re: interrupt external

2005-08-31 by y4krys

--- In lpc2000@yahoogroups.com, Jean-Rene David <jrdavid@m...> wrote:
> * dasbento@a... <dasbento@a...>:
> > anyone knows if is possible change the mode of
> > the external interrupt when the arm is in
> > operation,
> 
> It seems the external interrupt registers are
> seriously broken.
> 
> I have read the LPC2214's errata sheet, namely
> version 1.6. Three erratas concern the external
> interrupt registers: EXTINT.1, EXTINT.2 and
> VPBDIV.1. 
> 
> However what I found was that the workarounds
> suggested:
>    
>    a. were not always necessary
>    b. didn't always work
> 
> Which is a bit unfortunate.
> 
> In a bit more detail:
> 
> I was able to configure EXTINT0 as rising edge
> sensitive *without* implementing any of the
> workarounds.
> 
> I was *not* able to configure EXTINT0 as rising
> edge *with* all the workarounds.
> 
> I was able to configure EXTINT3 as rising edge
> sensitive only with all the workarounds *and* only
> if EXTINT0 had not been configured previously.
> 
> If EXTINT0 had been configured as rising-edge
> sensitive first, then I wasn't able to configure
> EXTINT3 as rising-edge at all, workaround or not.
> 
> JR

Does anybody know if the problem is common to all the LPC2xxx family?
I'm considering using an LPC2xxx processor in my next design.

Krys

RE: [lpc2000] Re: interrupt external

2005-09-01 by Bruce Paterson

> -----Original Message-----
> From: lpc2000@yahoogroups.com 
> [mailto:lpc2000@yahoogroups.com] On Behalf Of y4krys
> Sent: Thursday, 01 September, 2005 3:43 AM
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] Re: interrupt external
> 
> --- In lpc2000@yahoogroups.com, Jean-Rene David <jrdavid@m...> wrote:
> > * dasbento@a... <dasbento@a...>:
> > > anyone knows if is possible change the mode of the external 
> > > interrupt when the arm is in operation,
> > 
> > It seems the external interrupt registers are seriously broken.
> > 
> > I have read the LPC2214's errata sheet, namely version 1.6. Three 
> > erratas concern the external interrupt registers: EXTINT.1, 
> EXTINT.2 
> > and VPBDIV.1.
> > 
> > However what I found was that the workarounds
> > suggested:
> >    
> >    a. were not always necessary
> >    b. didn't always work
> > 
> > Which is a bit unfortunate.
> > 
> > In a bit more detail:
> > 
> > I was able to configure EXTINT0 as rising edge sensitive *without* 
> > implementing any of the workarounds.
> > 
> > I was *not* able to configure EXTINT0 as rising edge *with* all the 
> > workarounds.
> > 
> > I was able to configure EXTINT3 as rising edge sensitive 
> only with all 
> > the workarounds *and* only if EXTINT0 had not been configured 
> > previously.
> > 
> > If EXTINT0 had been configured as rising-edge sensitive 
> first, then I 
> > wasn't able to configure
> > EXTINT3 as rising-edge at all, workaround or not.
> > 
> > JR
> 
> Does anybody know if the problem is common to all the LPC2xxx family?
> I'm considering using an LPC2xxx processor in my next design.

I also have had odd problems with getting combinations on an lpc2124. I
couldn't seem to get edge triggered EINT0 working at the same time as
edge triggered EINT2 and level+or triggered EINT3. As it turned out I
was able to work around the problem for my application so I didn't
pursue it furthur, but there does seem to be something broken there.

Cheers,
Bruce

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.