I am having difficulties understanding how to combine the two signals on
the RXA and RXB connectors on the same LFRX-daughterboard to one single
complex signal (I+Q) using the “usrp_dual_source_x” block.
The best would be to receive a float from each, and then combine the two
signals to a complex signal using the “gr_float_to_complex” block.
However it seems it is only possible to get the samples as short or
complex, so my idea is to take the real part of each of the two
“complex” signals (as they in reality are real), and combine those to
complex using the above mentioned block.
This method involves some seemingly unnecessary conversions, so I am
guessing that there is another way?
The current USRP API does not support receiving complex signal (I on RXA
and Q on RXB) from LFRX and BasicRX boards. At least not in an easy way…
In the future, the USRP API will support complex samples, and
“usrp_dual_source_x” will have an option called antenna: “RXAB”
Any word on this from developers?
We’ve talked about this in the past. The quickest way to do this would
be to mod the LFRX code. Currently it has 2 subdevices, one for the A
input and one for the B input, which control the mux settings. If we
made a setting for a “C” input which just changed the mux settings, that
would solve it pretty quickly.
On Sun, Feb 15, 2009 at 02:24:32PM -0800, Matt E. wrote:
Any word on this from developers?
We’ve talked about this in the past. The quickest way to do this would
be to mod the LFRX code. Currently it has 2 subdevices, one for the A
input and one for the B input, which control the mux settings. If we
made a setting for a “C” input which just changed the mux settings, that
would solve it pretty quickly.
Matt
You can get what you want today by just setting an appropriate value
for the Rx mux:
/*!
\brief Set input mux configuration.
This determines which ADC (or constant zero) is connected to
each DDC input. There are 4 DDCs. Each has two inputs.