Re: [USRP-users] Can I use chained DDCs?

2018-12-10 Thread Jason Matusiak via USRP-users
The switch to master seemed to be all I needed to do to make my things work.  
Now, I am using GR and in my flowgraph I am not changing the freq, but 
modifying the Cordic offset via message.  So it sounds slightly different than 
what you are doing I think.
 
To build, I just pulled down the latest via git and rebuilt uhd, then GR, then 
gr-ettus.
 
UHD: UHD_3.14.0.0-246-g4f807a9d
GR: Release 3.7.12.0
gr-ettus: the head (765b89abe208b3ee741b62bebffa69fab1a50a9e)
 
 
- Original Message - Subject: Re: [USRP-users] Can I use 
chained DDCs?
From: "Paul Boven via USRP-users" 
Date: 12/9/18 5:27 am
To: usrp-users@lists.ettus.com

Hi Jason,
 
 I'm currently on the rfnoc-devel branch of uhd/host as well. And having 
 the same problem: Changing frequency on the DDC or radio causes hangs. 
 However, on 'master', the data format out of the rfnoc blocks didn't 
 even get accepted by the flowchart.
 
 Could you please provide the details on how you configured and compiled 
 your uhd to support rfnoc on 'master' ?
 
 Which versions of uhd, gr and gr-ettus are you using?
 
 Regards, Paul Boven.
 
 On 03/12/2018 21:12, Jason Matusiak via USRP-users wrote:
 > Brian,
 > It looks like switching from rfnoc-devel to the head of master cleaned 
 > up my issues (Once I realized a clock rate of 120MHz was no longer 
 > supported).  Not sure what was the problem, but I won't worry about it 
 > at this point.
 > I think you are right on the DDC, I will need to look into that more next.
 > 
 > - Original Message -----
 > Subject: RE: Re: Re: [USRP-users] Can I use chained DDCs?
 > From: "Jason Matusiak" 
 > Date: 12/3/18 12:08 pm
 > To: "Brian Padalino" 
 > Cc: "USRP-users@lists.ettus.com" 
 > 
 > Brian,
 > No.  I am leaving it alone on startup.  I was running off of the
 > rfnoc_devel branch.  I just changed to master and am attempting to
 > rebuild with RFNOC enabled to see if something else has been
 > introduced to it.  I should try to roll back a version or two and
 > see what that does for me as well. Thanks!
 > 
 > - Original Message -
 > Subject: Re: Re: [USRP-users] Can I use chained DDCs?
 > From: "Brian Padalino" 
 > Date: 12/3/18 12:03 pm
 > To: "Jason Matusiak" 
 > Cc: "USRP-users@lists.ettus.com" 
 > 
 > Hey Jason,
 > On Mon, Dec 3, 2018 at 11:50 AM Jason Matusiak
 >  <mailto:ja...@gardettoengineering.com>> wrote:
 > 
 > Brian,
 > I am not sure what the issue is here.  I don't think it is
 > the chained DDC anymore as I can see the issue with the
 > single DDC using multiple different bitfiles.
 > I wasn't re-tuning the Fc anywhere, I was just dropping the
 > sample rate from 120MHz down to something I could handle. 
 > Right now I am not touching the CORDIC modifications at all.
 > 
 > Are you trying to change the samplerate at runtime after
 > starting the stream?  In my experience, ever since around the
 > time the the DDC moved from a CORDIC to using a DDS, dynamically
 > changing the samplerate at runtime after starting a stream is
 > broken and causes strange behavior.  In my experiences, it's
 > been timeouts.
 > 
 > What version of UHD are you running for your applications?
 > 
 > I think I settled on 3.13.0.1 release as my stable base, and I
 > have a few patches applied.
 > Brian
 > 
 > 
 > ___
 > USRP-users mailing list
 > USRP-users@lists.ettus.com
 > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
 > 
 
 ___
 USRP-users mailing list
 USRP-users@lists.ettus.com
 http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-09 Thread Paul Boven via USRP-users

Hi Jason,

I'm currently on the rfnoc-devel branch of uhd/host as well. And having 
the same problem: Changing frequency on the DDC or radio causes hangs. 
However, on 'master', the data format out of the rfnoc blocks didn't 
even get accepted by the flowchart.


Could you please provide the details on how you configured and compiled 
your uhd to support rfnoc on 'master' ?


Which versions of uhd, gr and gr-ettus are you using?

Regards, Paul Boven.

On 03/12/2018 21:12, Jason Matusiak via USRP-users wrote:

