Tool/software: Code Composer Studio
Hello folks,
As the title suggests, I have yet to have this example actually return a sample value given that the code never gets past:
// // Wait for conversion to be completed. // while(!ADCIntStatus(ADC0_BASE, 3, false)) { }
within the while loop and this is just prior to obtaining the sequence.
Only changes I have made in trying to remedy this to no avail were ensuring the use of the internal reference:
ADCReferenceSet(ADC0_BASE, ADC_REF_INT);
And then making certain the master osc was used vs the PLL
ADCClockConfigSet(ADC0_BASE, ADC_CLOCK_SRC_MOSC, ADC_CLOCK_RATE_FULL);
Other than this, nothing else was touched and I'm out of ideas on why it never leaves the interrupt status check function above, any ideas...?
Thanks,
b