Programming Instruction Set for LPC1115

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

Programming Instruction Set for LPC1115

934 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rvalvekar on Sun Aug 31 03:55:11 MST 2014
Dear & Respected,

I am completely new to LPC, NXP and Cortext M0. I searched the internet a million times for any Instruction Set for Programming for the LPC Eval Boards. I have not found much information about it. Are there any Books or any Links available from where i could get the correct Instruction Set and Syntax for Cortex M0 Embedded C programming.

I have a LPC1115 Rev A Eval Board.

Thank You
Labels (1)
0 Kudos
4 Replies

802 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by IanB on Wed Oct 08 12:11:27 MST 2014
The C compiler is the GNU C compiler - there's loads of documentation on the internet.

Another book I'd recommend is "ARM Assembly Language" by William Hohl  (ISBN 978-81-89643-04-1), though it will tend to whet your appetite for those 32-bit instructions that you can't have on the Cortex-M0.

If you've programmed the Atmel ATTINY and ATMEGA devices, then the Thumb instruction set on the Cortex-M0 should come naturally (with the same quirks about some instructions that work with the "high" registers and some that don't) - and it's marvellous to be freed from the constrains of 8-bit arithmetic.
0 Kudos

802 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pacman on Sun Aug 31 10:28:03 MST 2014
If you're looking for any Cortex-M instruction set, it's a good idea to go to the ARM Information Center.

Example; click...
  Cortex-M series processors >
    Cortex-M0 >
      Revision: r0p0 >
        Cortex-M0 Devices Generic User Guide >
          The Cortex-M0 Instruction Set


If you're searching for instruction timing, click...
  Cortex-M series processors >
    Cortex-M0 >
      Revision: r0p0 >
        Cortex-M0 Technical Reference Manual >
          Programmers Model >
            Instruction set summary

If you meet someone over there, it's probably me...
0 Kudos

802 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rvalvekar on Sun Aug 31 09:10:56 MST 2014
Thank You Very Much. I intend to develop in C, but for C also i could not find much of the information, especially the syntax for C.
0 Kudos

802 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Sun Aug 31 08:18:32 MST 2014
Have a look at this book:
http://www.amazon.com/The-Definitive-Guide-ARM-Cortex-M0/dp/0123854776/ref=sr_1_1?ie=UTF8&qid=140948...

Download the User Manual of the LPC1115:
http://www.nxp.com/documents/user_manual/UM10398.pdf
Have a look at chapter 28 and especially chapter 28.5

Or here:
http://www.lpcware.com/content/forum/lpc1114-assembler-startup-and-blinky-please-help
http://www.ilovefpv.com/2013/10/bread-boarding-lpc1114-dip28/

Do you really want to develop in assembler? You can also develop in C.
0 Kudos