Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Migrating from 2106 to 2138

2005-10-22 by Tom Walsh

rtstofer wrote:

>Other than changing the device header file, am I going to get any big 
>surprises moving up to a more capable chip?  Yes, less RAM but that 
>isn't important.  Nor is flash.  I just need the pins.
>
>  
>
Device Registers are greatly different in some cases.  The SPI is 
capable of sending more bytes per transfer and has a lot more settings.  
You'll probably have to make changes to your code to get it to run 
against these new settings in the registers.  There is an 
IO0{SET,CLR,PIN} and IO1{SET,CLR,PIN} macros...

Your experience with the LPC2106 will benefit you.  BTW, do not trust 
any device headers (e.g. LPC21xx.h) that you may download, I had to make 
significant changes to the one I found so that it would work with the 
LPC2138.  There were missing definitions, a lot of them!

TomW



>I am using arm-elf-gcc 3.4.3.
>
>Thanks
>Richard
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Attachments

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.