1 year, 4 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

1 year, 4 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


g_defaultClockConfigRun is the configuration for RUN mode.

Please feel free to ask me any questions!

Desmond, team Mbed

Accepted Answer