Gracias caiomarcos , im still looking at the CMSIS, i came from the PIC world where i only used assembly, so C language is still a bit new to me and im still having some trouble to reuse others code whitout fully undestanding it, for example i can find that function anywhere in CMSIS 3.01.
Gracias caiomarcos , im still looking at the CMSIS, i came from the PIC world where i only used assembly, so C language is still a bit new to me and im still having some trouble to reuse others code whitout fully undestanding it, for example i can find that function anywhere in CMSIS 3.01.
You should look into system_LPC13xx. and LPC13xx.h for mcu specifics, such as the SystemInit function. With that, and the core header files, I believe you will be able to solve a lot of problems.
Sorry people, i indeed wanted to say i CAN NOT, so resuming, in the CMSIS i can find ONLY the header files with all the right names for the registers in structs also the linkerscript and assembly startup files, and the actually C files with the functions i will find on examples from the manufacturer ?
By the way i registered in arm.com and got the original CMSIS from them for cortex m3.
Yes, I believe the .c and .h files with functions specific to each mcu are supplied by the vendor, at least that's what NXP does for the LPC1343.
So, on the NXP website you can find a package (http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc13xx-packages) with the core files for cortex m3 plus the specific c files for the LPC1343. In one of those specific files (system_LPC13xx.c) you will find the system start up function, from there you can see what should be done to correctly start the mcu, including the PLL.
Thank you caiomarcos once again, i also found something on nxp website, on this file, AN10955 - Full-duplex software UART for LPC111x and LPC13xx, is there a big diference between this and the one you pointed out ?
The AN mentioned deals with a complete different thing, and since it says that it is applicable to both LPC111x and LPC13xx, I believe they are not so different regarding UART functionality.
After a quick glance, it looks like the clock generation block is very similar for both, including PLL. Values vary, and MAYBE the routine to start the PLL, but I can't say for sure.