We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm working on an LPC1317 device and using uVision 4.60. My Keil installation has \ARM\INC\NXP\LPC13Uxx\LPC13Uxx.h \ARM\INC\NXP\LPC13xx\LPC13xx.h
The LPC13xx.h file doesn't look right... in particular the LPC_GPIO structure has offsets that don't seem to agree with the datasheet/userguide at all. For example, LPC_GPIO->DIR is at 0x50008000 but on the LPC1317 this is at 0x50002000 and 0x50002004. Also, LPC_IOCON makes references to PIOx_x pins that do not exist in the LPC1317, and the offsets do not match the datasheet as well.
LPC13Uxx.h appears to be correct for the LPC1317. Is anyone else noticing weirdness with the LPC13xx.h files?
-jamieson
Hello,
I have the same problem. Did you get a new LPC13xx.h file? Where can I find that?
Thanks
Christian
Hi Christian,
I used the LPC13Uxx.h file instead and it looks to be correct. I'm not sure what the "U" means, but it looks correct.
best, jamieson
Thanks Jamieson,
I just found this file from lpcware web site.
best,