EmbeddedRelated.com
Forums

LPC 2138 Tutorials

Started by Volmir March 6, 2010
Hi people,

Im looking for a place good on the net to find LPC2138 tutorials.

If someone know where can i find this and want to share with me, please, im
really need it.

Thanks a lot.

An Engineer's Guide to the LPC2100 Series

--- In l..., Volmir wrote:
>
> Hi people,
>
> Im looking for a place good on the net to find LPC2138 tutorials.
>
> If someone know where can i find this and want to share with me, please, im
> really need it.
>
> Thanks a lot.
>

If you Google for 'lpc2138 blinking led' one of the responses is:
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/#lpc_uart_irq

There is an LPC2106 interrupt driven USART example that will very likely run on an lpc2138 IF you create a new linker file with the proper memory layout. Copy LPC2106-ROM.ld to LPC2138-ROM.ld and make the memory layout mods. Just the ROM and RAM sizes in the MEMORY { } section.

Then change the Makefile such that SUBMDL=LPC2138 and you should be good to go with the GCC toolchain (WinARM, GNUARM, YAGARTO or even Rowley Crossworks with a little effort).

For the blinking LED portion, you may need to change the IO pin. See config.h

The is no learning curve to ARM. It is more like a cliff, right straight up!

Richard

--- In l..., Volmir wrote:
>
> Hi people,
>
> Im looking for a place good on the net to find LPC2138 tutorials.
>
> If someone know where can i find this and want to share with me, please, im
> really need it.
>
> Thanks a lot.
>

Could you ask a more vague question ?

Ok, try this one:
http://dreamislife.com/arm/

If you really need help with something specific, ask here.

If you are not sure what your doing,
Write an outline of all the things your program/hardware needs to do,
(that's called a design spec).

Mapping the features of the LPC2138 to your design spec should help you understand if the 2139 will do what you want to do.

Writing some code on a PC in (say Visual C or Pascal) will help you understand if your ideas can be done at all. ( that's called modeling)

Once you understand what it is your are trying to do, geting it into a micro will be lots easier.

don

Thank to all :)

I'm trying to build a caliper to get back the amount of turns of a wheel,
something like the speedometer of a car.

I'm good at C + + with the Borland compiler, but, speaking of
microcontrollers, I still have to learn almost everything about them.

Thanks for the tips.

2010/3/6 Donald H

> --- In l... , Volmir
> wrote:
> >
> > Hi people,
> >
> > Im looking for a place good on the net to find LPC2138 tutorials.
> >
> > If someone know where can i find this and want to share with me, please,
> im
> > really need it.
> >
> > Thanks a lot.
> > Could you ask a more vague question ?
>
> Ok, try this one:
> http://dreamislife.com/arm/
>
> If you really need help with something specific, ask here.
>
> If you are not sure what your doing,
> Write an outline of all the things your program/hardware needs to do,
> (that's called a design spec).
>
> Mapping the features of the LPC2138 to your design spec should help you
> understand if the 2139 will do what you want to do.
>
> Writing some code on a PC in (say Visual C or Pascal) will help you
> understand if your ideas can be done at all. ( that's called modeling)
>
> Once you understand what it is your are trying to do, geting it into a
> micro will be lots easier.
>
> don
>
>
>
--- In l..., Volmir wrote:
>
> Thank to all :)
>
> I'm trying to build a caliper to get back the amount of turns of a wheel,
> something like the speedometer of a car.
>
> I'm good at C + + with the Borland compiler, but, speaking of
> microcontrollers, I still have to learn almost everything about them.
>
> Thanks for the tips.

The ARM processor is not usually recommended as a 'first' microcontroller. However...

The definitive tutorial on LPC2106 and LPC2148 is James Lynch's excellent work. It's sometimes hard to find but here is one link:

http://gnuarm.alexthegeek.com/

The LPC2138 is a subset of the LPC2148.

If you are using Windows, I would recommended either of two toolchains rather than installing the bits and pieces from the tutorial: The evaluation version of Rowley Crossworks. For personal use there is a very discounted license fee. I also like YAGARTO which is free.

If you are using Linux, again consider Crossworks or GNUARM. You will probably want to build GNUARM from source and everything starts here:

http://www.gnuarm.org/support.html

Grab the build instructions from this page and then select Files to get the GCC 4.3 toolchain source files.

Richard

Thank You

2010/3/7 rtstofer

> --- In l... , Volmir
> wrote:
> >
> > Thank to all :)
> >
> > I'm trying to build a caliper to get back the amount of turns of a wheel,
> > something like the speedometer of a car.
> >
> > I'm good at C + + with the Borland compiler, but, speaking of
> > microcontrollers, I still have to learn almost everything about them.
> >
> > Thanks for the tips.
>
> The ARM processor is not usually recommended as a 'first' microcontroller.
> However...
>
> The definitive tutorial on LPC2106 and LPC2148 is James Lynch's excellent
> work. It's sometimes hard to find but here is one link:
>
> http://gnuarm.alexthegeek.com/
>
> The LPC2138 is a subset of the LPC2148.
>
> If you are using Windows, I would recommended either of two toolchains
> rather than installing the bits and pieces from the tutorial: The evaluation
> version of Rowley Crossworks. For personal use there is a very discounted
> license fee. I also like YAGARTO which is free.
>
> If you are using Linux, again consider Crossworks or GNUARM. You will
> probably want to build GNUARM from source and everything starts here:
>
> http://www.gnuarm.org/support.html
>
> Grab the build instructions from this page and then select Files to get the
> GCC 4.3 toolchain source files.
>
> Richard
>
>
>