What Example Code/Driver Code are there for LPC800 micro controllers? And What are the differences?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What Example Code/Driver Code are there for LPC800 micro controllers? And What are the differences?

ckphua
NXP Employee
NXP Employee
1 1 5,235

For the low pin count and small memory footprint LPC800 family, NXP offers free LPCOpen Driver Code and Example Code Bundles. 

 

The LPCOpen Driver Code for LPC81x/82x/83x series, is an Application Programming Interface (API) base. For users who are not too concerned with overall code size, LPCOpen provides the ease of use without diving into details of each peripheral registers, and it is easy to migrate from LPC8xx to LPC11xx family. 

 

Link to LPC8xx LPCOpen: 

http://www.nxp.com/products/software-and-tools/software-development-tools/software-tools/lpcopen-lib...

 

However given LPCOpen is no longer the supported platform, and future LPC8xx devices will not have LPCOpen Driver code.

 

For the LPC800 family, NXP also offers a basic, complete working Example Code for each peripheral, giving 8/16 bit microcontroller users fast transition to the 32bit LPC800.

 

Example code is the fastest, simplest way for user to learn how to program each peripheral before progressing to more advance features of the peripheral. New users of LPC800 can step through the Example Code like a tutorial. Concise and accurate explanations in Readme files and comments in source files help the user to start/debug quickly.

 

The Example Code Bundles work right out of the box for the LPC800 LPCXpresso-MAX boards. It’s easy to read how the peripherals registers are setup /access without going through many levels of APIs. They have register level peripheral access, and direct correspondence between software and memory maps in the chip User Manuals. The Example Code Project and source code directory structures are kept simple, flat, and consistent (as much as possible) between LPCXpresso/MCUXpresso IDE, Keil, and IAR tools. 

 

The system base on Example Code is smaller in code size,  with much simpler code vs LPCOpen for a similar task (For example, >25% code size reduction for a simple Blinky). This can be crucial in applications where the code size is close to the device flash limit. 

 

All new LPC800 devices will have a supporting Code Bundle.

 

To try the Example Code,  please go to the related LPC800 product pages and Select the Software download tab.

Direct Links :-

Example Code Bundle for LPCXpresso

LPC812 Example Code Bundle LPCXpresso

LPC812 Example Code Bundle Keil and IAR

 

LPC824 Example Code Bundle LPCXpresso

LPC824 Example Code Bundle Keil

LPC824 Example Code Bundle IAR

 

LPC834 Example Code Bundle LPCXpresso

LPC834 Example Code Bundle IAR

LPC834 Example Code Bundle Keil

 

 

1 Comment
carstengroen
Senior Contributor II

Dear NXP,

it is such a shame that you decide to drop the LPCOpen support for new LPC84x devices :smileysad: We have a new project where there is a LPC824 device (as a co-processor to a LPC1778) and during development (added features) we have outgrown the flash. A natural step is then to use the LPC845 (which is an impressing device to say the least!), but only to discover that there is no LPCOpen support for that one. This does not make any sense, the LPC845 is a "natural" improvement for the 82x series (pin compatible!), but you destroy the easiness of this by not continuing the support for LPCOpen when it would be natural in this case (the 845 is a drop-in replacement hardware wise, but not software wise because of your decision).

Very disappointing step in my view!

Are there any (at all) chance that you might add support for the 84x family in LPCOpen ??