[USRP-users] Buffer underruns on x310 when transmitting and receiving from same channel cont.

2017-08-17 Thread Jason W Zheng via USRP-users
The last thread got a little long and kind of died, so I decided to make a new thread summarizing all the findings thus far. I'm running on an x310 across dual 10 Gigabit ethernet, outfitted with twin basic tx rx daughbords. I'm running on UHD version 3.11.0. Ideally, I would like two simultan

Re: [USRP-users] clock outputs to GPIO?

2017-08-17 Thread Kuester, Dan (Fed) via USRP-users
Great! Thanks to you and Martin, I'll have some things to try out :) Much appreciated. Dan -Original Message- From: USRP-users [mailto:usrp-users-boun...@lists.ettus.com] On Behalf Of Marcus Müller via USRP-users Sent: Thursday, August 17, 2017 9:53 AM To: usrp-users@lists.ettus.com Sub

[USRP-users] [RFNoC] RFNoC Block design

2017-08-17 Thread LCD PI via USRP-users
Hello everyone, We are designing a pseudo-random data generator using an LFSR register with the Fibonacci method in RFNoC, to be implemented into the E310, taken as reference the "SIGGEN" block provided in the RFNoC library. The problem is that we do not have any data output and in the console of

Re: [USRP-users] clock outputs to GPIO?

2017-08-17 Thread Marcus Müller via USRP-users
For another customer I suggested adding a settings_reg (you'll find examples of that strewn all across the UHD code, if something's unclear, just ask) that would be a receiver for things like the clock divider's max counter value; these could be timed command-controlled. Best regards, Marcus On

Re: [USRP-users] clock outputs to GPIO?

2017-08-17 Thread Martin Braun via USRP-users
Dan, you can also use timed commands to write to GPIOs at the "same time" as a certain sample. I use quotes, because there's some delay between the sample touching the radio state machine and it hitting the antenna, as well as between GPIOs being toggled in the FPGA and the pin actually going high

Re: [USRP-users] clock outputs to GPIO?

2017-08-17 Thread Kuester, Dan (Fed) via USRP-users
Marcus, Thanks for the guidance and detail! The fastest clock frequencies I'm looking for would probably run on the order of ~1 kHz - 100 kHz, but being able to tie it to the sample clock would be key for my application (sort of a self-calibrating radiometer). I'll start with a look gpio_atr_i

Re: [USRP-users] clock outputs to GPIO?

2017-08-17 Thread Marcus Müller via USRP-users
Hi Dan, what's the order of frequency of the clock you're trying to drive? Three thoughts: * I agree, for anything beyond let's say 1kHz (don't nail me on this), using timed commands from the host to control the exact GPIO transition would only work in theory, but not in practice, sinc

[USRP-users] clock outputs to GPIO?

2017-08-17 Thread Kuester, Dan (Fed) via USRP-users
Hello everyone, I'm looking for a way to drive the GPIO outputs on my x310 with a clock output divided down from the sample clock (or multiplied up from 1 PPS), which I would use to drive an external switch. I'm hoping for tight, deterministic timing, so I'm skeptical of manual API calls route