summaryrefslogtreecommitdiff
path: root/usrp/host/lib/db_wbxng_adf4350_regs.cc
diff options
context:
space:
mode:
authorJason Abele2009-08-23 17:40:43 -0700
committerJohnathan Corgan2009-10-05 14:37:13 -0700
commite4b5ce36f60652dba15ff4124b347c9a8b725d05 (patch)
tree798fac0836f0b5d4f1489977c3dd0c1c3083f05b /usrp/host/lib/db_wbxng_adf4350_regs.cc
parent16951928760f44b729f3f67e3c6c279c3fef28c1 (diff)
downloadgnuradio-e4b5ce36f60652dba15ff4124b347c9a8b725d05.tar.gz
gnuradio-e4b5ce36f60652dba15ff4124b347c9a8b725d05.tar.bz2
gnuradio-e4b5ce36f60652dba15ff4124b347c9a8b725d05.zip
Able to tune RX VCO, observe R and N divider output on MUXOUT
Diffstat (limited to 'usrp/host/lib/db_wbxng_adf4350_regs.cc')
-rw-r--r--usrp/host/lib/db_wbxng_adf4350_regs.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/usrp/host/lib/db_wbxng_adf4350_regs.cc b/usrp/host/lib/db_wbxng_adf4350_regs.cc
index 3452663c8..bf39c73ca 100644
--- a/usrp/host/lib/db_wbxng_adf4350_regs.cc
+++ b/usrp/host/lib/db_wbxng_adf4350_regs.cc
@@ -8,13 +8,13 @@
/* reg 0 */
/* reg 1 */
-const uint8_t adf4350_regs::s_prescaler = 1;
+const uint8_t adf4350_regs::s_prescaler = 0;
const uint16_t adf4350_regs::s_phase = 0;
/* reg 2 */
const uint8_t adf4350_regs::s_low_noise_and_low_spur_modes = 0;
-const uint8_t adf4350_regs::s_muxout = 6;
-const uint8_t adf4350_regs::s_reference_doubler = 1;
-const uint8_t adf4350_regs::s_rdiv2 = 0;
+const uint8_t adf4350_regs::s_muxout = 3;
+const uint8_t adf4350_regs::s_reference_doubler = 0;
+const uint8_t adf4350_regs::s_rdiv2 = 1;
const uint8_t adf4350_regs::s_double_buff = 0;
const uint8_t adf4350_regs::s_charge_pump_setting = 7;
const uint8_t adf4350_regs::s_ldf = 0;
@@ -31,11 +31,11 @@ const uint16_t adf4350_regs::s_12_bit_clock_divider_value = 0;
const uint8_t adf4350_regs::s_feedback_select = 1;
const uint8_t adf4350_regs::s_vco_power_down = 0;
const uint8_t adf4350_regs::s_mtld = 0;
-const uint8_t adf4350_regs::s_aux_output_select = 0;
-const uint8_t adf4350_regs::s_aux_output_enable = 0;
-const uint8_t adf4350_regs::s_aux_output_power = 0;
-const uint8_t adf4350_regs::s_rf_output_enable = 1;
-const uint8_t adf4350_regs::s_output_power = 1;
+const uint8_t adf4350_regs::s_aux_output_select = 1;
+const uint8_t adf4350_regs::s_aux_output_enable = 1;
+const uint8_t adf4350_regs::s_aux_output_power = 1;
+const uint8_t adf4350_regs::s_rf_output_enable = 0;
+const uint8_t adf4350_regs::s_output_power = 0;
/* reg 5 */
const uint8_t adf4350_regs::s_ld_pin_mode = 1;
@@ -48,7 +48,7 @@ adf4350_regs::adf4350_regs(adf4350* _adf4350){
/* reg 1 */
d_mod = uint16_t(0xfff); /* max fractional accuracy */
/* reg 2 */
- d_10_bit_r_counter = uint16_t(1);
+ d_10_bit_r_counter = uint16_t(2);
/* reg 3 */
/* reg 4 */
d_divider_select = 0;