Where can I find a reference manual for LPC17xx ?

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

Where can I find a reference manual for LPC17xx ?

605 Views
denisobrebski
Contributor I

Hello Guys,

I have bought a LPCXPRESSO1769 with cmsis-dap from embedded artists and I already spend a few days of research.

As always I wanted to start blinking the onboard RGB LED. I already managed to acces the correct registers with the library "lpc17xx.h" and toggle the appropriate pins with an example I have found online.

Before I go any further I really want to understand what I am doing.

The example uses the following registers and syntax:

LPC_PINCON->PINSEL7 = 0x000000;

LPC_GPIO3->FIODIR = 0xffffffff;

In the user manual UM10360 I can find the defintion of the PINSEL register and the function of FIODIR and the definition of the PIN CONTROL MODULE. But nowhere the syntax "LPC_PINCON->..." or "LPC_GPIO[n]->" is used. So how do I know what syntax to use in which situation? For me as a beginner the "lpc17xx.h" does not really help me. So what I am searching for is a reference manual with detailed syntax explanation.

I also tried to find such a manual for the LPCOpen libraries with no luck.

Can anybody give me a hint?

Your help is very much appreciated!

Best regards,

Denis

Labels (3)
0 Kudos
2 Replies

435 Views
soledad
NXP Employee
NXP Employee

In addition, please check the following document, I hope this helps.

https://community.nxp.com/docs/DOC-333169 

Regards

Soledad

0 Kudos

435 Views
lpcxpresso_supp
NXP Employee
NXP Employee

You already have the User's Manual. Perhaps what you need is to download the LPCOpen example code for the LPC17xx. See here:

http://www.nxp.com/products/software-and-tools/hardware-development-tools/lpcxpresso-boards/lpcopen-...

Thanks and regards,

LPCXpresso Support

0 Kudos