Brian,
It looks like switching from rfnoc-devel to the head of master cleaned 
up my issues (Once I realized a clock rate of 120MHz was no longer 
supported).  Not sure what was the problem, but I won't worry about it 
at this point.

I think you are right on the DDC, I will need to look into that more next.

- Original Message -
Subject: RE: Re: Re: [USRP-users] Can I use chained DDCs?
From: "Jason Matusiak" 
Date: 12/3/18 12:08 pm
To: "Brian Padalino" 
Cc: "USRP-users@lists.ettus.com" 

Brian,
No.  I am leaving it alone on startup.  I was running off of the
rfnoc_devel branch.  I just changed to master and am attempting to
rebuild with RFNOC enabled to see if something else has been
introduced to it.  I should try to roll back a version or two and
see what that does for me as well. Thanks!

- Original Message ---------
    Subject: Re: Re: [USRP-users] Can I use chained DDCs?
From: "Brian Padalino" 
Date: 12/3/18 12:03 pm
To: "Jason Matusiak" 
Cc: "USRP-users@lists.ettus.com" 

Hey Jason,
On Mon, Dec 3, 2018 at 11:50 AM Jason Matusiak
mailto:ja...@gardettoengineering.com>> wrote:

Brian,
I am not sure what the issue is here.  I don't think it is
the chained DDC anymore as I can see the issue with the
single DDC using multiple different bitfiles.
I wasn't re-tuning the Fc anywhere, I was just dropping the
sample rate from 120MHz down to something I could handle. 
Right now I am not touching the CORDIC modifications at all.


Are you trying to change the samplerate at runtime after
starting the stream?  In my experience, ever since around the
time the the DDC moved from a CORDIC to using a DDS, dynamically
changing the samplerate at runtime after starting a stream is
broken and causes strange behavior.  In my experiences, it's
been timeouts.

What version of UHD are you running for your applications?

I think I settled on 3.13.0.1 release as my stable base, and I
have a few patches applied.
Brian


___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com



___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Jason Matusiak via USRP-users
Brian,
 
It looks like switching from rfnoc-devel to the head of master cleaned up my 
issues (Once I realized a clock rate of 120MHz was no longer supported).  Not 
sure what was the problem, but I won't worry about it at this point.
 
I think you are right on the DDC, I will need to look into that more next.
 
- Original Message - Subject: RE: Re: Re: [USRP-users] Can I 
use chained DDCs?
From: "Jason Matusiak" 
Date: 12/3/18 12:08 pm
To: "Brian Padalino" 
Cc: "USRP-users@lists.ettus.com" 

 Brian,
 
No.  I am leaving it alone on startup.  I was running off of the rfnoc_devel 
branch.  I just changed to master and am attempting to rebuild with RFNOC 
enabled to see if something else has been introduced to it.  I should try to 
roll back a version or two and see what that does for me as well. Thanks!
 
- Original Message ----- Subject: Re: Re: [USRP-users] Can I use 
chained DDCs?
From: "Brian Padalino" 
Date: 12/3/18 12:03 pm
To: "Jason Matusiak" 
Cc: "USRP-users@lists.ettus.com" 

 Hey Jason,
  On Mon, Dec 3, 2018 at 11:50 AM Jason Matusiak 
 wrote:
 Brian,
 
I am not sure what the issue is here.  I don't think it is the chained DDC 
anymore as I can see the issue with the single DDC using multiple different 
bitfiles.
 
I wasn't re-tuning the Fc anywhere, I was just dropping the sample rate from 
120MHz down to something I could handle.  Right now I am not touching the 
CORDIC modifications at all.
  
Are you trying to change the samplerate at runtime after starting the stream?  
In my experience, ever since around the time the the DDC moved from a CORDIC to 
using a DDS, dynamically changing the samplerate at runtime after starting a 
stream is broken and causes strange behavior.  In my experiences, it's been 
timeouts.
 
  
What version of UHD are you running for your applications?
  
I think I settled on 3.13.0.1 release as my stable base, and I have a few 
patches applied.
 
Brian
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Jason Matusiak via USRP-users
Brian,
 
No.  I am leaving it alone on startup.  I was running off of the rfnoc_devel 
branch.  I just changed to master and am attempting to rebuild with RFNOC 
enabled to see if something else has been introduced to it.  I should try to 
roll back a version or two and see what that does for me as well. Thanks!
 
- Original Message - Subject: Re: Re: [USRP-users] Can I use 
chained DDCs?
From: "Brian Padalino" 
Date: 12/3/18 12:03 pm
To: "Jason Matusiak" 
Cc: "USRP-users@lists.ettus.com" 

 Hey Jason,
  On Mon, Dec 3, 2018 at 11:50 AM Jason Matusiak 
 wrote:
 Brian,
 
