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.

Confusion on how to enable/control each of the ADC converters.



I'm trying to get the two ADC converters working (in the Stellaris Launchpad's LM4F120H5QR processor).

The SW_DRL_UG says the sample speed can be controlled by SysCtlADCSpeedSet, but there does not seem to be a way to control each ADC speed separately.

The Data sheet however, states that both ADCs operate separately, and the AN01247-02 has two arguments for that function (SYSCTL_SET0_ADCSPEED_xxx and SYSCTL_SET1_ADCSPEED_xxx), but these are not recognized by the compiler.

On the other hand, SYSCTL_PERIPH_ADC0 and SYSCTL_PERIPH_ADC1 (AND SYSCTL_PERIPH_ADC) *are* recognized.

So, are the ADC speeds separately settable? And, how about the other AD parameters?