Yahoo Groups archive

Lpc2000

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

Thread

Newbie with LPC2106 - Please help

Newbie with LPC2106 - Please help

2004-08-26 by acetoel

Hello...I'm migrating from Atmel AVR to LPC2106. I would like to 
know what things do I have to consider when using this 
microcontroller. I'm programming with ARM Developer Suite 1.2. Is 
the the best compiler for this MCU, or it's another one better?. Can 
I add more Program Memory to the LPC2106? 
I will appreciate, any kind of help... 
Thanks 
Ezequiel

Re: Newbie with LPC2106 - Please help

2004-08-26 by embeddedjanitor

--- In lpc2000@yahoogroups.com, "acetoel" <acetoel@y...> wrote:
> Hello...I'm migrating from Atmel AVR to LPC2106. I would like to 
> know what things do I have to consider when using this 
> microcontroller. I'm programming with ARM Developer Suite 1.2. Is 
> the the best compiler for this MCU, or it's another one better?. Can 
> I add more Program Memory to the LPC2106? 
> I will appreciate, any kind of help... 
> Thanks 
> Ezequiel

In general, you'll find it a reasonably big jump moving to ARM from 
something like AVR. There's more to set up and fiddle with and learn, 
but then you're going to get to learn about a powerful CPU 
architecture that will be useful for a good while.

You can't add more memory to an LPC2106 since the bus is not exposed.

For the most part, working with the LPC2106's peripherals will be much 
like anything else you've worked with. One thing to watch out for 
though is that the GPIO pins on the LPCxxx are slow. With a 60MHz CPU 
you can't generate more than approx 3MHz square wave out of a pin by 
pin toggling because the GPIO peripheral is very slow.

Hope that helps a bit.

-- Charles

Re: Newbie with LPC2106 - Please help

2004-08-26 by acetoel

Thanks. A 3MHZ square wave? I think that AVR can't reach that..It's 
only 16MIPS at 16MHZ, and I sometimes I feel that the processor 
works slowly...
What about the compiler? and then... Is there any web site with 
project using this MCU, so I can take a look at what people do and 
how they work with the 2106.
Thanks very much
Ezequiel

--- In lpc2000@yahoogroups.com, "embeddedjanitor" <manningc2@a...> 
wrote:
> --- In lpc2000@yahoogroups.com, "acetoel" <acetoel@y...> wrote:
> > Hello...I'm migrating from Atmel AVR to LPC2106. I would like to 
> > know what things do I have to consider when using this 
> > microcontroller. I'm programming with ARM Developer Suite 1.2. 
Is 
> > the the best compiler for this MCU, or it's another one better?. 
Can 
> > I add more Program Memory to the LPC2106? 
> > I will appreciate, any kind of help... 
> > Thanks 
> > Ezequiel
> 
> In general, you'll find it a reasonably big jump moving to ARM 
from 
> something like AVR. There's more to set up and fiddle with and 
learn, 
> but then you're going to get to learn about a powerful CPU 
> architecture that will be useful for a good while.
> 
> You can't add more memory to an LPC2106 since the bus is not 
exposed.
> 
> For the most part, working with the LPC2106's peripherals will be 
much 
> like anything else you've worked with. One thing to watch out for 
> though is that the GPIO pins on the LPCxxx are slow. With a 60MHz 
CPU 
> you can't generate more than approx 3MHz square wave out of a pin 
by 
Show quoted textHide quoted text
> pin toggling because the GPIO peripheral is very slow.
> 
> Hope that helps a bit.
> 
> -- Charles

Re: [lpc2000] Re: Newbie with LPC2106 - Please help

2004-08-26 by capiman@t-online.de

> What about the compiler? and then... Is there any web site with
> project using this MCU, so I can take a look at what people do and
> how they work with the 2106.

Please read through old posts of this mailing-list on website
http://groups.yahoo.com/group/lpc2000/

There were a lot of discussion, which help you to come into this new chip.
Also look in the file section, there is a lot of example code for the 
LPC2106.

Regards,

         Martin

Re: [lpc2000] Re: Newbie with LPC2106 - Please help

2004-08-26 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "acetoel" <acetoel@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, August 26, 2004 10:28 AM
Subject: [lpc2000] Re: Newbie with LPC2106 - Please help