I am not sure what the issue is here.  I don't think it is the chained DDC 
anymore as I can see the issue with the single DDC using multiple different 
bitfiles.
 
I wasn't re-tuning the Fc anywhere, I was just dropping the sample rate from 
120MHz down to something I could handle.  Right now I am not touching the 
CORDIC modifications at all.
  
Are you trying to change the samplerate at runtime after starting the stream?  
In my experience, ever since around the time the the DDC moved from a CORDIC to 
using a DDS, dynamically changing the samplerate at runtime after starting a 
stream is broken and causes strange behavior.  In my experiences, it's been 
timeouts.
 
  
What version of UHD are you running for your applications?
  
I think I settled on 3.13.0.1 release as my stable base, and I have a few 
patches applied.
 
Brian
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Brian Padalino via USRP-users
Hey Jason,
On Mon, Dec 3, 2018 at 11:50 AM Jason Matusiak <
ja...@gardettoengineering.com> wrote:

> Brian,
>
> I am not sure what the issue is here.  I don't think it is the chained DDC
> anymore as I can see the issue with the single DDC using multiple different
> bitfiles.
>
> I wasn't re-tuning the Fc anywhere, I was just dropping the sample rate
> from 120MHz down to something I could handle.  Right now I am not touching
> the CORDIC modifications at all.
>

Are you trying to change the samplerate at runtime after starting the
stream?  In my experience, ever since around the time the the DDC moved
from a CORDIC to using a DDS, dynamically changing the samplerate at
runtime after starting a stream is broken and causes strange behavior.  In
my experiences, it's been timeouts.


>
> What version of UHD are you running for your applications?
>

I think I settled on 3.13.0.1 release as my stable base, and I have a few
patches applied.

Brian

>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Jason Matusiak via USRP-users
Brian,
 
I am not sure what the issue is here.  I don't think it is the chained DDC 
anymore as I can see the issue with the single DDC using multiple different 
bitfiles.
 
I wasn't re-tuning the Fc anywhere, I was just dropping the sample rate from 
120MHz down to something I could handle.  Right now I am not touching the 
CORDIC modifications at all.
 
What version of UHD are you running for your applications?
 
 
- Original Message - Subject: Re: [USRP-users] Can I use 
chained DDCs?
From: "Brian Padalino" 
Date: 12/3/18 11:44 am
To: "Jason Matusiak" 
Cc: "USRP-users@lists.ettus.com" 

   On Mon, Dec 3, 2018 at 11:32 AM Jason Matusiak via USRP-users 
 wrote:
 Actually, upon further review, I can get this to happen with the stock XG 
image and as simple flowgraph as possible.
 
If I run the stock image as non-RFNoC seems to be fine, so it has something to 
do with me using RFNoC.
 
I tried switing to HG, but I see the same issues.
 
Has anyone else experienced this?  I find it hard to believe that this is 
happening for everyone else, but I can't figure out why it would happen with 
the stock image.  My specs are:
[INFO] [UHD] linux; GNU C++ version 4.8.5 20150623 (Red Hat 4.8.5-28); 
Boost_105300; UHD_4.0.0.rfnoc-devel-702-geec24d7b
 
 
- Original Message - Subject: Can I use chained DDCs?
From: "Jason Matusiak" 
Date: 12/3/18 7:23 am
To: "Ettus Mail List" 

 I have a flowgraph where I use 3 different DDCs on an X310.  There is a dual 
DDC that is connected to the two radios on the X310.  Then I have 2 single DDCs 
chained off of that first one.  I built these DDCs to only have a single 
input/output on them.

   
The dual DDC still only has one AXI input port to it, so it can't handle 2 
radios worth of stuff going into it.  Right?  This seems weird to me.
 

