Content originally posted in LPCWare by Whasssaaahhh on Tue May 28 06:35:04 MST 2013
Hello,
I'm having difficulty in finding the right peripheral driver code for uart, adc, ... I don't want to re-invent the wheel, but start from decent library code
I use an LPC1227 device (LPCExpresso board) with LPCxpresso 5.2.4 (most recent version)
For example for the LPC18xx family, I did find CMSISv2p10_LPC18xx_DriverLib.zip under C:\nxp\LPCXpresso_5.2.4_2122\lpcxpresso\Examples\NXP\LPC1000\LPC18xx
inside the .zip file there's a .src folder containing .c and .h files for all peripherals, which is very nice.
However for the LPC12xx this doesn't seem to exist, there are only 'examples', but no clean driver code under C:\nxp\LPCXpresso_5.2.4_2122\lpcxpresso\Examples\NXP\LPC1000\LPC12xx
my question : to use the peripherals, do we have to grab the code together out of the different examples, or am I missing these files, or do I need to use drivers from a 'compatible' device like LPC11xx ?
To be honest, the Getting Started Manual doesn't get me started at all. Can't believe for such a widespread device family there's no better Getting Started manual.