Content originally posted in LPCWare by CodeRedSupport on Wed Jun 09 00:59:06 MST 2010
Quote: bhallett
With reference to Fig 3 (about page 12) of the User manual for the lpc13xx MCU's, does the parameter 'SystemCoreClock' in CMSIS refer to the 'main clock' as indicated in this figure?
It looks to me like SystemCoreClock matches up to '[I]system clock[/I]' in that diagram.
You might also want to look at the following section of the user manual...[INDENT]3.5.17 System AHB clock divider register
This register divides the main clock to provide the system clock to the core, memories,and the peripherals ....<snip>
[/INDENT]and also the code in system_LPC13xx.c, and the documentation in the docs subdirectory of the CMSIS project.
Regards,
CodeRedSupport