AnsweredAssumed Answered

Setting in_voltage_scale on AD9250 in Linux

Question asked by jgorgen on Jul 20, 2015
Latest reply on Jul 29, 2015 by mhennerich



How can an I set the parameter in_voltage_scale on an AD9250? If I try writing to the in_voltage_scale file in "/sys/bus/iio/devices/iio\:device3/in_voltage_scale" I get the error:

AD9250 in_voltage_scale setting

root@analog:/sys/bus/iio/devices/iio:device3# cat name


root@analog:/sys/bus/iio/devices/iio:device3# cat in_voltage_scale_available

0.7774658 0.7692687 0.7606994 0.7525085 0.7439392 0.7357421 0.7271728 0.7189758
0.7104125 0.7022155 0.6936462 0.6854492 0.6768798 0.6686889 0.6601196 0.6519226
root@analog:/sys/bus/iio/devices/iio;device3# echo 0.6686889 > in_voltage_scale
-bash: echo: write error: Invalid argument


I am following the process from AD7192 IIO High Precision ADC Linux Driver [Analog Devices Wiki] (My AD9250 is registered as device 3)

I am using an AD9250 on the fmc-jesdadc1-ebz board on the Xilinx Zynq ZC706 evaluation kit.


Thanks for your help,