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.

SysCtlClockSet Issues In TM4C123GXL

Hi all,

I've been trying to make a DSP algorithm work on my TM4C123GXL, and I keep getting FaultISR'ed right at the start of the code, from the line: 

ROM_SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);

Now, this is supposedly pretty basic and I've been using the above clock frequency setting in the tutorial labs provided without noticeable issues, so I'm not sure why it wouldn't work for my code. What in my code could cause the fault during the clock frequency setting? I guess another question regarding the subject is, is there something in a code that should dictate that I work in a certain clock frequency and not  in another?

Thanks in advance,

Avner.