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.

PROCESSOR-SDK-AM437X: TSC_ADC0_and_general_purpose ADC

Part Number: PROCESSOR-SDK-AM437X

Tool/software:

Hi Team,

We are currently utilizing the ADC0 section of the AM437X in our project.

From ADC0, we are using both the 4-wire Touch Screen Controller (TSC) and four general-purpose ADC channels.

We have two separate threads handling TSC and ADC readings. However, we’ve observed that when the TSC is being read continuously, the general-purpose ADC readings get blocked, causing the system to hang at that point.

Below is the relevant portion of our device tree configuration for TSC and ADC:

tsc {
ti,wires = <4>;
/* Datasheet says resistance is between 450 and 1200 ohm. */
ti,x-plate-resistance = <825>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0xB000>;
};

adc {
ti,adc-channels = <4 5 6 7>;
};

Could you please suggest a way to manage ADC access so that general-purpose ADC readings are not blocked during TSC operations?

Thanks
Pravin Raut