Hi all,
If the ADC resolution could be reduced we could stream high sample rates through network aiding high speed data acquisition. I looked into the ADC on the RedPitaya and I was wondering if we could achieve this in software.
Cheers
Can we reduce ADC resolution from 14 bits to 12 or 8 bits?
-
- Posts: 7
- Joined: Sun Mar 22, 2015 10:54 am
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Can we reduce ADC resolution from 14 bits to 12 or 8 bit
The answer is a definite "possibly" !
I'll give the idea a spin in my remote_acquire preview; on the software side it is actually very easy to do, since I already copy the data into a temporary buffer before sending. Question is, will the performance degrade to such a point as to make it moot ?
I'll give the idea a spin in my remote_acquire preview; on the software side it is actually very easy to do, since I already copy the data into a temporary buffer before sending. Question is, will the performance degrade to such a point as to make it moot ?
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Can we reduce ADC resolution from 14 bits to 12 or 8 bit
Tests have shown that a simple "copy every other byte" method before sending is much slower than sending the whole with a linear copy. The measured rates were 7MB/s vs 60MB/s .
This may change if you come up with a very efficient way to transfer every other byte, possibly by using inline assembler.
Honestly, letting the FPGA reduce the width of the samples seems much easier in comparison.
This may change if you come up with a very efficient way to transfer every other byte, possibly by using inline assembler.
Honestly, letting the FPGA reduce the width of the samples seems much easier in comparison.
-
- Posts: 7
- Joined: Sun Mar 22, 2015 10:54 am
Re: Can we reduce ADC resolution from 14 bits to 12 or 8 bit
Hi Nils,
thanks for the replies and for giving it a thought.
Finally, I am happy with the performance of the rp_remote_acquire. As long as the 30 Msps flow in, we are good to go.
Thanks again.
Can't wait to see the final product of the remote_acquire.
Cheers
thanks for the replies and for giving it a thought.
Finally, I am happy with the performance of the rp_remote_acquire. As long as the 30 Msps flow in, we are good to go.
Thanks again.
Can't wait to see the final product of the remote_acquire.
Cheers
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 37 guests