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.

Changing the CPU clock settings in TI-RTOS program example as per actual external crystal frequency

Other Parts Discussed in Thread: TM4C123GH6PM

RTOS: TI-RTOS

MCU: TM4C123GH6PM

Hi,

  I am using uartecho example program (TI-RTOS based) to run on TM4C123GH6PM MCU. Now, the evaluation kit EK-TM4C123G had 16 MHz crystal giving a CPU clock speed of 16 MHz, whereas my custom board is fitted with 25 MHz crystal. Where in the application example will I be able to change the system clock settings, to be specific, I want to let the compiler know that the external crystal soldered on the PCB is 25 MHz & not 16 MHz. Due to the wrong clock settings, Task_sleep() function is giving a huge timing drift/error!!

--

PLS HELP!!

--

Thanks

--

Regards

Soumyajit