Usrp b210 gpio

Hi, I want to control an antenna multiplxer via J504 gpio port. Actually
I
want to have logic 1 and logic 0 in order to switch the multiplxer. But
it
is difficult to find gpio example for B210. I have new version of b210
(green board) and 3.8.005 uhd version. I m very much thankful to if you
can
help me with gpio example. Ettus research says that B210 is supported
for
gpio in j504 port but in UHD there is only one example for x300.

The B2xx GPIO J504 GPIO has the same API as X3xx.

On 2015-08-05 13:26, Samith Abeywickrama wrote:

Hi, I want to control an antenna multiplxer via J504 gpio port. Actually I want
to have logic 1 and logic 0 in order to switch the multiplxer. But it is difficult
to find gpio example for B210. I have new version of b210 (green board) and
3.8.005 uhd version. I m very much thankful to if you can help me with gpio
example. Ettus research says that B210 is supported for gpio in j504 port but in
UHD there is only one example for x300.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [1]

Links:

On 05.08.2015 10:32, [email protected] wrote:

The B2xx GPIO J504 GPIO has the same API as X3xx.

…and the example is also the same (gpio.cpp).

Cheers,
Martin

Hi,

Thank you for your quick reply. I tried to used that UHD example by
doing
several changes, but when I going to change data direction register
(DDR)
by "usrp->set_gpio_attr(gpio, “DDR”, ddr, mask); " command. But I got
following error massage,

Error: LookupError: Path not found in tree: /mboards/0/gpio/DDR

I have Ver 6 USRP B210 green board and 3.8.005 UHD version. I am waiting
for your help. Thank you in advance.

On 06.08.2015 08:20, Samith Abeywickrama wrote:

Hi,

Thank you for your quick reply. I tried to used that UHD example by
doing several changes, but when I going to change data direction
register (DDR) by "usrp->set_gpio_attr(gpio, “DDR”, ddr, mask); "
command. But I got following error massage,

What’s the value of ‘gpio’?

M

Is the UHD GPIO API available in Python yet?

Lou

Martin B.-2 wrote

On 05.08.2015 10:32,

[email protected]

wrote:

The B2xx GPIO J504 GPIO has the same API as X3xx.

…and the example is also the same (gpio.cpp).

Cheers,
Martin


View this message in context:
http://gnuradio.4.n7.nabble.com/USRP-B210-GPIO-tp55275p55317.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Yes, but you need a fairly recent UHD + GNU Radio.

M

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs