EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

ARM FAST GPIO PROBLEM

Started by abhay September 22, 2006
hi
i m working on ARM micro LPC2138 but m unable to initialise or to make
work its
fast GPIO.i hav configured the settings for fast GPIO in SCS register
but still its not working.
i m trying this with simple example to toggle LEDs connected to port
pins.however i can do
the same wid legacy GPIO registers
i want to use the additional features wid fast GPIO.
is there any other setting for that ?
plz do help

abhay wrote:
> hi > i m working on ARM micro LPC2138 but m unable to initialise or to make > work its > fast GPIO.i hav configured the settings for fast GPIO in SCS register > but still its not working. > i m trying this with simple example to toggle LEDs connected to port > pins.however i can do > the same wid legacy GPIO registers > i want to use the additional features wid fast GPIO.
So where in the LPC21"38" manual did you read that it had fast I/O? > is there any other setting for that ? yes, the setting is called "LPC2148" > plz do help RTM *Peter*
Hi Even i have never heard about the fast GPIO in LPC2138.

Yes but you can certainly make the processor speed faster upto 60 MHz
using its PLL Connect Block.

Just small settings for that to make it working on 60MHz.

Regards,
Anish
anis.chauhan@gmail.com

Peter Jakacki wrote:
> abhay wrote: > > hi > > i m working on ARM micro LPC2138 but m unable to initialise or to make > > work its > > fast GPIO.i hav configured the settings for fast GPIO in SCS register > > but still its not working. > > i m trying this with simple example to toggle LEDs connected to port > > pins.however i can do > > the same wid legacy GPIO registers > > i want to use the additional features wid fast GPIO. > > So where in the LPC21"38" manual did you read that it had fast I/O? > > > is there any other setting for that ? > yes, the setting is called "LPC2148" > > > plz do help > RTM > > *Peter*
hi,
thanx for ur reply
i m getting confused . i hav read user manual for LPC2138 where it is
written on page 78
that fast GPIO are available for LPC213x family.

also i dont need fast GPIO that much for speed but i want to use its
byte addressable &
masking features for my applications.

so wat i should do. plz suggest

"abhay" <abhaym244@gmail.com> wrote in message
news:1158945973.690987.240770@e3g2000cwe.googlegroups.com...
> > hi, > thanx for ur reply > i m getting confused . i hav read user manual for LPC2138 where it is > written on page 78 > that fast GPIO are available for LPC213x family. > > also i dont need fast GPIO that much for speed but i want to use its > byte addressable & > masking features for my applications. > > so wat i should do. plz suggest >
There is nothing in the current LPC2138 manual regarding fast I/O, and there is certainly nothing on page 78 of the LPC2138 user manual that is on NXP's site. You are confused, and must be thinking of the LPC2148. I would suggest that if you must use the LPC213x series that you find another way to handle your masking, which could be done in software. Mike
abhay wrote:
> > thanx for ur reply
. thanks your
> i m getting confused . i hav read user manual for LPC2138 where it is
. I'm . I have
> written on page 78 that fast GPIO are available for LPC213x family. > > also i dont need fast GPIO that much for speed but i want to use its
. Also I don't I
> byte addressable & masking features for my applications.
. and
> > so wat i should do. plz suggest
. what I please I don't know how much of the above is due to language difficulties, which are forgiveable, and how much is due to laziness and failure to proofread, which are not. But if you are not told of the faults you will not be able to correct them. Correction makes your article much easier to read, and encourages others to respond. Because some of the problems are probably a language barrier, I have ignored faulty word order, which often seriously affects the English meanings. The apostrophe signifies a missing letter. Thus "I'm" is a substitute for "I am". "don't" is a substitute for "do not". These arise out of the normal pronunciation of the phrases. The first person pronoun is I (capitalized). The first word of sentences is always capitalized, unless referring to something like a lower case C identifier. Sentences are usually terminated with a period and two spaces. Awkward abbreviations do nothing but annoy the reader. You should also always include adequate quotations so that your article stands by itself. Google is not usenet, it is only a flawed interface to the system. See the links below. I hope you take this as helpful criticism. Better communications assist us all. -- Some informative links: news:news.announce.newusers http://www.geocities.com/nnqweb/ http://www.catb.org/~esr/faqs/smart-questions.html http://www.caliburn.nl/topposting.html http://www.netmeister.org/news/learn2quote.html -- Posted via a free Usenet account from http://www.teranews.com
Peter Jakacki escreveu:

