5 years, 2 months ago.

Clock configuration

Hello, I have a FRDM-K64F and I need the clock running at 120Mhz with the mbed compiler. How can I do that? Is it even possible doing that configuration on mbed compiler?

(Sorry for my bad english)

1 Answer

5 years, 2 months ago.

Hi Sebastian,

The default system clock for FRDM-K64F is set as 120Mhz, you can check it by print it out.

printf("system clock %d\r\n", SystemCoreClock);

The configuration can be referred in

mbed-os\targets\TARGET_Freescale\TARGET_MCUXpresso_MCUS\TARGET_MCU_K64F\TARGET_FRDM\fsl_clock_config.c

g_defaultClockConfigRun is the configuration for RUN mode.

Please feel free to ask me any questions!

Desmond, team Mbed

Accepted Answer