I am using the TM4C129X dev kit, which uses a 25 MHz crystal oscillator. The TivaWare version I am using is 2.1.4.178. I have the following code to initialize the system clock:
systemClockFreqHz = SysCtlClockFreqSet( ( SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480 ), 120000000U);
When I call SysCtlVCOGet() to check the PLL frequency, it returns 240000000 rather than the 480000000 I expect. If I look at the PLL registers, MINT=0x60, MFRAC=0, N=4 and Q = 1. According to table 5-7 in the chip data sheet, I should be getting a PLL of 480000000 if Q were equal to 0. But for some reason the SysCtlClockFreqSet() function has set Q to 1. How can I get a PLL of 480000000 ?
Regards,
Dave