On 26/11/2023 19:28, Ethan C wrote:

I am planning to use the GPIO ATR on a B210 as a PTT signal. Both channels will be used on the B210. Currently, GPIO ATR can't be switched from channel A to channel B on the B210 due to the function not being implemented in UHD, from EttusResearch/uhd/host/lib/usrp/multi_usrp.cpp <https://github.com/EttusResearch/uhd/blob/master/host/lib/usrp/multi_usrp.cpp> |void set_gpio_src( const std::string&, const std::vector<std::string>&, const size_t) override { throw uhd::not_implemented_error( "set_gpio_src() not implemented for this motherboard!"); } |

Could this functionality be implemented with a script that directly accesses the ATR or tx/rx status registers? Or would I need to build custom firmware and modify the UHD drivers? Are there any good resources or tutorials for how to do either of these things?


You'd need to take a deep dive into the B200 implementation code on both the host side, and the FPGA side.  I think what you're   looking for is what we call a "structured walk-through" of the codebase.  No such document exists.  The source code is
  freely available.

One of the problems with the GPIO is that it has evolved considerably--used to be something that *SOME* daughterboards   supported, then it started being a motherboard feature, and the feature-sets and semantics differ considerably depending
  on which USRP you're dealing with.

For the B2xx, some models (like the B200) didn't have any GPIO ports populated, but the B210 did, and so do the "minis".


_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to