Hi Sam,

My goal is to eliminate the frequency offset and sampling offset, and to have a 
consistent start time. Is there anything else that I should do to achieve 
these? Thanks!!

Best regards,
Fengyang
________________________________
发件人: Sam Reiter <sam.rei...@ettus.com>
发送时间: 2019年8月20日 15:32
收件人: Jiang, Fengyang <fz...@psu.edu>; usrp-users <usrp-users@lists.ettus.com>
主题: Re: [USRP-users] A Question about Synchronization

Let's keep the usrp-users list included on these communications -- there are 
plenty of folks far more experienced than myself who may have valuable input.

Why don't we look at this from the standpoint of your requirements. What is 
your end goal with synchronizing your two devices? Do you need time alignment 
of samples, phase coherence between channels, a consistent start time between 
your two benchmarking programs, or something else?

Discussing your application and end goal would be helpful here as well.

-Sam

On Tue, Aug 20, 2019 at 2:18 PM Jiang, Fengyang 
<fz...@psu.edu<mailto:fz...@psu.edu>> wrote:
Hi Sam,

Thank you for your help! Indeed I'm using benchmark scripts and I think adding 
arguments will help. I'm using two seperated commands for transmitting and 
receiving, so if I use:

python3 benchmark_tx_copied_from_ins.py -f 2.45G --args="addr=192.168.10.3, 
clock_source=external, time_source=external" --tx-gain=40 --bandwidth=1M
python3 benchmark_rx_copied_from_ins.py -f 2.45G --args="addr=192.168.10.2, 
clock_source=external, time_source=external" --rx-gain=40 --bandwidth=1M

will that satisfy my requirements? Thank you so much!

Best regards,
Fengyang
________________________________
发件人: Sam Reiter <sam.rei...@ettus.com<mailto:sam.rei...@ettus.com>>
发送时间: 2019年8月20日 14:43
收件人: Jiang, Fengyang <fz...@psu.edu<mailto:fz...@psu.edu>>
主题: Re: [USRP-users] A Question about Synchronization

How you implement this will depend on what makes the most sense for your 
application. If you're just getting started running shipping examples, you can 
add device arguments for clock_source and time_source to specify external time 
sources. For example:

./benchmark_rate --rx_rate=1e6 --tx_rate=1e6 --args 
addr0=192.168.10.2,addr1=192.168.10.3,clock_source0=external,time_source0=external,clock_source1=external,time_source1=external

As you move on from shipping examples, you would want to include

usrp->set_clock_source("external");
usrp->set_time_source("external");

at the appropriate place in your code to configure timing.

-Sam

On Tue, Aug 20, 2019 at 1:09 PM Jiang, Fengyang via USRP-users 
<usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote:
Hi all,

I'm trying to synchronize 2 USRP N210 devices using the OctoClock-G CDA-2990 as 
external 10MHz reference and PPS sources. It is said that I need to set up two 
configurations:

usrp->set_clock_source("external");
usrp->set_time_source("external");

Which file in which path should I modify in order to apply these 
configurations? Thanks a lot!

Best regards,
Fengyang Jiang
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ettus.com%2Fmailman%2Flistinfo%2Fusrp-users_lists.ettus.com&data=02%7C01%7Cfzj28%40psu.edu%7C38d98d382d7c4191ccd608d725a52d14%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C1%7C637019263662531440&sdata=mHZMaZHIgKBaYOggHz%2BZwtJYRaZLpKnlmD0%2BHhCjT%2FQ%3D&reserved=0>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to