Hi!
I want to use the adc to measure a channel single endedly. I tried it in my project, but the adc sequence interrupt never triggered, probably because the conversion did not start correctly.
To find the reason for that, I tried out the adc.c example from the stellarisware. Without modification it worked, but as soon as I changed the system clock settings from:
// SysCtlClockSet(SYSCTL_SYSDIV_10 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN |
// SYSCTL_XTAL_16MHZ);
to
SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN |
SYSCTL_XTAL_16MHZ);
the conversion did not trigger and the program was stuck at the while(!ADCIntStatus(ADC0_BASE, 3, false)) .
I am using the evaluation board with the lm4f232H5QD, which has a 16MHz oscillator.
Is there anything I have disregarded?
Thanks for your help!
Jan