Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
resources:tools-software:linux-drivers:iio-dac:ad5770r [18 Jul 2018 15:17]
mirceac [Driver testing]
resources:tools-software:linux-drivers:iio-dac:ad5770r [18 Jul 2018 15:25] (current)
mirceac [Driver testing]
Line 200: Line 200:
 root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ cat out_current0_powerdown root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ cat out_current0_powerdown
 0 0
 +</​xterm></​WRAP>​
 +
 +=== Show available filter frequencies ===
 +
 +/​sys/​bus/​iio/​devices/​iio:​deviceX/​out_current_filter_low_pass_3db_frequency_available
 +
 +**Description:​**\\
 +Contains available filter frequencies.
 +
 +<WRAP box bggreen><​wrap info>​This specifies any shell prompt running on the target</​wrap>​
 +<​xterm>​
 +root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ cat out_current_filter_low_pass_3db_frequency_available ​
 +153 357 715 1400 2800 262000
 +</​xterm></​WRAP>​
 +
 +=== Set channel Y filter frequency ===
 +
 +/​sys/​bus/​iio/​devices/​iio:​deviceX/​out_current0_filter_low_pass_3db_frequency
 +
 +**Description:​**\\
 +Write filter value to channel Y.
 +
 +<WRAP box bggreen><​wrap info>​This specifies any shell prompt running on the target</​wrap>​
 +<​xterm>​
 +root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ cat out_current0_filter_low_pass_3db_frequency ​
 +262000
 +root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ echo 1000 > out_current0_filter_low_pass_3db_frequency ​
 +root@raspberrypi:/​sys/​bus/​iio/​devices/​iio:​device0#​ cat out_current0_filter_low_pass_3db_frequency
 +1400
 </​xterm></​WRAP>​ </​xterm></​WRAP>​
 ====== More Information ====== ====== More Information ======
  
 {{page>​software:​linux:​docs:​iio:​iio_snippets#​iio pointers&​noheader&​firstseconly&​noeditbtn}} {{page>​software:​linux:​docs:​iio:​iio_snippets#​iio pointers&​noheader&​firstseconly&​noeditbtn}}
resources/tools-software/linux-drivers/iio-dac/ad5770r.txt · Last modified: 18 Jul 2018 15:25 by mirceac