Is the CMSIS LPC17xx generic for all LPC17xx series microcontrollers?

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

Is the CMSIS LPC17xx generic for all LPC17xx series microcontrollers?

717 Views
jeroen165
Contributor I

Hello,

I am migrating a project from an NXP LPC1758 microcontroller to an NXP LPC1788 microcontroller. The original LPC1758 software makes use of the CMSIS LPC17xx software. As the name indicates, this code should be generic for all microcontrollers in the LPC17 series, hence it should be the same for the NXP LPC1758 and NXP LPC1788. However, the datasheet of the NXP LPC1758 shows in its memory map that for example the GPIO peripheral is mapped at location 0x2009 C000, while the NXP LPC1788 datasheet states that the GPIO peripheral is mapped at location 0x2009 8000. In the CMSIS LPC17xx.h header file, the GPIO peripheral is mapped at "0x2009C000UL", which is the location shown in the LPC1758 datasheet.

Since the memory map differs between the LPC1758 and the LPC1788, and the LPC17xx CMSIS code states the address for the LPC1758 microcontroller, is there different CMSIS software for the LPC1788 microcontroller? And if so, where could I find it?

Labels (1)
Tags (4)
0 Kudos
1 Reply

541 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jeroen van Vilet,

    Yes, the LPC1788 and LPC1768 have the difference, you need to refer to the LPC1788 cmsis code, in the old days, the LPC1788 CMSIS driver can be download from the lpcware, but now, that link is invalid, so I attach that code for your reference, please check the attachment.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos