Hi Karan Take a look at the block_ctrl files here: https://github.com/EttusResearch/uhd/tree/maint/host/lib/rfnoc/. E.g. the ddc_block_ctrl_impl.cpp Use sr_write() to write to user implemented registers in the FPGA.
Hope this helps. On Thu, Aug 31, 2017 at 3:28 PM, Karan Suri via USRP-users < usrp-users@lists.ettus.com> wrote: > Hello Users > I recently stumbled onto a problem. I need to implement a gain control > mechanism by left shifting bits of the received data, when the rx power is > considerably low. I need to define a settings register which controls the > shift amount, but I need to get access to this setting register using the > C++ code. > I am using the latest stable version of uhd and it seems that there is no > proper documentation of the settings register for the X310. > It barely talks about the peek and poke commands found in > user_settings_core_3000.hpp. But i cant find any example which relates to > this nor how to use it. Any help will be extremely appreciated. > Thanks a ton > Karan Suri > University Of Michigan > EECS - Masters > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > -- Sugandha Gupta Staff Software Engineer Ettus Research
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com