Hi,
I'm trying to use the function SysCtlADCSpeedSet(SYSCTL_ADCSPEED_125KPS) to lower the sample rate from 1 Msps to 125 ksps.
We are using Stellaris LaunchPad EK-LM4F120XL and CCS 5.4.0.00091.
The program works fine with 1Msps, but when this function is called, the Fault ISR function of startup_ccs.c locks the program in infinite loop.
I have moved the referenced function to different parts of the program and I always get the same result, except if it is positioned before ADC enable function (SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0), but in this case nothing happens as expected.
Does anyone know how to use this function properly?
Tks