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.
Hello,
Planning on using the TM4C123GH6PZT7 for a new design and want the MCU to run at 80MHz. I plan on following the reference board for selecting a crystal oscillator. This crystal would be 16MHz.
Can I use the internal clock for running the processor at 80MHz? Would following the reference board below be a good idea?
Can I just have more information about running the processor at 80MHz in general?
Thanks
Hello Ryan,
As long as the crystal oscillator meets the required specs for the device which are outlined in Section 24.9.5 Main Oscillator Specifications that should be fine. We also have a list of crystal oscillators provided in the device datasheet. For this device you can find the full list on Table 24-19 Crystal Parameters. This also provides the values of any external components that should pair with those oscillators. Most customers use this to find a suitable oscillator for their design.
Regarding the internal clock running at 80MHz, this is done by using the PLL inside of the device. The PLL can operate as long as the external oscillator ranges from 5 MHz up to 25 MHz. When running, the PLL operates at 200 MHz. From there, a clock divisor of 2.5 is applied in order to get the 80 MHz system clock frequency.
This is done in TivaWare with the following API:
// // Set the system clock to run at 80MHz off PLL with external crystal as // reference. // SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);
For more details about the PLL and Clocking schema for the TM4C123x, I would recommend reviewing Section 5.2.5 Clock Control of the device datasheet.
Best Regards,
Ralph Jacobi