> Thanks. A 3MHZ square wave? I think that AVR can't reach that..It's 
> only 16MIPS at 16MHZ, and I sometimes I feel that the processor 
> works slowly...
> What about the compiler? and then... Is there any web site with 
> project using this MCU, so I can take a look at what people do and 
> how they work with the 2106.

Also look at http://groups.yahoo.com/group/gnuarm/

Leon
--
Leon Heller, G1HSM
http://www.geocities.com/leon_heller

Re: Newbie with LPC2106 - Please help

2004-08-26 by Tomas Ponzi

--- In lpc2000@yahoogroups.com, "acetoel" <acetoel@y...> wrote:
> Hello...I'm migrating from Atmel AVR to LPC2106. I would like to 
> know what things do I have to consider when using this 
> microcontroller. I'm programming with ARM Developer Suite 1.2. Is 
> the the best compiler for this MCU, or it's another one better?. 
Can 
> I add more Program Memory to the LPC2106? 
> I will appreciate, any kind of help... 
> Thanks 
> Ezequiel

Hi,

I myself am in the process of moving from AVR development to the ARM 
LPC2000 series.  I look forward to it very much although the AVR 
series is brilliant and has served me dearly (!).  I will continue 
using the AVR for smaller projects.

My intention is to start with a simple development board for the 
LPC2106. Take a look at www.olimex.com under MSP PIC AVR.  There is 
a section with ARM development boards for different members of the 
LPC2000 family.  They will have a development board available soon 
for the LPC2214 which has external memory - very exciting! I have 
had very good experience with OLIMEX in the past and they offer good 
products at a very good price. 
Olimex also offers a ARM-JTAG dongle for programming and recommends 
using  CrossWork for ARM from Rowley Associates (www.rowley.co.uk)

This is the path I intend to take.  Hope this helps. 

Tomas

Re: Newbie with LPC2106 - Please help

2004-08-26 by acetoel

Well...I will try to make my own board, because importing things 
from other country is very expensive here in Argentina. I will make 
the JTAG (parallel port) Interfase, to program it. Does the LPC2000 
comes with a "boot" programmed (as some micros has), or it's empty 
as a stand alone microcontroller?
Today Fedex will bring my the micros, so I will start doing this 
this night.
Thanks 
Ezequiel


--- In lpc2000@yahoogroups.com, "Tomas Ponzi" <tap@t...> wrote:
> --- In lpc2000@yahoogroups.com, "acetoel" <acetoel@y...> wrote:
> > Hello...I'm migrating from Atmel AVR to LPC2106. I would like to 
> > know what things do I have to consider when using this 
> > microcontroller. I'm programming with ARM Developer Suite 1.2. 
Is 
> > the the best compiler for this MCU, or it's another one better?. 
> Can 
> > I add more Program Memory to the LPC2106? 
> > I will appreciate, any kind of help... 
> > Thanks 
> > Ezequiel
> 
> Hi,
> 
> I myself am in the process of moving from AVR development to the 
ARM 
> LPC2000 series.  I look forward to it very much although the AVR 
> series is brilliant and has served me dearly (!).  I will continue 
> using the AVR for smaller projects.
> 
> My intention is to start with a simple development board for the 
> LPC2106. Take a look at www.olimex.com under MSP PIC AVR.  There 
is 
> a section with ARM development boards for different members of the 
> LPC2000 family.  They will have a development board available soon 
> for the LPC2214 which has external memory - very exciting! I have 
> had very good experience with OLIMEX in the past and they offer 
good 
> products at a very good price. 
> Olimex also offers a ARM-JTAG dongle for programming and 
recommends 
Show quoted textHide quoted text
> using  CrossWork for ARM from Rowley Associates (www.rowley.co.uk)
> 
> This is the path I intend to take.  Hope this helps. 
> 
> Tomas

Re: [lpc2000] Re: Newbie with LPC2106 - Please help

2004-08-26 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "acetoel" <acetoel@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, August 26, 2004 2:09 PM
Subject: [lpc2000] Re: Newbie with LPC2106 - Please help


> Well...I will try to make my own board, because importing things
> from other country is very expensive here in Argentina. I will make
> the JTAG (parallel port) Interfase, to program it. Does the LPC2000
> comes with a "boot" programmed (as some micros has), or it's empty
> as a stand alone microcontroller?
> Today Fedex will bring my the micros, so I will start doing this
> this night.

