mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	AD936x custom source switch from custom to default baseband filters
This commit is contained in:
		| @@ -549,13 +549,18 @@ bool ad936x_iio_custom::init_config_ad9361_rx(long long bandwidth_, | ||||
|             PlutoTxEnable(false);  //power down the TX LO to reduce interferences | ||||
|         } | ||||
|  | ||||
|  | ||||
|     int set_filter_ret = ad9361_set_bb_rate_custom_filter_auto(phy, sample_rate_sps); | ||||
|     int set_filter_ret = ad9361_set_bb_rate(phy, sample_rate_sps); | ||||
|     if (set_filter_ret != 0) | ||||
|         { | ||||
|             std::cout << "Warning: Unable to set AD936x RX filter parameters!\n"; | ||||
|             std::cout << "Warning: Unable to set AD936x ad9361_set_bb_rate parameters!\n"; | ||||
|         } | ||||
|  | ||||
|     //    int set_filter_ret = ad9361_set_bb_rate_custom_filter_auto(phy, sample_rate_sps); | ||||
|     //    if (set_filter_ret != 0) | ||||
|     //        { | ||||
|     //            std::cout << "Warning: Unable to set AD936x RX filter parameters!\n"; | ||||
|     //        } | ||||
|  | ||||
|     //testing: set manual RX filter chain | ||||
|     //    unsigned long RX_analog_bb_lpf_stop_hz = 1000000; | ||||
|     //    unsigned long TX_analog_bb_lpf_stop_hz = 1000000; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Javier Arribas
					Javier Arribas