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.

AM3352: How to Configure General-Purpose ADC Channels 0-1

Part Number: AM3352

Hello,

I am currently working on configuring the ADC channels on an AM335x SoC running the Linux kernel SDK-04.03/00/05.

Specifically, I am interested in using ADC channels 0 and 1 for general-purpose functions.

My current device tree configuration is as follows:

```dts
&tscadc {
status = "okay";
adc {
ti,adc-channels = <0 1>;
};
};
```

However, this configuration does not specify whether the ADC channels are using an internal or external reference clock. Could you please guide me on how to configure the reference clock for these ADC channels within the Linux kernel?

Thank you for your time and assistance. I look forward to your response.

Best regards,
zw

  • Hello zw,

    Please note that Linux SDK 4.3 is 4 years old at this point, so it is too old for us to support on the forums. I will be able to offer some guidance, but I will not be able to run tests on my side.

    The ADC is sourced by an internal clock signal. You can find information about the clock source that goes to the TSC_ADC module in the AM335x technical reference manual (TRM), section Touchscreen controller > integration.

    Regards,

    Nick