AnsweredAssumed Answered

setting FIR filter using libiio drviers

Question asked by ENGINEER on Nov 2, 2017
Latest reply on Nov 2, 2017 by travisfcollins

Hi,

     I am using libiiio drivers for setting FIR filter following this example

 

libad9361-iio/ad9361_baseband_auto_rate.c at master · analogdevicesinc/libad9361-iio · GitHub 

 

however, i see changes in following

 

in /sys/bus/iio/devices/iio:device0 using sysfs cat mechanism, i see the following

 

cat filter_fir_config
FIR Rx: 128,2 Tx: 128,2

cat path rates of both tx and rx

 

cat rx_path_rates
BBPLL:983040000 ADC:122880000 R2:61440000 R1:30720000 RF:15360000 RXSAMP:7680000
cat tx_path_rates
BBPLL:983040000 DAC:122880000 T2:61440000 T1:30720000 TF:15360000 TXSAMP:7680000

cat in_out_voltage_filter_fir_en
1

cat in_voltage_sampling_frequency
7680000

cat out_voltage_sampling_frequency
7680000

cat in_voltage_rf_bandwidth
18000000

cat out_voltage_rf_bandwidth
4372840

 

i set for 5mhz and i see everything right except for in_voltage_rf_bandwidth [red colored]

 

however i see the in_voltage_rf_bandwidth for 20mhz not 5mhz

 

let me know what i am doing wrong in the attached .c code

 

Thanks

Attachments

Outcomes