What are CMSIS, Peripheral driver library, Redlib ?

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

What are CMSIS, Peripheral driver library, Redlib ?

888 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Karthik Venkatesh on Mon Nov 30 02:58:45 MST 2015
Hi,

I am new to LPCXpresso environment.

I would like to start with a very simple code using LPC812 MCU, which is GPIO toggling.

I have been going through the LPCXpresso user guide and came across terms like CMSIS CORE library, Peripheral driver library, Redlib etc.

I understand that [color=#f00]CMSIS Core[/color] is software module which helps us accessing the core and other peripherals by providing abstraction layers. For example, in order to read a GPIO, instead of directly reading it, CMSIS has a abstracted for like GETPIN() which does reading the pin. Am I right ? Please confirm.

[color=#f03]Peripheral driver Library[/color] is also same as CMSIS CORE, but only difference is , some LPC devices has more peripherals which are not covered in CMSIS. In that case, we can make use of Peripheral driver library.

[color=#f00]Redlib[/color] is like GNU C library which helps us accessing core, peripherals etc same as CMSIS Core.

But what exactly is the difference between these ?

Are all these required for my simple GPIO toggling code ? Please clarify.


Thanks and regards,
Karthik
0 Kudos
Reply
1 Reply

779 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Dec 02 23:54:03 MST 2015
I suggest that you start off by looking at the LPCOpen package for the LPC812 (in particular the blinky).

Redlib is nothing to do with Peripherals. It is a standard ANSI C90 library (https://en.wikipedia.org/wiki/C_standard_library).

For more info on Redlib, see https://www.lpcware.com/content/faq/lpcxpresso/redlib-and-newlib.

Regards,
LPCXpresso Support
0 Kudos
Reply