diff options
author | Eric Blossom | 2009-12-08 15:01:54 -0800 |
---|---|---|
committer | Eric Blossom | 2009-12-08 15:01:54 -0800 |
commit | f939f997fa50b214dd5a60b60b7b6d8e7606b9ff (patch) | |
tree | 7c6b933e5cbc7e9fe23abaafb94d75d919fb6526 | |
parent | 9416d3c8d44b7b0e4e764a4c5ad21bec2057269a (diff) | |
download | gnuradio-f939f997fa50b214dd5a60b60b7b6d8e7606b9ff.tar.gz gnuradio-f939f997fa50b214dd5a60b60b7b6d8e7606b9ff.tar.bz2 gnuradio-f939f997fa50b214dd5a60b60b7b6d8e7606b9ff.zip |
Fix usrp2 tvrx so that it tunes monotonically.
Use same (nasty) tactic used on usrp1. Get "free" inversion by lying
about real value of 2nd IF.
-rw-r--r-- | usrp2/firmware/lib/db_tvrx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usrp2/firmware/lib/db_tvrx.c b/usrp2/firmware/lib/db_tvrx.c index 490ea69e8..f38bba8f1 100644 --- a/usrp2/firmware/lib/db_tvrx.c +++ b/usrp2/firmware/lib/db_tvrx.c @@ -113,7 +113,7 @@ struct db_tvrx2 db_tvrx2 = { .base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(1), .base.is_quadrature = false, .base.i_and_q_swapped = false, - .base.spectrum_inverted = true, + .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(0), .base.init = tvrx_init, .base.set_freq = tvrx_set_freq, @@ -125,7 +125,7 @@ struct db_tvrx2 db_tvrx2 = { // .base.atr_tx_delay = // .base.atr_rx_delay = .common.first_if = U2_DOUBLE_TO_FXPT_FREQ(44e6), - .common.second_if = U2_DOUBLE_TO_FXPT_FREQ(44e6), + .common.second_if = U2_DOUBLE_TO_FXPT_FREQ(56e6), // Fs - 44e6 }; struct db_tvrx3 db_tvrx3 = { @@ -140,7 +140,7 @@ struct db_tvrx3 db_tvrx3 = { .base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(1), .base.is_quadrature = false, .base.i_and_q_swapped = false, - .base.spectrum_inverted = true, + .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(0), .base.init = tvrx_init, .base.set_freq = tvrx_set_freq, @@ -152,7 +152,7 @@ struct db_tvrx3 db_tvrx3 = { // .base.atr_tx_delay = // .base.atr_rx_delay = .common.first_if = U2_DOUBLE_TO_FXPT_FREQ(44e6), - .common.second_if = U2_DOUBLE_TO_FXPT_FREQ(44e6), + .common.second_if = U2_DOUBLE_TO_FXPT_FREQ(56e6), // Fs - 44e6 }; bool |