Addressing Multiple RSP2s

Post information or questions regarding SDRplay products here
Post Reply
ibriggs34
Posts: 1
Joined: Thu Jun 15, 2017 7:09 pm

Addressing Multiple RSP2s

Post by ibriggs34 » Thu Jun 15, 2017 7:25 pm

We are looking to synchronize several RSP2s and read their IQ outputs simultaneously. We have some idea about how the RSP2 behaves using the API, but we are not sure how to read multiple RSP2s simultaneously and synchronize them (as well as identifying which output belongs to which RSP2). Is there a recommended way of addressing each device when sending commands and receiving data? We are currently using centOS 6.9 to run the software and writing in c++.

mir_sdr_SetDevice appears to be the start of what we need, but its behaviour is undefined for switching between devices in the same program. Does the initial stream stop after a new device is selected? If not, how are the two data streams distinguished?
Last edited by ibriggs34 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Addressing Multiple RSP2s

Post by sdrplay » Thu Jun 15, 2017 8:13 pm

The output of GetDevices will allow you to identify which device you want to work with and specify in SetDevice. We support coherence by linking RSP2s together (as shown in this application note: http://www.sdrplay.com/docs/SDRplay_RSP ... e_R1P0.pdf )

Remember whatever phase offset there is between the two devices will remain constant. You will need to post process the IQ data to achieve timing alignment. You will probably need a multi-threaded app or two applications as in a single thread only one device can be addressed at any one time.

Hope that helps,

Best regards,

SDRplay Support

Reason: No reason

Post Reply