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.

TM4C129ENCPDT: System core clock measurement

Part Number: TM4C129ENCPDT


Tool/software:

Hi, i try to configure the  // Set the clocking to use a 25 MHz crystal and configure PLL to run at 120 MHz

SysCtlClockFreqSet, its returning the successful configured value but when i used SysCtlClockGet its giving 4.8mhz.

I had gone through note on API documentation, SysCtlClockGet  is used for TM4C123 device not for TM4C129 devices if this is right how can i check the configured frequency values is accurate or not by TI api's?

how can i measure the system core clock?

Please look in to the watch window image.

void ConfigureSystemClock(void)
{
// Set the clocking to use a 25 MHz crystal and configure PLL to run at 120 MHz
ui32SysClock = SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000);

uint32_t clockSpeed = SysCtlClockGet();
}

Regards,

Sandeep C