I have been trying to port a project over from the ek-lm4f120xl launchpad to the the ek-tm4c123g launchpad since I presume the stellaris probably won't be available anymore soon.
After getting the minor changes from stellarisware to tivaware changed in my code I was met with some really weird issues. Firstly, the functions SysCtlADCSpeedSet and SysCtlADCSpeedSet, while documented in the tivaware user's guide, are not present in the sysctl.h header, and a quick search of sysctl.c showed that they appear to be completely absent. I am using the most recent v2.1.0.12573 of the tivaware library, and I can't find mention of this problem anywhere else, so I'm not sure if I am doing something wrong or if it is a problem with tivaware.
Another problem I am having is that it seems either SysCtlClockSet or SysCtlClockGet is behaving incorrectly because when I set the microcontroller to run at 80 MHz, according to the value returned by SysCtlClockGet it is running at 66.67MHz. I have tried setting it to run at other frequencies and then everything appears to work normally (when set to run at 66.67MHz, 57.14MHz, and 50MHz those are the frequencies reported back by SysCtlClockGet). I have attached the call to SysCtlClockGet.
Any help to figure out why these things aren't working would be greatly appreciated. Working with Stellarisware was great as everything I used worked as expected and greatly sped up development, but so far Tivaware has been a nightmare, and I'd rather not switch back to having to write by own libraries to work with the peripherals on these microcontrers.
SysCtlClockSet(SYSCTL_XTAL_16MHZ| SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN);