<div dir="ltr"><div>computer has become more powerful than our imagination. According to my experiences, order of Msps correlation operation can be done in real time by using state of art computer.<br></div>Instead of cross correlation, we can also transmit a training sequence (for example spread code, m sequence, barker sequence, M sequence, ZC sequence, etc.) to do synchronization and sampling/frequency correlation.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 11:30 PM, Sylvain AZARIAN <span dir="ltr"><<a href="mailto:sylvain.azarian@gmail.com" target="_blank">sylvain.azarian@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Another issue you'll have is to start both dongles simultaneously... <div>with the sampling rate you'll have on the dongles this becomes quite tricky : you get blocks of samples from both dongles but you have no idea of how many samples they are shifted in time. One way to solve this is to search for cross correlation between channels, but this is not very easy in realtime. This can be done by post-processing offline.</div>


<div>I thaught of this a while ago, using a pin diode or something equivalent to shortcut both inputs to ground to find an easy way to have the synchro between channels but did not try it yet</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>sylvain</div>

</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/25 Jiao Xianjun <span dir="ltr"><<a href="mailto:putaoshu@gmail.com" target="_blank">putaoshu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div><div><div>basically you are right.<br></div>But there is signal processing algorithm to track two dongles sampling/oscillator error separately and compensate them separately. Thus we can get them synchronized finally after signal processing algorithm.<br>



<br>What I need actually is that how to get two streams of sample from two dongles.<br><br></div>Actually I notice that in dump1090 it put rtlsdr_read_async in a new created background thread, then there is a possibility that I create two thread to operate two dongles. But in this method, there should be some mechanisms to synchronize two threads. It is complicated.<br>



<br></div>Anyone has simpler solution?<br><br></div>Thank you.<br><div><div><div><br></div></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 9:49 PM, Thierry Leconte <span dir="ltr"><<a href="mailto:thierry.leconte@laposte.net" target="_blank">thierry.leconte@laposte.net</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 25/08/2013 15:13, Jiao Xianjun a écrit :<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I want to use multiple rtl-sdr dongles to do some multi-antenna experiments.<br>
<br>
Is it possible to read IQ samples from multiple rtl-sdr dongles in a synchronized manner?<br>
<br>
</blockquote></div>
Each dongle have its own clock, so it will never be synchronized at the sample level.<br>
<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>