discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] UHD and General purpose pins


From: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD and General purpose pins
Date: Tue, 21 Sep 2010 08:42:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

On 09/21/2010 01:33 AM, Per Zetterberg 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

BR/
Per


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]