I am testing the tunnel.py program on a USRP1 w/ WBX dboard and UHD. My
is to disable to receiver while I am transmitting, and then re-enable it
once I’m done. I looked at db_wbx_common.cpp and found the enabler
functions. Each of these programs a few GPIO bits. Using that as a guide
was able to disable the receiver, but after I re-enabled it I didn’t get
db_iface.set_gpio_out(UNIT_RX, RX_POWER_DOWN, RX_POWER_UP |
db_iface.set_gpio_out(UNIT_RX, RX_POWER_UP, RX_POWER_UP | RX_POWER_DOWN)
UNIT_RX, RX_POWER_DOWN, and RX_POWER_UP are set correctly as in the
reference code. I verified that the bits were being set correctly by
checking get_gpio_out() before and after I called set_gpio_out(). I’d
to do this in Python if possible.
Now, I know this may not be the correct method of doing this, so I ask
Using a USRP1 w/ WBX dboard and UHD, what is the proper way to disable
then re-enable) the receiver?
Thanks for looking!