I want a System Clock with value 80MHz. For this I followed the instructions from this link, to learn step by step:
hackit.co.in/2014/07/how-to-change-system-clock-frequecy-of.html (missing www)
I try run this code, watching variable cls.
To start.. On tutorial the value for cls=16000000, but on my computer cls=1659.
int cls; cls=SysCtlClockGet();
I already try use this line of code:
SysCtlClockSet(SYSCTL_SYSDIV_2_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);
where this stretch "SYSCTL_SYSDIV_2_5", for me, correct if I wrong, result on divide PLL clock for 2,5, which operate at 400MHz, and the default ÷2 in the clock path = 200MHz -> bringing System Clock to 80MHz.
The oscilloscope available in the laboratory supports up to 70MHz. I would like to take the measure of the own code composer, as I saw in the tutorial.
For 1MHz thought to divide by 200 to get the value. I tried to make the code, and the following error appears in the Build Console:
identifier "SYSCTL_SYSDIV_400" is undefined
In own tutorial I understand the maximum divisions are:
16 for SYSDIV
128 to DIV400
I appreciate any help or explanation. ty