[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2
From: |
Ian Holland |
Subject: |
RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2 |
Date: |
Fri, 29 Jan 2010 09:13:03 +1030 |
On Wed, Jan 27, 2010 at 8:52 PM, Ian Holland
<address@hidden> wrote:
Hi All
I have been trying to set the Tx and Rx frequencies when using an
XCVR2450 with a USRP2, but it seems these keep failing. A snippet of my
source code is below for setting the Tx frequency.
The output of this portion of code is "Failed to tune Tx", and the
frequencies are all 0, with spectrum_inverted being false.
I have also tried to use usrp2_fft.py, and this fails saying nothing is
received on channel 0.
Does anyone know what the problem could be?
Thanks
Ian.
/* try tuning Tx to a test frequency */
double Fc = 2400000000.0;
usrp2::tune_result TxTuneResult;
bool successTx = device->set_tx_center_freq(Fc,
&TxTuneResult);
if(successTx) {
cout << "Tx Tune Successful:\n";
cout << " Baseband Frequency: " <<
TxTuneResult.baseband_freq << "\n";
cout << " DxC Frequency: " <<
TxTuneResult.dxc_freq << "\n";
cout << " Residual Frequency: " <<
TxTuneResult.residual_freq << "\n";
cout << " Spectrum Inverted: " <<
(TxTuneResult.spectrum_inverted ? "true" : "false") << "\n";
}
else {
cout << "Failed to tune Tx.\n";
cout << " Baseband Frequency: " <<
TxTuneResult.baseband_freq << "\n";
cout << " DxC Frequency: " <<
TxTuneResult.dxc_freq << "\n";
cout << " Residual Frequency: " <<
TxTuneResult.residual_freq << "\n";
cout << " Spectrum Inverted: " <<
(TxTuneResult.spectrum_inverted ? "true" : "false") << "\n";
}
cout << "\n";
_______________________________________________
>From: Manav Seth [mailto:address@hidden
>Sent: Thursday, 28 January 2010 3:29 PM
>To: Ian Holland
>Cc: address@hidden
>Subject: Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450
on >USRP2
>Ya, its failing for me too...set_tx_center_freq is always failing
(though I >am writing my code in python)..
>not able to find the cause...
Have you been able to get any of the pre-written scripts (e.g.
usrp2_fft.py or usrp_siggen.py) working? I can't even get those to work.
I tried usrp_siggen.py in verbose this morning and noticed again it was
unable to set the Tx frequency. Also, I think the error I had mentioned
above re usrp2_fft.py would be because the rx frequency couldn't be set.
I have tried two of the daughtercards on one USRP2, and one of those two
cards on the other USRP2, and still can't get it to set, though it
worked fine using the same code for the BasicTx and BasicRx.
- [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Ian Holland, 2010/01/27
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Manav Seth, 2010/01/27
- RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2,
Ian Holland <=
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Manav Seth, 2010/01/28
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Matt Ettus, 2010/01/28
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Manav Seth, 2010/01/28
- RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Ian Holland, 2010/01/28
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Josh Blum, 2010/01/28
- RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Ian Holland, 2010/01/29
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Josh Blum, 2010/01/29
- RE: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Ian Holland, 2010/01/29
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Josh Blum, 2010/01/29
- Re: [Discuss-gnuradio] Unable to tune Tx or Rx with XCVR2450 on USRP2, Manav Seth, 2010/01/29