How to get started

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

How to get started

396 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hjvanderlinden on Sun Nov 13 12:48:25 MST 2011
Hi a few days ago I have moved from Cypress PSOCs to NXP LPC but I am having an extremely hard time understanding how to get something working in the IDE. I have spent one and half days looking on the internet watching getting started videos and doing some reading in the user manual for the LPC1769 I'm using but I am really missing a good tutorial with explanations and code examples.
Could somebody point me to links regarding the following:
1) descriptions of the available c++ macro's (?) and include h. files. I come from a background of assembly programming and don't know that much about c++ (but working on it :) ). Cypress had nice datasheets describing how to interact with their blocks (application programmer interfaces)
2) a link to the user manual of the IDE. Is this the eclipse IDE? I'm really confused here
3) a link different than the 'examples'  on the nxp site. These examples are quite useless because the full details of all the code and choices are not given. I don't want to write code copy-pasted from a number of examples, glue this 'code' together and hope it will work in my product. I assume there must be a reference which describes all choices and their implications in detail together with code examples...

Any help is much appreciated!
Heiko
0 Kudos
Reply
4 Replies

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fjrg76 on Mon Nov 14 18:31:58 MST 2011

Quote: hjvanderlinden
Hi a few days ago I have moved from Cypress PSOCs to NXP LPC but I am having an extremely hard time understanding how to get something working in the IDE. I have spent one and half days looking on the internet watching getting started videos and doing some reading in the user manual for the LPC1769 I'm using but I am really missing a good tutorial with explanations and code examples.
Could somebody point me to links regarding the following:
1) descriptions of the available c++ macro's (?) and include h. files. I come from a background of assembly programming and don't know that much about c++ (but working on it :) ). Cypress had nice datasheets describing how to interact with their blocks (application programmer interfaces)
2) a link to the user manual of the IDE. Is this the eclipse IDE? I'm really confused here
3) a link different than the 'examples'  on the nxp site. These examples are quite useless because the full details of all the code and choices are not given. I don't want to write code copy-pasted from a number of examples, glue this 'code' together and hope it will work in my product. I assume there must be a reference which describes all choices and their implications in detail together with code examples...

Any help is much appreciated!
Heiko



Hello Heiko

Let me be honest and say that unfortunately there is not an easy way to start with the LPC11xx family. I'm big fan of that family, as well as the LPC2000 one, and although I've been working with them for a while, sometimes I also get myself lost.

The IDE has a way for downloading a bunch of examples, so that might be a good starting point for you. You can also check this site, it includes examples and tutorials:

http://www.microbuilder.eu/home.aspx


Good lock :)
0 Kudos
Reply

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hjvanderlinden on Sun Nov 13 23:31:23 MST 2011
@TheFallGuy: thanks for your answer. I will look into this.
@Zero: I don't understand what you are saying... If I start programming I want to understand what choices I am making by using a certain command. Just gluing some code together is not a way I want to work :)
0 Kudos
Reply

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Nov 13 14:53:56 MST 2011

Quote:

...I assume there must be a reference which describes all choices and their implications in detail together with code examples...

Why do you assume that? If User manual and examples are not enough for you I assume reading a book would be a good point to start :rolleyes:
0 Kudos
Reply

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sun Nov 13 13:46:46 MST 2011
Did you read the Getting Started? It is linked to from the Welcome page in the IDE

To asnwer your questions:
1. LPCXpresso is C, not C++
2. The IDE is (an extended version of Eclipse). The help is all in the product. Help->Contents is a good place to start. There is an Eclipse tutorial in there.
3. Did you try the examples supplied with the product? Importing the examples is covered in the Getting Started guide mentioned above.
0 Kudos
Reply