discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] external ref


From: Thomas Tsou
Subject: Re: [Discuss-gnuradio] external ref
Date: Wed, 10 Nov 2010 01:04:35 -0500

On Wed, Nov 10, 2010 at 12:44 AM, Brett L. Trotter <address@hidden> wrote:
> Does any alteration to code or firmware need to be made in order to get
> a USRP2 to lock to an external 10MHz reference?

No firmware changes with UHD. Code looks something like this.

uhd::clock_config_t clock_config;
clock_config.ref_source = uhd::clock_config_t::REF_SMA;
clock_config.pps_source = uhd::clock_config_t::PPS_SMA;
clock_config.pps_polarity = uhd::clock_config_t::PPS_NEG;

dev = uhd::usrp::single_usrp::make(dev_addr);
dev->set_clock_config(clock_config);

  Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]