AnsweredAssumed Answered

about AD7192 IIO driver

Question asked by Sympson on Jan 5, 2013
Latest reply on Jan 9, 2013 by MaryMc

I'm testing this driver for AD7195 with BF544, 2011R1-R3 toolchain, and Kernel 3.5.7-2012R2-pre distro.

 

The driver compiled as a module.

If I load the module with modprobe, it doesn't return to prompt. But if I break modprobe with Ctrl-C, all of variables are exposed in /sys/bus/iio/devices as described in http://wiki.analog.com/resources/tools-software/linux-drivers/iio-adc/ad7192.

Unbuffered mode (read sysfs variables) operation seems work.

 

Q1) what is the meaning of .irq, and how to configure exactly for AD7195 ?

Q2) how can I change the sampling rate and filter coefficient ?

Q3) Can I use iio_trigger module (GPIO, Timer, etc.) instead of internal trigger (ad7192_dev0) ?

 

I've found a trivial source code bugs, "ac_excitation_en" are located in AD7192 attributes.

Outcomes