Hello, I am trying to get the GPIO header (J504) working on a USRP B210 for power amplifier control in GNURadio. It appears this is possible based on the documentation, but I am not having any success.
According to this user, GPIO support for the USRP B210 was added in UHD 3.9: https://lists.gnu.org/archive/html/discuss-gnuradio/2015-08/msg00418.html However, I am running UHD 3.15, and I am getting the same error that user was getting on UHD 3.8 when I call self.uhd_usrp_sink_0.set_gpio_attr("TXA", "ATR_TX", 1, 0x10, 0): RuntimeError: LookupError: Path not found in tree: /mboards/0/dboards/A/iface I added print(self.uhd_usrp_sink_0.get_gpio_banks(0)) above the line causing the runtime error, and the three banks listed were ('FP0', 'RXA', 'TXA'). It appears that FP0 is the only bank that does not raise this runtime error. I set all pins on this bank to ATR_TX by setting the mask to 0xFFFFFFFF, however, none of the pins on the J504 header appear to change state when the USRP changes state from transmit to receive. Does this bank actually correspond to any physical pins on the B210, or is it just internal to the FPGA? Is it possible this is a regression? If so, which version of UHD should I use for GPIO control on the B210 until this is fixed? I would rather not roll back all the way to version 3.9 from 2015. Thanks.
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com