This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC13xx.h vs. LPC13Uxx.h

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

Parents
  • The header of my LPC13xx.h file:

    * $Id:: LPC13xx.h 6437 2011-05-24 11:06:06Z dep00694 $ * Project: NXP LPC13xx software example * * Description: * CMSIS Cortex-M0 Core Peripheral Access Layer Header File for * NXP LPC13xx Device Series

Reply
  • The header of my LPC13xx.h file:

    * $Id:: LPC13xx.h 6437 2011-05-24 11:06:06Z dep00694 $ * Project: NXP LPC13xx software example * * Description: * CMSIS Cortex-M0 Core Peripheral Access Layer Header File for * NXP LPC13xx Device Series

Children