This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set SysCtlClockFreqSet right?

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi there,


I am relatively new to Tiva C Series ARM µC. I have the Connected Launchpad EK-TM4C1294XL and I want to know how to set different CPU frequencies.

What I have to do if I want to set 16 MHz or 24 MHz or 80 MHz or 120 MHz? What are the differences between SYSCTL_CFG_VCO_480 and SYSCTL_CFG_VCO_320 and between SYSCTL_USE_PLL and SYSCTL_USE_OSC? What have I to choose for which reason?

Is it that simple?

F_CPU = SysCtlClockFreqSet(SYSCTL_OSC_INT | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480, frequency);

Thanky you!