ik1xpv / ExtIO_sddc

ExtIO_sddc.dll - BreadBoard RF103 / HDSDR
Other
68 stars 26 forks source link

Standalone version of libsddc? #208

Open AlexandreRouma opened 2 years ago

AlexandreRouma commented 2 years ago

Hello,

Is there any plans to separate libsddc from the ExtIO? Not only would this make the code much cleaner with clean separation between the device library and the ExtIO interface, but it would also allow developers of SDR applications that do not support ExtIO to interface with the SDDC devices easily.

Regards, Alex

fventuri commented 2 years ago

Alex, I can't speak for them of course, but I have the impression from the recent activity on this repository that Howard and Oscar do not have currently time to work on such a major feature.

On the other hand, if you or someone else are interested on working on it, I'll be happy to help for what I can, since I also have a full time job during the day.

Franco

howard0su commented 2 years ago

what set of features you are looking for? I am thinking only put a small set of functions into sddc, which mainly control the hardware and stream out the raw ADC samples. And the application can further down sampling and do some other calculation. Is that aligned with your requirement?

AlexandreRouma commented 2 years ago

the library should match exactly the capabilities of the hardware. So for example, since the hardware has no way of resampling and outputs real values, this is what the library should do. But it should also allow to:

I'd suggest making the API similar to the one of libairspy, librtlsdr, libbladerf, etc...

howard0su commented 2 years ago

what is the thread model you prefer? Like the original libssdc https://github.com/fventuri/libsddc which uses a sync API.

If that works for you, I can adopt that one with the latest firmware.

AlexandreRouma commented 2 years ago

Depends on how the backend works. If you're using async calls for libusb, it's lilely better to make it async. If you're using sync calls, a synchronous API will be better.

Btw, from what I remember, that versioin of the library was pretty broken and unfinished the last time I tried it, not sure if that has changed since then.

AlexandreRouma commented 2 years ago

Hello, Any update on this?

ik1xpv commented 2 years ago

Hi All, I am thinking about a decimation scheme that includes the whole dsp process and also demodulation. See: https://sdr-prototypes.blogspot.com/2022/02/down-sampling-more.html ExtIO_sddc.dll allowed to verify the ADC+FX3 scheme without having to write the whole dsp stream. I'm lazy :-).

Ciao Oscar