Need help with Synchronous Updates

Add useful snippets of code or links to entire SDR projects.
User avatar
neok
Posts: 10
Joined: Mon Oct 17, 2016 8:11 am

Need help with Synchronous Updates

Postby neok » Sat Oct 29, 2016 2:48 pm

Hi,

I have made good progress in my efforts to include support for the SDRPlay RSP1
in my SDR reciever application, sdrx. I still have a few issues to resolve but
it seems that I must first make data streaming from the RSP synchronous.

Unfortunately I can't proceed with just the short hint in the Mirics API
document (in the example code at the end). I am refering to the following:

// for DAB, it may be required to do all updates during NULL period,
What is this NULL period? Timing measurements I made show that data transfer
is made in short and successive bursts but with a break of about 40-50 mSec
every several transfers. Is this the NULL period?

// so once demodulator has established where this is, pass the
Any hints as to how this may be done? First sample numbers seem to increase
continuously and I don't really know how to use them.

// details to the hardware and switch to using synchronous updates
mir_sdr_SetSyncUpdatePeriod(period); // set period first
I take it that this sets the total number of samples between NULLs, the idea
being to match NULL period with the application's samples buffers?

mir_sdr_SetSyncUpdateSampleNum(sampleNum); // then set sample number at start of NULL
Don't quite understand this. :-(

syncUpdate = 1;
...

Apologies for my ignorance but SDR is a very new concept for me ;-)

My thanks in advance!

Neok

Reason: No reason

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

Re: Need help with Synchronous Updates

Postby sdrplay » Sat Oct 29, 2016 2:55 pm

Why do you need synchronous updates? We don't use them in any SDR application we have written. If you want to send me some info on what you are trying to do at software@sdrplay.com, I'd be happy to help.

Best regards,

SDRplay Support

Reason: No reason


Return to “Code Corner”

Who is online

Users browsing this forum: No registered users and 2 guests