Page 1 of 1

Acquisition upgrade: spectrum an. refresh rate improvement

Posted: Sat Jun 14, 2014 11:03 pm
by DashPi
Hi,
I upgraded the acquisition logic in order to be able to extract samples when circular buffer is running and therefore, more often update the user with fresh data.

This improves spectrum analyzer refresh rate at lower frequency range (1 kHz).
Would you please give a feedback on: TSpectrum Analyzer (0.92-1) app.?

The code diff:
https://github.com/dashpi/RedPitaya/com ... aa242e73c7
https://github.com/dashpi/RedPitaya/com ... 105a05a9e9

This upgrade also enables much longer acquisitions, virtually infinite at limited data rate and also opens the possibility to continuously process a stream of input samples.

I also measured: in about 8 ms Red Pitaya can copy the 16 k buffer and therefore enable at least audio frequency floating point DSP. (At fs=122kHz, the buffer wraps in 134 ms. There should be enough time to read the ADC buffer, apply some filtering and send the processed data to DAC buffer. )