discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Trondeau C++ daughterboard code


From: Per Zetterberg
Subject: [Discuss-gnuradio] Trondeau C++ daughterboard code
Date: Mon, 6 Oct 2008 18:02:29 +0200

Dear All,

I am trying to migrate from home-made daughterboard code to the code by
Trondeau. I am using the version 9305. I use  db_flexrf_1800_tx_mimo_b.
After changing "d_common->R_DIV(1)" to "d_common->R_DIV(16)" the signal is
showing up on my spectrum analyzer at the correct frequency. However, the
amplitude is about 25dB weaker than when using the home-made daughterboard
code. I am using the daughterboard code as given by the code fragment below.
Does anyone have an idea what could be wrong ? 


BR/
Per

usrp_standard_tx* tx = usrp_standard_tx::make(0,64,2,47768);
std::vector<db_base_sptr> db_rx0,db_rx1,db_tx0,db_tx1;
  
db_tx0=tx->db(0);
db_tx1=tx->db(1);


db_tx0[0]->set_lo_offset(tx_lo_offset);
tr=db_tx0[0]->tune(0,carrier_frequency);

db_tx0[0]->set_enable(true);
db_tx0[0]->set_gain(db_tx0[0]->gain_max());
  
   







reply via email to

[Prev in Thread] Current Thread [Next in Thread]