AnsweredAssumed Answered

Generated FIR doesn't work

Question asked by strangeattraction on Sep 26, 2017
Latest reply on Sep 26, 2017 by sripad

Hi!
I'm trying to build filter on AD9361 using AD936xFilterWizard. I entered all required information in application and generated *.c file with filter coefficients. But when i trying to launch it, i get next error:

 

ad9361_dig_tune: Tuning RX FAILED!
SAMPL CLK: 262144 tuning: TX
  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:
0:# # # # # # # # # # # # # # # #
1:# # # # # # # # # # # # # # # #

 

ad9361_dig_tune: Tuning TX FAILED!
SAMPL CLK: 262144 tuning: TX
  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:
0:# # # # # # # # # # # # # # # #
1:# # # # # # # # # # # # # # # #

 

Here is my FIR filters config:

 

AD9361_RXFIRConfig rx_fir_config = {
    3, // rx
    0, // rx_gain
    1, // rx_dec
    {19595,-6480,2037,813,-2511,3615,-4408,5076,-5721,6412,-7316,8465,-10066,12460,-15854,25285,25285,-15854,12460,-10066,8465,-7316,6412,-5721,5076,-4408,3615,-2511,813,2037,-6480,19595,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, // rx_coef[128]
    32, // rx_coef_size
    {983040000,245760000,122880000,61440000,61440000,61440000}, // rx_path_clks[6]
    51641372 // rx_bandwidth
};

 

AD9361_TXFIRConfig tx_fir_config = {
    3, // tx
    0, // tx_gain
    1, // tx_int
    {17817,-3983,930,1104,-2249,2988,-3529,3990,-4447,4992,-5653,6532,-7866,9871,-12835,23663,23663,-12835,9871,-7866,6532,-5653,4992,-4447,3990,-3529,2988,-2249,1104,930,-3983,17817,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, // tx_coef[128]
    32, // tx_coef_size
    {983040000,245760000,    122880000,61440000,61440000,61440000}, // tx_path_clks[6]
//   BBPLL     HB3/ADC/DAC   HB2       HB1      FIR      DATA
    33889517 // tx_bandwidth
};

Outcomes