Wednesday, August 7, 2019

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

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 +0000, 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.mitchell@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-gnuradio@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 +0000, 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.mitchell@testllc.com
> > 256.716.9056 (Work)
> > 256.289.3581 (Cell)
> >
> > From: Derek Kozel
> > Sent: Tuesday, August 6, 2019 1:56 PM
> > To: discuss-gnuradio@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.mitchell@testllc.com
> > > 256.716.9056 (Work)
> > > 256.289.3581 (Cell)
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > Discuss-gnuradio@gnu.org
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment