I've redone my experiments using the octo-clock as the time/clock/PPS source, but still can't get a reliable phase across multiple runs.
If I could get confirmation that the following is possible or impossible through timed commands, I'd have something to go on:
I have 2 USRP N210s each with an SBX. I form 2 "links":
Note that the frequencies being used on each link are different, so I don't expect the phase value to be the same across the links. Just the same for each link after restarting the USRPs.
I would like to see the same phase X on link1 no matter how many times I restart the 2 USRPs, and the same phase Y on link2.
Thank you,
AB
Sent: Saturday, November 25, 2017 10:40:54 PM
To: John Shields; discuss-gnuradio@gnu.org; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Phase sync with different frequencies
Hi John,
Thanks for the reply. In my setup I make one of the USRPs use the time source and clock source as the MIMO cable, while both get an external PPS signal. Thinking about it now, it may have been better to just have everything from the external octo clock.
My goal is to get the same channel 'X' on link1, and the same channel 'Y' on link2, no matter how many times I restart the USRPs. Or every time I restart I should get a*X and a*Y as my channels on the two links where 'a' can change each time. Right now I observe different/random channels on each link every time I restart.
To clarify link1 = tx of USRP-A connected to rx of USRP-B by a wire. tx/rx @ freq1
link2 = tx of USRP-B connected to rx of USRP-A by a wire. tx/rx @ freq2
My concern is that maybe trying to set the tx and rx chains to different frequencies on the same daughterboard is not a "normal" operation. I was able to observe the same channel over multiple restarts when I use only 1 of the two links. But not when I use both.
I'll re-do my setup with time/clock source as octo-clock and update on Monday.
Thank you,
Arjun
Sent: Saturday, November 25, 2017 10:07:14 PM
To: Bakshi, Arjun; discuss-gnuradio@gnu.org; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Phase sync with different frequencies
Hi all,
I'd like to use the phase resync freature on the SBX to get reliable phase alignment in the following setup:
link_freq1 = USRP-A TX @ Freq1 ---> USRP-B RX @ Freq1
I've been able to use timed commands to get the same channel/phase every time (after multiple restarts) in a single link setup like:
USRP-A TX @ Freq1 ---> USRP-B RX @ Freq1
But my code for phase sync in the 2-link setup doesn't seem to work(copied below). I understand that the phase of each link's channel may not be the same as the frequencies are different. However is it possible to set it up so that the phase/channel over wire in link_freq1 is always X and that in link_freq2 is always Y? Or is that impossible because of some hardware constraints?
Thank you,
AB
code snippet:
## 2-channel usrp source and sink have been initialized, everything except
## center feqs have been set
## uhd_usrp_source_0 is a multi usrp source block
## the following code is added in the init() function:
self.uhd_usrp_source_0.set_command_time(future_cmd_time)
self.uhd_usrp_sink_0.set_command_time(future_cmd_time)
self.uhd_usrp_source_0.set_center_freq(uhd.tune_request(cf), 0)
self.uhd_usrp_source_0.set_center_freq(uhd.tune_request(cf2), 1)
self.uhd_usrp_sink_0.set_center_freq(uhd.tune_request(cf2), 0)
self.uhd_usrp_sink_0.set_center_freq(uhd.tune_request(cf), 1)
self.uhd_usrp_source_0.clear_command_time()
self.uhd_usrp_sink_0.clear_command_time()
This is in the init() function. I don't re-tune the frequencies again after this.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
No comments:
Post a Comment