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.

TM4C129XKCZAD: TM4C129X: Clock configuration questions

Part Number: TM4C129XKCZAD

Please will you look at the following clock configuration questions.

1) I want to run the device at 120MHz using the internal PIOSC. I use the following API call:

g_clock_freq_hz = SysCtlClockFreqSet( SYSCTL_OSC_INT | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480,  120000000 );

The parameters:

//! - \b SYSCTL_CFG_VCO_480 to set the PLL VCO output to 480-MHz

//! - \b SYSCTL_CFG_VCO_320 to set the PLL VCO output to 320-MHz

a) What do these do?

b) which should we use?

c) is the above API call correct?

2) Is the max frequency supported by the internal PIOSC and PLL 120MHz?

3) What are the advantages of the an external OSC over the internal PIOSC?

4) Are there any issues you can see with using the internal OSC to run the device via the PLL at high frequencies, eg 120MHz?

Thanks.

  • Hi Chris,
    1. This SysCtlClockFreqSet() configures the system frequency to the closest available divisor of one of the two fixed PLL VCO settings (320 or 480MHz) using the specified clock source.
    2. SysCtlClockFreqSet( SYSCTL_OSC_INT | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480, 120000000 ) will give you the 120MHz using PIOSC.
    3. The internal PIOSC is part of the chip. It is a 16MHz clock. The external OSC (fcan be from 5 to 25MHz) is extra cost to your system. However, internal PIOSC may have higher tolerance.