> abhay wrote: > > hi > > i m working on ARM micro LPC2138 but m unable to initialise or to make > > work its > > fast GPIO.i hav configured the settings for fast GPIO in SCS register > > but still its not working. > > i m trying this with simple example to toggle LEDs connected to port > > pins.however i can do > > the same wid legacy GPIO registers > > i want to use the additional features wid fast GPIO. > > So where in the LPC21"38" manual did you read that it had fast I/O? > > > is there any other setting for that ? > yes, the setting is called "LPC2148" > > > plz do help > RTM > > *Peter*
The latest LPC2138/01 do have fast GPIO. See the latest datasheet at http://www.standardics.nxp.com/products/lpc2000/pdf/lpc2131.lpc2132.lpc2134.lpc2136.lpc2138.pdf -- Francisco
frantas@gmail.com wrote:
> The latest LPC2138/01 do have fast GPIO. See the latest datasheet at > http://www.standardics.nxp.com/products/lpc2000/pdf/lpc2131.lpc2132.lpc2134.lpc2136.lpc2138.pdf
Philips said that they would eventually upgrade the GPIO on the 2138. If the datasheet has just been updated then do you think that the chip that was produced 3 months ago or sitting on the distributors shelves will be upgraded as well? The fast GPIO parts are denoted by the /01 suffix. There are more enhancements such as: 2.1 Enhancements brought by LPC213x/01 devices * Fast GPIO ports enable port pin toggling up to 3.5 times faster than the original LPC213x. They also allow for a port pin to be read at any time regardless of its function. * Dedicated result registers for ADC(s) reduce interrupt overhead. * UART0/1 include fractional baud rate generator, auto-bauding capabilities and handshake flow-control fully implemented in hardware. * Additional BOD control enables further reduction of power consumption. Once again it is the same advice, RTM....carefully. *Peter*
"Mike Anton" <manton@nocompusmart.spamab.ca> wrote in message
news:_bZQg.35278$E67.3323@clgrps13...
> > "abhay" <abhaym244@gmail.com> wrote in message > news:1158945973.690987.240770@e3g2000cwe.googlegroups.com... > > > > hi, > > thanx for ur reply > > i m getting confused . i hav read user manual for LPC2138 where it is > > written on page 78 > > that fast GPIO are available for LPC213x family. > > > > also i dont need fast GPIO that much for speed but i want to use its > > byte addressable & > > masking features for my applications. > > > > so wat i should do. plz suggest > > > > There is nothing in the current LPC2138 manual regarding fast I/O, and > there is certainly nothing on page 78 of the LPC2138 user manual > that is on NXP's site. You are confused, and must be thinking of the > LPC2148. > > I would suggest that if you must use the LPC213x series that you find > another way to handle your masking, which could be done in software. > > Mike > >
Ok, I stand corrected. There is a new series called LPC213x/01 that does have fast I/O. Make sure you are using one of these /01 parts, or there is no fast I/O. Make sure you are only using the fast I/O registers. You can't mix fast and slow I/O. If fast I/O is enabled, you must use the fast I/O registers, the slow I/O registers will not work. Mike
Peter Jakacki escreveu:

> frantas@gmail.com wrote: > > The latest LPC2138/01 do have fast GPIO. See the latest datasheet at > > http://www.standardics.nxp.com/products/lpc2000/pdf/lpc2131.lpc2132.lpc2134.lpc2136.lpc2138.pdf > > Philips said that they would eventually upgrade the GPIO on the 2138. If > the datasheet has just been updated then do you think that the chip that > was produced 3 months ago or sitting on the distributors shelves will be > upgraded as well?
I didn't say that, not even implied.
> > The fast GPIO parts are denoted by the /01 suffix.
Yes, you can see it in my post. As you said ' yes, the setting is called "LPC2148"', I thought maybe you were not aware of the new parts. Regards, -- Francisco

The 2024 Embedded Online Conference