Hi forum,
I'm trying to check out a board, and would like to perform simple reads from ADC0 and ADC1. I am using SDK 06.00.00.07.
I looked at the ADC kernel driver documentation, and it seems to imply that I should be able to perform a one-shot read of any ADC channel like this:
cat /sys/bus/iio/devices/iio:device0/in_voltage0_raw
This would, I think, read input 0 of ADC0.
However, when I do this for any channel on either ADC0 or ADC1, I am always reading 4095, even if I have the input tied to ground.
Is there something else that needs to be configured in order to enable one-shot ADC readings like this? I do have all channels assigned to tsadc0 and tsadc1 in my device tree.
Thanks in advance for your time and help!
Scott