Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by mikewi on Wed Apr 11 03:08:11 MST 2012
The function
void SystemCoreClockUpdate (void) appears to be mandated by CMSIS with the folowing functionality:

"Updates the variable SystemCoreClock and must be called whenever the core clock is changed during program execution. SystemCoreClockUpdate() evaluates the clock register settings and calculates the current core clock."

The only implementations that I have seen are naive ones setting predefined fixed values not functions. (system_ARMCM4.c attached)

Some examples also have the function exterened but not apparently implemented.

Am I missing something in the NXP library code?

Original Attachment has been moved to: system_ARMCM4.c.zip