Other Parts Discussed in Thread: ADS7950
Tool/software:
when I use ads7952, in a shell , I write like this:
cat in_voltage1_raw
cat in_voltage2_raw
cat in_voltage3_raw
cat in_voltage4_raw
some times , I find when I cat the in_voltage3_raw, it return the last in_voltage2_raw's value
so code come into
if (chan->address != TI_ADS7950_EXTRACT(ret, 12, 4))
return -EIO;
the TI_ADS7950_EXTRACT(ret, 12, 4) return then last in_voltage2_raw's value, not the current's cat in_voltage3_raw's value;
the kernel version is 6.1.80