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.

SysCtlClockFreqSet() dies in function

Other Parts Discussed in Thread: TM4C1290NCPDT

I'm having a problem with the

SysCtlClockFreqSet((SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 80000000);

As it dies when it executes the line

        //
        // Set the oscillator source.
        //
        HWREG(SYSCTL_RSCLKCFG) |= ui32OscSelect;

(specifically, the instruction to store the data into the register.  ui32OscSelect is 0x03300000 which seems reasonable)

One thing I noticed is that the function does not wait for the MOSCPUPRIS bit as specified in the datasheet for the tm4c1290ncpdt.  I added the delay loop after clearing the power down and noxtal bits like it says to do to but it still didn't help.  I'm probably missing something obvious.  This function happens right after POR and is the first time MOSCCTL is touched.

Any ideas?