Part Number: DRA80M
To test ADC I followed link as reference :-
http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Drivers.html#adc
Testing in Continuous mode
For reading the ADC count I followed the following steps:-
$ echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
$ echo 100 > /sys/bus/iio/devices/iio\:device0/buffer/length
$ echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
To test the functionality I built the file named “iio_generic_buffer” and copied to the target board and executed it and i got the below output attached below. Input Voltage provided to the pin was 0.9V.
Q1. Based on the above steps, we are getting the actual raw value as expected but I’m not sure whether it is working in continuous mode or not .
Is there any other way that we can test this functionality?
Barend