Switching of UHD/Raw-Ethernet Driver

I have two small questions…

  1. I successfully installed UHD (gr-uhd) following the guide "
    http://www.ettus.com/uhd_docs/manual/html/usrp2.html"
    But now, I want to be able to switch back and forth between the UHD
    and
    Raw-Ethernet Driver. Do I need to uninstall the UHD, or just using
    (burning
    the SD card) the respective firmwares would do the trick? I just wanted
    to
    make sure that when i am thinking that i am using the raw-ethernet
    driver, I
    am not in anyway getting hampered by UHD’s presence. Thank you for your
    response.

  2. I am using XCVR2450 with USRP2. I initially just wanted to find out
    which
    antenna (J1 or J2 – connected to RF2 and RF1 in my USRP2 respectively),
    was
    defined to be RX and which one to be TX? I found out from a file
    “db_xcvr2450.cc” that J1 was defined to be RX and J1-TX, however with my
    spectrum analyzer I found the contrary to be true. Is there an easy way
    to
    check, and be able to set J1 or J2 to Rx or Tx in Python? I did search
    the
    threads and couldn’t find satisfying answer.

Looking forward to your help.

It depends how you set the antennas:
http://www.ettus.com/uhd_docs/manual/html/dboards.html#xcvr-2450

-Josh

Hi Josh,
Thank you for your answers. For this second answer, I didn’t
understand
your reply. The link you sent does not say anything about how to set the
TX/RX to J1/J2. It just says it could be set to either one. My question
is,
is there a way (API) in python to set this specifically ?

Sorry if I didn’t catch something obvious :(.
Thanks,

On 11/17/2010 11:27 PM, Bishal T. wrote:

Just swap the contents of the SD card.

  1. I am using XCVR2450 with USRP2. I initially just wanted to find out which
    antenna (J1 or J2 – connected to RF2 and RF1 in my USRP2 respectively), was
    defined to be RX and which one to be TX? I found out from a file
    “db_xcvr2450.cc” that J1 was defined to be RX and J1-TX, however with my
    spectrum analyzer I found the contrary to be true. Is there an easy way to
    check, and be able to set J1 or J2 to Rx or Tx in Python? I did search the
    threads and couldn’t find satisfying answer.

It depends how you set the antennas:
http://www.ettus.com/uhd_docs/manual/html/dboards.html#xcvr-2450

-Josh

On Thu, Nov 18, 2010 at 3:43 PM, Josh B. [email protected] wrote:

for the tx antenna.

-Josh

Sorry, I am using raw-ethernet driver. I saw those APIs for UHD. Does it
apply to raw-ethernet driver use as well?

-Thanks

Sorry, I am using raw-ethernet driver. I saw those APIs for UHD. Does it
apply to raw-ethernet driver use as well?

I believe so, except that the set_antenna call takes an integer 1 or 0.
I would use trial an error to determine the antenna mapping. -Josh

Thank you for your answers. For this second answer, I didn’t understand
your reply. The link you sent does not say anything about how to set the
TX/RX to J1/J2. It just says it could be set to either one. My question is,
is there a way (API) in python to set this specifically ?

If you have a uhd source block in python, call set_antenna(“J1”) or
set_antenna(“J2”) to set the rx antenna. Do the same for a uhd sink
block for the tx antenna.

-Josh