The prototype boards use external clock crystals.
The setup is like this...
SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
To get the internal clock I use this...
SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_INT);
TF
More...
Watch out! The internal oscillator on the LM3S1607 is only +- 30 % at 12 Mhz.
That means that UARTS will not work reliably at all.
So thats why the eval board has a crystal on it.
TF
No comments:
Post a Comment