The flowgraph will work, but sometimes won't.  What I see is that things 
sometimes get tuned off center.  I have a tone that I am putting out on a 
different device, I fire up my flowgraph, and I see the tone in both paths 
(that is an example, it doesn't always work on every first run).  I stop the 
flowgraph and run again.  This time it may work, or it might be off-tuned.  If 
I re-tune the radio via Qt, I can see the signal elsewhere.  Why would this be?
 
One more piece of information.  When it is off-tuned, it isn't always the same 
place.  Sometimes it is only off by 100s of kHz, sometimes it is off my 10s of 
MHz.  This is VERY odd to me.   Any advice?

   
I run a modified FPGA with a modified such that I have:  Radio -> Single 
Channel DDC -> Modified Multiple Output DDC -> Host, and I heavily utilize 
changing the center frequencies of each of those DDC's.  It works flawlessly.
 
In your RFNoC application, how are you changing that center frequency of the 
downstream DDC's?  Are you sure you've appropriately translated the frequency 
to whatever new baseband from the first DDC?
 
Brian
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Brian Padalino via USRP-users
On Mon, Dec 3, 2018 at 11:32 AM Jason Matusiak via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Actually, upon further review, I can get this to happen with the stock XG
> image and as simple flowgraph as possible.
>
> If I run the stock image as non-RFNoC seems to be fine, so it has
> something to do with me using RFNoC.
>
> I tried switing to HG, but I see the same issues.
>
> Has anyone else experienced this?  I find it hard to believe that this is
> happening for everyone else, but I can't figure out why it would happen
> with the stock image.  My specs are:
> [INFO] [UHD] linux; GNU C++ version 4.8.5 20150623 (Red Hat 4.8.5-28);
> Boost_105300; UHD_4.0.0.rfnoc-devel-702-geec24d7b
>
>
>
> - Original Message -
> Subject: Can I use chained DDCs?
> From: "Jason Matusiak" 
> Date: 12/3/18 7:23 am
> To: "Ettus Mail List" 
>
> I have a flowgraph where I use 3 different DDCs on an X310.  There is a
> dual DDC that is connected to the two radios on the X310.  Then I have 2
> single DDCs chained off of that first one.  I built these DDCs to only have
> a single input/output on them.
>
>
The dual DDC still only has one AXI input port to it, so it can't handle 2
radios worth of stuff going into it.  Right?  This seems weird to me.


>
> The flowgraph will work, but sometimes won't.  What I see is that things
> sometimes get tuned off center.  I have a tone that I am putting out on a
> different device, I fire up my flowgraph, and I see the tone in both paths
> (that is an example, it doesn't always work on every first run).  I stop
> the flowgraph and run again.  This time it may work, or it might be
> off-tuned.  If I re-tune the radio via Qt, I can see the signal elsewhere.
> Why would this be?
>
> One more piece of information.  When it is off-tuned, it isn't always the
> same place.  Sometimes it is only off by 100s of kHz, sometimes it is off
> my 10s of MHz.  This is VERY odd to me.   Any advice?
>
>
I run a modified FPGA with a modified such that I have:  Radio -> Single
Channel DDC -> Modified Multiple Output DDC -> Host, and I heavily utilize
changing the center frequencies of each of those DDC's.  It works
flawlessly.

In your RFNoC application, how are you changing that center frequency of
the downstream DDC's?  Are you sure you've appropriately translated the
frequency to whatever new baseband from the first DDC?

Brian
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Can I use chained DDCs?

2018-12-03 Thread Jason Matusiak via USRP-users
Actually, upon further review, I can get this to happen with the stock XG image 
and as simple flowgraph as possible.
 
If I run the stock image as non-RFNoC seems to be fine, so it has something to 
do with me using RFNoC.
 
I tried switing to HG, but I see the same issues.
 
Has anyone else experienced this?  I find it hard to believe that this is 
happening for everyone else, but I can't figure out why it would happen with 
the stock image.  My specs are:
[INFO] [UHD] linux; GNU C++ version 4.8.5 20150623 (Red Hat 4.8.5-28); 
Boost_105300; UHD_4.0.0.rfnoc-devel-702-geec24d7b
 
 
- Original Message - Subject: Can I use chained DDCs?
From: "Jason Matusiak" 
Date: 12/3/18 7:23 am
To: "Ettus Mail List" 

 I have a flowgraph where I use 3 different DDCs on an X310.  There is a dual 
DDC that is connected to the two radios on the X310.  Then I have 2 single DDCs 
chained off of that first one.  I built these DDCs to only have a single 
input/output on them.
 
The flowgraph will work, but sometimes won't.  What I see is that things 
sometimes get tuned off center.  I have a tone that I am putting out on a 
different device, I fire up my flowgraph, and I see the tone in both paths 
(that is an example, it doesn't always work on every first run).  I stop the 
flowgraph and run again.  This time it may work, or it might be off-tuned.  If 
I re-tune the radio via Qt, I can see the signal elsewhere.  Why would this be?
 
One more piece of information.  When it is off-tuned, it isn't always the same 
place.  Sometimes it is only off by 100s of kHz, sometimes it is off my 10s of 
MHz.  This is VERY odd to me.   Any advice?
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com