Have a look at my web page. I've provided the Gerber and drill files for a
simple PCB I designed. I've put a design for the JTAG interface in the Group
Files area.

Leon
--
Leon Heller, G1HSM
http://www.geocities.com/leon_heller

Re: Newbie with LPC2106 - Please help

2004-08-26 by acetoel

Just a simple question about the cristal. I know that this MCU (as 
some PICs) has internal PLL. The question is, which is te range of 
External Cristal OSC, and then between what ranges I have to set the 
Internal PLL. I read somewhere, don't remember where, that the 
external cristal should be between 1MHz and 25Mhz, and in the PLL 
Calculator program, there's a maximun of 60Mhz for the clock.
Which is the more recomendable selection, and which one gives more 
performance (higher Bus Clock, Higher MCU clock...and so on).
Thanks for the patience...
Ezequiel

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon_heller@h...> 
wrote:
> ----- Original Message ----- 
> From: "acetoel" <acetoel@y...>
> To: <lpc2000@yahoogroups.com>
> Sent: Thursday, August 26, 2004 2:09 PM
> Subject: [lpc2000] Re: Newbie with LPC2106 - Please help
> 
> 
> > Well...I will try to make my own board, because importing things
> > from other country is very expensive here in Argentina. I will 
make
> > the JTAG (parallel port) Interfase, to program it. Does the 
LPC2000
> > comes with a "boot" programmed (as some micros has), or it's 
empty
> > as a stand alone microcontroller?
> > Today Fedex will bring my the micros, so I will start doing this
> > this night.
> 
> Have a look at my web page. I've provided the Gerber and drill 
files for a
> simple PCB I designed. I've put a design for the JTAG interface in 
the Group
Show quoted textHide quoted text
> Files area.
> 
> Leon
> --
> Leon Heller, G1HSM
> http://www.geocities.com/leon_heller

Re: [lpc2000] Re: Newbie with LPC2106 - Please help

2004-08-26 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "acetoel" <acetoel@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, August 26, 2004 3:03 PM
Subject: [lpc2000] Re: Newbie with LPC2106 - Please help


> Just a simple question about the cristal. I know that this MCU (as
> some PICs) has internal PLL. The question is, which is te range of
> External Cristal OSC, and then between what ranges I have to set the
> Internal PLL. I read somewhere, don't remember where, that the
> external cristal should be between 1MHz and 25Mhz, and in the PLL
> Calculator program, there's a maximun of 60Mhz for the clock.
> Which is the more recomendable selection, and which one gives more
> performance (higher Bus Clock, Higher MCU clock...and so on).
> Thanks for the patience...

I usually use 10 MHz as they are easy to obtain. There are better
frequencies like 14.7456 MHz.

Leon

Re: [lpc2000] Re: Newbie with LPC2106 - Please help

2004-08-26 by Robert Adsett

At 02:03 PM 8/26/04 +0000, you wrote:
>Just a simple question about the cristal. I know that this MCU (as
>some PICs) has internal PLL. The question is, which is te range of
>External Cristal OSC, and then between what ranges I have to set the
>Internal PLL. I read somewhere, don't remember where, that the
>external cristal should be between 1MHz and 25Mhz, and in the PLL
>Calculator program, there's a maximun of 60Mhz for the clock.
>Which is the more recomendable selection, and which one gives more
>performance (higher Bus Clock, Higher MCU clock...and so on).
>Thanks for the patience...
>Ezequiel

 From the user manual (which according to post by Philips needs updated in 
this area):

• On-chip crystal oscillator with an operating range of 10 MHz to 25 MHz.
The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz.

 From Rev 4 of the data sheet

External Clock
fosc Oscillator frequency supplied by an external oscillator (signal 
generator)  1 - 50 MHz

External clock frequency supplied by an external crystal oscillator 1 - 30 MHz

External clock frequency if on-chip PLL is used 10 - 25 MHz

External clock frequency if ISP is used for initial code download 10 - 25 MHz

PLL can multiply up to 60MHz.  Bus characteristics (which are purely 
internal) are dealt with separate timing setups.  I suggest reading the 
user manual for a quick overview of how they work.

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, III

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.