AnsweredAssumed Answered

imx6ul adc driver

Question asked by Ricardo Ferreira on May 25, 2016
Latest reply on Aug 3, 2017 by Jonas Nyberg

Hi,

 

I configured the adc for the imx6UL based on the following post and it is working:imx6ul adc driver.

However I need to read the file all the time for getting the adc value which is not optimal as I want to have a sample rate of around 200Hz. I saw that there is the option of continuous sampling but in my driver I only have:

 

/sys/bus/iio/devices/iio:device0# ls

in_voltage0_raw in_voltage0_raw

in_voltage0_raw in_voltage_sampling_frequency

power

 

It's missing the buffer file. I try to add configuration option (CONFIG_IIO_SYSFS_TRIGGER) in the kernel but is not working. Is there any driver I can add to have this option?

Thanks in advance

Outcomes