It turns out that the time registers were being written in the wrong order. I have pushed a fix to the master (seconds need to be written last).
-Josh On Mon, May 24, 2010 at 3:49 AM, Manuel Fuhr <[email protected]> wrote: > 2010/5/21 周亮 <[email protected]>: >> Hi, >> >> These days I am trying to synchronize two USRP2 with PPS signal and UHD. >> The two USRP2 is connect with same reference clock and PPS signal. I use >> function "set_time_next_pps(uhd::time_spec_t(0))" to set time to be zero, >> and make two USRP2 start sampling after 3 seconds. The result shows that >> there is still phase difference, which means a delay( about 30ns) between >> USRP2s. > I tried to use the set_time_next_pps() too and had the problem, that > it updates the timing information even if no PPS pulse occurs. > Attached is a patch that first sets the PPS configuration and updates > the timing information afterswards. > > Manuel > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
