Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | Newbie with LPC2106 - Please help

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Newbie with LPC2106 - Please help - acetoel - Aug 26 3:41:00 2004

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





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


Re: Newbie with LPC2106 - Please help - embeddedjanitor - Aug 26 3:58:00 2004

--- In , "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





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

Re: Newbie with LPC2106 - Please help - acetoel - Aug 26 4:28:00 2004

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 , "embeddedjanitor" <manningc2@a...>
wrote:
> --- In , "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




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

Re: Re: Newbie with LPC2106 - Please help - Author Unknown - Aug 26 4:32:00 2004

> 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




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

Re: Re: Newbie with LPC2106 - Please help - Leon Heller - Aug 26 4:58:00 2004

----- Original Message -----
From: "acetoel" <>
To: <>
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





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

Re: Newbie with LPC2106 - Please help - Tomas Ponzi - Aug 26 6:24:00 2004

--- In , "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





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

Re: Newbie with LPC2106 - Please help - acetoel - Aug 26 8:09:00 2004

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 , "Tomas Ponzi" <tap@t...> wrote:
> --- In , "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




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

Re: Re: Newbie with LPC2106 - Please help - Leon Heller - Aug 26 8:37:00 2004

----- Original Message -----
From: "acetoel" <>
To: <>
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






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

Re: Newbie with LPC2106 - Please help - acetoel - Aug 26 9:03:00 2004

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 , "Leon Heller" <leon_heller@h...>
wrote:
> ----- Original Message -----
> From: "acetoel" <acetoel@y...>
> To: <>
> 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





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

Re: Re: Newbie with LPC2106 - Please help - Leon Heller - Aug 26 9:15:00 2004

----- Original Message -----
From: "acetoel" <>
To: <>
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





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

Re: Re: Newbie with LPC2106 - Please help - Robert Adsett - Aug 26 11:38:00 2004

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




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