LPC1769 blinky error.

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

LPC1769 blinky error.

1,335件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by behzat_c on Tue May 17 10:54:32 MST 2011
Hi,

I'm using LPCXpresso LPC1769 board with LPCXpresso Code RED Eclipse IDE.

I'm a newbie for this platform and couldn't make the onboard led blink. I uploaded the GPIO example into board with changing the port but nothing happened.

I also found the example is quite complex. Is there any ready made easy to use libraries out there?

Also, what is interesting is that, onboard LED is constantly on even i upload an empty program into the board.


-------------

Problem solved. I was dealing with the wrong pin number from the start. I changed it and worked.

By the way, i'm still searching for a good library/functions to use.

Thanks.
0 件の賞賛
返信
6 返答(返信)

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue May 17 14:42:08 MST 2011
I think CodeRedSupport may have to provide you with guidance on how to start off using LPCXpresso and CMSIS.  There are differences between the examples that NXP and CodeRed provide.  These can lead to confusion.

You should start off by only using the simple examples within LPCXPresso.

Under Quickstart find Import example project(s) and browse to the LPC17xx folder and import all the files in LPCXpresso1768.zip.  Then look at the LPCXpresso1768_systick example.
0 件の賞賛
返信

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by behzat_c on Tue May 17 14:24:58 MST 2011
I used the example coming from the Eclipse project which is under the name of GPIO.

On the other hand,

I managed to find the real CMSIS from http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip . I say real because the one comes with the Ecplise doesn't include peripheral support but this one have.

But, in this case i couldn't find a way to use this library with Eclipse LPCXpresso environment.
0 件の賞賛
返信

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue May 17 14:05:34 MST 2011

Quote: behzat_c

I also found the example is quite complex.



I forgot to ask.  Which GPIO example are you referring to?
0 件の賞賛
返信

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue May 17 13:49:45 MST 2011

Quote: behzat_c
Especcially for peripheral settings. For example setting a pin's function, input/output charachteristic, initializing UART or reading an ADC value shouldn't be so hard.

All examples include evil bit level hackings, pointer conversions and etc.



As I said, I haven't seen any specific libraries to use either.  You have to remember that this is a free development environment that CodeRed has provided us.

The CMSIS library does contain definitions for the device and peripherals but in itself it is not a library of functions as you are referring to.

Almost everybody here has had to learn about the peripheral and device settings by using the examples provided within LPCXpresso.  The best advice I can offer you is to study and use the examples and CMSIS and read the UM10360 user manual.  Trust me, you will have to read it many times.:)

The user manual can be found here:

http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc17xx.pdf

Perhaps someone else has more information to provide you.
0 件の賞賛
返信

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by behzat_c on Tue May 17 12:55:11 MST 2011
Especcially for peripheral settings. For example setting a pin's function, input/output charachteristic, initializing UART or reading an ADC value shouldn't be so hard.

All examples include evil bit level hackings, pointer conversions and etc.

There should be easy way. 8 bit micros. can be shown as example for library simplicity.
0 件の賞賛
返信

1,289件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue May 17 11:25:58 MST 2011

Quote: behzat_c

By the way, i'm still searching for a good library/functions to use.



The rest of us are too.:rolleyes:

What specifically are you looking to find in the way of libraries and functions?
0 件の賞賛
返信