migration between LPC11xx, LPC13xx, and LPC17xx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

migration between LPC11xx, LPC13xx, and LPC17xx

1,144件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mik84 on Fri May 21 02:50:20 MST 2010
Hi!

I have a question regarding, how easy (hard) is to port an existing code from LPC11xx device to an LPC13xx or LPC17xx and vice versa.
I'm asking this question, because currently I have the LPCxpresso bord with the LPC1343 chip, but later I most probably will move to the LPC17xx family as it has CAN bus.
In time I would like to use all the above mentioned families (of course in different applications), and it would be very good to know what are the limits of porting of code from one device to another.

I'm aware that the LPC11xx is a Cortex M0 device which has a smaller instruction set than the others. So from the core point of view it should be upward compatible. But are the peripherials also upward compatible?
For example LPC11xx peripherials, and programs written for these can be used in LPC13xx or 17xx?


And my second question is about moving from one compiler to another. How easy is it, what to pay attention?

thanks
0 件の賞賛
返信
3 返答(返信)

1,078件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mik84 on Fri May 28 02:59:01 MST 2010

Quote: NXP_Europe
Hi Mik84,
Our Cortex-M families are setup to be upwards compatible, note it is not downwards compatible.
Between the LPC11/LPC13 and the LPC1700 there are some differences in peripherals, so not all the peripherals are upwards compatible.

As igorsk said, it is advisable to use our code bundles and CMSIS libraries since they are setup the same why and easy in re-use.

Switching of compiler, overall for most of the compilers we have source available and at the end nowadays most of the code is C-code. Which is compiler independent (more and less).

Kind regards,



Thanks for the answers!
0 件の賞賛
返信

1,078件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed May 26 00:34:16 MST 2010
Hi Mik84,
Our Cortex-M families are setup to be upwards compatible, note it is not downwards compatible.
Between the LPC11/LPC13 and the LPC1700 there are some differences in peripherals, so not all the peripherals are upwards compatible.

As igorsk said, it is advisable to use our code bundles and CMSIS libraries since they are setup the same why and easy in re-use.

Switching of compiler, overall for most of the compilers we have source available and at the end nowadays most of the code is C-code. Which is compiler independent (more and less).

Kind regards,
0 件の賞賛
返信

1,078件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by igorsk on Fri May 21 06:12:27 MST 2010
Peripherals are different. 11xx and 13xx are somewhat compatible between them but the 17xx differs a lot. To make porting easier, use the sample drivers provided by NXP, they have mostly the same interface for all chips.
Note that NXP has announced LPC11Cxx family with CAN, so you might want to use that instead.
0 件の賞賛
返信