Re: [USRP-users] Synchronization of two X310 using C

2018-06-13 Thread Martin Braun via USRP-users
Two more comments: - The clock is not exported by default. So MB 1 won't see a reference clock, and then you get the error you saw. - You can get frequency alignment between the boards this way, but the time will definitely be un-aligned, like Michael said. -- M On 06/11/2018 03:38 PM, Michael W

Re: [USRP-users] Synchronization of two X310 using C

2018-06-11 Thread Michael West via USRP-users
Hello Eino, Even if you are successful getting one device to use the references of the other, it is probably not what you want to do. There are propagation delays on the 10 MHz and PPS signals that mean that the devices are not truly synchronized. The proper way to synchronize the devices is to

Re: [USRP-users] Synchronization of two X310 using C

2018-06-11 Thread Eino Virtanen via USRP-users
Hello again, Sorry for the multiple messages. I nailed down the problem to the 'set_clock_source("external", 1)'. For some reason the other X310 can't get the reference signal from the other one. I will continue investigating. If someone has faced a similar problem, please tell me about it. -- B

[USRP-users] Synchronization of two X310 using C

2018-06-11 Thread Eino Virtanen via USRP-users
Dear recipents, I am trying to synchronize the clocks of two X310s using C. I have the following code: --- s->usrp->set_clock_source("internal", 0); s->usrp->set_time_source("internal", 0); s->usrp->set_clock_source("external", 1); s->usrp->set_time_source("external", 1); s->usrp->set_time_next