Re: [USRP-users] [Discuss-gnuradio] Clock rate change on x300

2019-08-07 Thread Marcus Müller via USRP-users
You can!

If you're using GRC to design your GNU Radio system, it's the "Clock
Rate" property of the UHD USRP Source / Sink blocks; if you're directly
coding, you want to call set_clock_rate() before doing anything else,
or supplying "master_clock_rate=184.32e6" with your device address.

Best regards,
Marcus

On Wed, 2019-08-07 at 14:30 +, Mitchell, Paul wrote:
> Oh I see.  Does that mean that I can use GNU Radio to change it?  If
> not, I’ll ask the USRP guys as you suggested.
>  
>  
> Paul Mitchell
> Engineering Technician IV
> paul.mitch...@testllc.com
> 256.716.9056 (Work)
> 256.289.3581 (Cell)
>  
> From: Marcus Müller
> Sent: Wednesday, August 7, 2019 9:27 AM
> To: Mitchell, Paul; Derek Kozel; discuss-gnura...@gnu.org
> Cc: usrp-users
> Subject: Re: [Discuss-gnuradio] Clock rate change on x300
>  
> Dear Paul,
> 
> I'd recommend taking this to the USRP-users mailing list (in CC),
> since
> it's not really GNU Radio-related.
> 
> Since that clock rate setting doesn't really "exist" until the device
> is operating, you can't query that from any program than the program
> currently using the USRP (but that program would know, anyway,
> because
> it either set the master clock rate to 184.32 MHz or it left it at
> 200
> MHz).
> 
> Best regards,
> Marcus
> 
> On Wed, 2019-08-07 at 14:18 +, Mitchell, Paul wrote:
> > I’m fine using one of the supported rates.  That’s totally fine.  I
> > would just like to know how to check the clock rate and swap
> between
> > the two for experimentation purposes.  Is there a terminal string I
> > can run in Linux to do this?
> >  
> >  
> > Paul Mitchell
> > Engineering Technician IV
> > paul.mitch...@testllc.com
> > 256.716.9056 (Work)
> > 256.289.3581 (Cell)
> >  
> > From: Derek Kozel
> > Sent: Tuesday, August 6, 2019 1:56 PM
> > To: discuss-gnura...@gnu.org
> > Subject: Re: [Discuss-gnuradio] Clock rate change on x300
> >  
> > Hi Paul,
> > 
> > What rate do you want to adjust it to and for what purpose? The
> X300
> > supports a master clock rate of 200 MS/s and 184.32 MS/s. The built
> > in
> > DSP can convert to an integer divisor sample rate of one of those
> > two.
> > Adding support for another rate would require either a lot of
> > software
> > work or implementing a rational resampler in the FPGA in which case
> > you
> > would need a Vivado license.
> > 
> > https://files.ettus.com/manual/page_usrp_x3x0.html
> > 
> > Regards,
> > Derek
> > 
> > On 06/08/2019 19:09, Mitchell, Paul wrote:
> > > I need to adjust the clock rate on a USRP x300. Is there a simple
> > way to do this or do I need to use Vivado to access the FPGA image
> > somehow? I am using Linux for everything. 
> > >
> > > Paul Mitchell
> > > Engineering Technician IV
> > > paul.mitch...@testllc.com
> > > 256.716.9056 (Work)
> > > 256.289.3581 (Cell)
> > > ___
> > > Discuss-gnuradio mailing list
> > > discuss-gnura...@gnu.org
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > 
> > 
> > ___
> > Discuss-gnuradio mailing list
> > discuss-gnura...@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >  ___
> > Discuss-gnuradio mailing list
> > discuss-gnura...@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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


Re: [USRP-users] [Discuss-gnuradio] Clock rate change on x300

2019-08-07 Thread Marcus Müller via USRP-users
Dear Paul,

I'd recommend taking this to the USRP-users mailing list (in CC), since
it's not really GNU Radio-related.

Since that clock rate setting doesn't really "exist" until the device
is operating, you can't query that from any program than the program
currently using the USRP (but that program would know, anyway, because
it either set the master clock rate to 184.32 MHz or it left it at 200
MHz).

Best regards,
Marcus

On Wed, 2019-08-07 at 14:18 +, Mitchell, Paul wrote:
> I’m fine using one of the supported rates.  That’s totally fine.  I
> would just like to know how to check the clock rate and swap between
> the two for experimentation purposes.  Is there a terminal string I
> can run in Linux to do this?
>  
>  
> Paul Mitchell
> Engineering Technician IV
> paul.mitch...@testllc.com
> 256.716.9056 (Work)
> 256.289.3581 (Cell)
>  
> From: Derek Kozel
> Sent: Tuesday, August 6, 2019 1:56 PM
> To: discuss-gnura...@gnu.org
> Subject: Re: [Discuss-gnuradio] Clock rate change on x300
>  
> Hi Paul,
> 
> What rate do you want to adjust it to and for what purpose? The X300
> supports a master clock rate of 200 MS/s and 184.32 MS/s. The built
> in
> DSP can convert to an integer divisor sample rate of one of those
> two.
> Adding support for another rate would require either a lot of
> software
> work or implementing a rational resampler in the FPGA in which case
> you
> would need a Vivado license.
> 
> https://files.ettus.com/manual/page_usrp_x3x0.html
> 
> Regards,
> Derek
> 
> On 06/08/2019 19:09, Mitchell, Paul wrote:
> > I need to adjust the clock rate on a USRP x300. Is there a simple
> way to do this or do I need to use Vivado to access the FPGA image
> somehow? I am using Linux for everything. 
> >
> > Paul Mitchell
> > Engineering Technician IV
> > paul.mitch...@testllc.com
> > 256.716.9056 (Work)
> > 256.289.3581 (Cell)
> > ___
> > Discuss-gnuradio mailing list
> > discuss-gnura...@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> ___
> Discuss-gnuradio mailing list
> discuss-gnura...@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>  ___
> Discuss-gnuradio mailing list
> discuss-gnura...@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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