Hi all
Let me confirm about ADC2 in i.MX6ULL.
In imx6ull.dts, it defined only adc1.
Based on the following thread, the customer tried to forcibly operate adc 2, it became Timeout for adc calibration, and it got hung up even when accessing sysfs.
* imx6ul adc2 vf610-adc issue: Timeout for adc calibration
https://community.nxp.com/thread/448925
Q.
adc2 is dedicated to tsc and can not be used as a general purpose ADC like adc1.
Am I correct ?
If our understanding is wrong, would you tell me how to use it as a gereral ADC like adc1 ?
Ko-hey
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!
-----------------------------------------------------------------------------------------------------------------------