diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-01-21 11:32:59 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2015-01-21 11:32:59 -0800 |
commit | 8142f30e890264dc4dd18c0af72dc885b084da03 (patch) | |
tree | 54f722c7d884912dae6faca9c5624d0954459265 /host | |
parent | cc5dd14e8b2176b55a40f6a7ac210f72d9f14995 (diff) | |
download | uhd-8142f30e890264dc4dd18c0af72dc885b084da03.tar.gz uhd-8142f30e890264dc4dd18c0af72dc885b084da03.tar.bz2 uhd-8142f30e890264dc4dd18c0af72dc885b084da03.zip |
b200: Bugfix#672: Enable the correct half-bands
- The control bits for the small and the large half-bands were swapped which would cause the large HB to run too fast. Swapped hb0 and hb1 bits to fix the issue.
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/cores/rx_dsp_core_3000.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/cores/rx_dsp_core_3000.cpp b/host/lib/usrp/cores/rx_dsp_core_3000.cpp index 32866880f..13d69920a 100644 --- a/host/lib/usrp/cores/rx_dsp_core_3000.cpp +++ b/host/lib/usrp/cores/rx_dsp_core_3000.cpp @@ -138,7 +138,7 @@ public: } if (_is_b200) { - _iface->poke32(REG_DSP_RX_DECIM, (hb1 << 9) | (hb0 << 8) | (decim & 0xff)); + _iface->poke32(REG_DSP_RX_DECIM, (hb0 << 9) /*small HB */ | (hb1 << 8) /*large HB*/ | (decim & 0xff)); if (decim > 1 and hb0 == 0 and hb1 == 0) { UHD_MSG(warning) << boost::format( |