UHD and General purpose pins

Hi All,

Is there any support for setting general purpose pins in UHD ? Or even
better, to be able to set them on every sample transmitted to the USRP
(for precise antenna selection).

BR/
Per

On 09/21/2010 01:33 AM, Per Z. wrote:

Hi All,

Is there any support for setting general purpose pins in UHD ? Or even

You can get access to the daughter board interface class which can
control all of the daughter board peripherals:

http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1simple__usrp.html#a05f24e338d576b889714667864bac193

http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1dboard__iface.html

better, to be able to set them on every sample transmitted to the USRP
(for precise antenna selection).

There is no hardware support to change the GPIO’s per sample. However,
you can manipulate the ATR registers which are hardware controlled to
change the GPIO state when the device transitions from from recv-only,
send-only, full-duplex, idle.

See RFX or WBX daughterboard code in lib/usrp/dboard/db_.cpp for an
example.

-Josh