Skip to content

Commit b8a857d

Browse files
committed
gr-limesuiteng: Rx LPF depends on gain settings, configure it after gains are set
1 parent 70ae14c commit b8a857d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/gr-limesuiteng/grc/limesuiteng_sdrdevice_source.block.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ templates:
158158
make: |-
159159
limesuiteng.sdrdevice_source(${alias}, ${deviceHandleHint}, ${chip_index}, ${ channel_indexes }, "${ data_format.limeFormat }", ${sample_rate}, ${rf_oversampling.value})
160160
self.${id}.set_lo_frequency(${rf_freq})
161-
self.${id}.set_lpf_bandwidth(${lpf})
162161
self.${id}.set_gfir_bandwidth(${gfir_bandwidth})
163162
self.${id}.set_antenna(${antenna})
164163
if ${override_lms7002m_rx_gains.value} == 1:
@@ -168,6 +167,7 @@ templates:
168167
else:
169168
self.${id}.set_gain_generic(${gain_generic})
170169
self.${id}.set_nco_frequency(${nco_offset})
170+
self.${id}.set_lpf_bandwidth(${lpf}) # Rx LPF range depends on TIA gain
171171
172172
callbacks:
173173
- set_config_file(${custom_config_file})

0 commit comments

Comments
 (0)