Closed CCommander closed 9 years ago
Good catch, thanks for pointing it out. I have updated the code. Everything still seems to work as expected.
But there is one problem rising up now: The last Tivaware has a bug in SysCtlClockGet(). If you set the clock to 80 MHz SysCtlClockGet returns 66666666 or something like that.
That would probably explain why I had it at 50MHz originally. http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/343830
I will revert back to 50MHz until TI releases a new version of TivaWare, it's been almost a year since the last release.
The code sets the clock rate to 50 MHz. Comment says, that the clock should be set to 80 MHz.
80 MHz would be: SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);