diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-01 11:50:14 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-01 11:50:14 -0800 |
commit | 6e8473e6eef84875e2c3babb35732f8c3b2a0247 (patch) | |
tree | 597242794c41b67b0a4693d6e5976d263015f6ae /firmware/microblaze | |
parent | 606b896cb964c38ddfed0f0e5785237f9a4d0034 (diff) | |
download | uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.tar.gz uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.tar.bz2 uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.zip |
Recv noise with uhd.
Diffstat (limited to 'firmware/microblaze')
-rw-r--r-- | firmware/microblaze/apps/txrx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/microblaze/apps/txrx.c b/firmware/microblaze/apps/txrx.c index 1724284b0..dccb2bdc9 100644 --- a/firmware/microblaze/apps/txrx.c +++ b/firmware/microblaze/apps/txrx.c @@ -430,6 +430,8 @@ void handle_udp_ctrl_packet( ******************************************************************/ case USRP2_CTRL_ID_SETUP_THIS_DDC_FOR_ME_BRO: dsp_rx_regs->freq = ctrl_data_in->data.ddc_args.freq_word; + dsp_rx_regs->scale_iq = ctrl_data_in->data.ddc_args.scale_iq; + dsp_rx_regs->rx_mux = 0x00 | (0x01 << 2); //TODO fill in from control //setup the interp and half band filters { @@ -471,6 +473,7 @@ void handle_udp_ctrl_packet( case USRP2_CTRL_ID_SETUP_THIS_DUC_FOR_ME_BRO: dsp_tx_regs->freq = ctrl_data_in->data.duc_args.freq_word; dsp_tx_regs->scale_iq = ctrl_data_in->data.duc_args.scale_iq; + dsp_tx_regs->tx_mux = 0x01; //TODO fill in from control //setup the interp and half band filters { |