pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
337 stars 209 forks source link

Reg Adc_recorder project #719

Closed falcon98 closed 5 years ago

falcon98 commented 6 years ago

Hi Pavel,

I used your ADC_recorder project and tried to build some understanding. The overall sampling rate is 2 MSps due to usage of CIC and FIR filters. The c code is able to print 1024K samples from both the ADCs. I am able to recover signals at 100 KHz frequency from this code. My queries to you are:

1) I want to sample the signals at 125 MSps frequency in order to digitize high bandwidth signals. I am planning to remove the CIC and fir filters from the block diagram and directly combine the stream combiner to packetizer. Do you think that this will work? 2) Since the RAM is of 512 MB size, I am thinking of increasing the buffer of acquired data from ADC. I changed the C program by setting the number of samples in multiples of 2 (like 8 10241024) . I am getting segmentation error when I am executing this code on RP. What changes do I need to do in the C program or the block diagram in order to read larger amount of data.

Thanks a lot Best Regards, David Falcon

z7010student commented 5 years ago

Hi Pavel,

Just to put an update. I went through the earlier link (#320) where similar discussion was initiated.

I have removed the blocks between ADC stream and RAM writer and now able to acquire the data at 125 MS from ADC. I have tested it to 20 Mhz signals for proper reconstruction. I am able to log the data in text file on RP . Now I am working on increasing the memory size of acquired data from 1M to 8M or higher.

Thanks.

Hi falcon98,

I am also working on same kind of project.

Could you please explain how did you achived it.

Thanks for help.

glnmurthy commented 2 years ago

Hello Pavel, Iam trying to port and run adc-recorder on RP. Getting error in open("/dev/cma",...). Please suggest what to do

pavel-demin commented 2 years ago

Please suggest what to do

Here are the first steps:

Please do not add comments to issues closed many years ago.