ADC2 can be used in combination with the TSC module to operate a resistive touch screen (ADC1 can not). However, ADC2 can also be used as the general-purpose ADC. To use it that way, you have to disable the TSC module, disable the hardware triggers in the ADC2_HCn registers and use the ADC2_HC0 register for general purpose conversions.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------