Created
April 17, 2020 15:26
-
-
Save tfcollins/b14f1ebe137b9ac1d09f9febe668683e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '-----Setup-----' | |
iio_attr -q -a -c ad9361-phy voltage0 sampling_frequency 3000000 | |
iio_attr -q -a -c ad9361-phy out voltage_filter_fir_en 0 | |
cat LTE20_MHz.ftr > /sys/bus/iio/devices/iio:device1/filter_fir_config | |
iio_attr -q -a -o -c ad9361-phy voltage0 hardwaregain -10 | |
echo '----------------' | |
iio_attr -a -o -c ad9361-phy voltage0 hardwaregain -50 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 0 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 1 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 0 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 1 | |
iio_attr -a -o -c ad9361-phy voltage0 hardwaregain | |
echo '----------------' | |
iio_attr -a -o -c ad9361-phy voltage0 hardwaregain -20 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 0 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 1 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 0 | |
iio_attr -a -c ad9361-phy out voltage_filter_fir_en 1 | |
iio_attr -a -o -c ad9361-phy voltage0 hardwaregain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment