Greetings!
I'm having some issues with talking to two channels at the same time. I'm
building from the maint branch, and if I use just one channel, I get
readings, but if I do two channels, the device simply hangs and never
responds.
The following is the sample code for this:
// Compile with:
And I was able to solve my own problem after I got over the fear of
bricking. :)
Yes, sr_write writes, while user_reg_read reads, and the offset is totally
dependent upon the FPGA implementation. (Noted for future people searching).
On Fri, Mar 9, 2018 at 8:55 AM, Taliver Heath
We built an FPGA version off of the radio_block, re-using the registers as:
SR_BASE = 160
SR_DB_GPIO= SR_BASE + 8’d32 = 192
SR_THRESHOLD =SR_BASE + 8'd40;
...etc
RB_MISC_IO = RB_BASE + 0;
RB_SPI = RB_BASE + 1;
RB_LEDS = RB_BASE + 2;
..etc
But now I'm having a real
Hello USRP users!
I'm in the process of writing code that reads from a USRP device. I'd like
to make sure that I'm calling things like they are expected to be called,
without having to connect and run against an actual device.
Towards this end, I was about to start by writing my own "test"
And following up on this -- how do you enumerate the names of the
registers? They seem to be present in the code, but "enumerate_registers"
doens't do anything:
void ListAllRegisters(uhd::usrp::multi_usrp::sptr usrp) {
auto list = usrp->enumerate_registers();
cout << "Register List (" <<
I had the same issues -- the big performance eater in my case was anything
that was doing modulo in a tight loop.
So, if you have something like:
for ( int i = 0; i < 1000; i++) {
array[i % arr_size] = ...
}
You'll take a pretty big hit.
On Wed, Sep 6, 2017 at 4:00 PM, Tom Bereknyei via
Hello wonderful USRP team!
I'm working on a custom FPGA design for an X310 system, and to get a
baseline on control, we're trying to do a simple "enumaerate_registers".
The problem is, with the base rfnoc image install for the X310, we're not
seeing any registers being shown when I do the