Re: [casper] Regarding 32 channel ADC channel calibration in ROACH2

2024-03-18 Thread Sivakumar Sivasankar
Hi dan,
  I hope your reply regarding the FFT core will solve my problem. I
will try this method. Thank you so much.

Regarding the ADC calibration, I have calibrated a single 16 ADC card and
it was successful. when i try to calibrate both of them at the same time,
it is giving error.

Thank you.

Sivasankar.S

On Mon, Mar 18, 2024 at 11:59 PM 'Dan Werthimer' via
casper@lists.berkeley.edu  wrote:

>
>
> hi sivasankar,
>
> you are correct, the biplex fft's also have multiple inputs, but they are
> used in a different way:
> instead of multiple time samples from a single real ADC to process higher
> data rates than the FFT clock rate,
> the biplex FFT's compute two or four FFTs simultaneously.
> e.g. you can compute four independent spectra from four different ADCs.
> if you only have one spectrum you want to compute, you can connect the
> unused biplex input channels to ground.
>
> i don't know why you can't calibrate both 16 input adc boards in your
> system.
> hopefully other casperites can weigh in.
> can you calibrate board 1 by itself?
> can you calibrate board 2 by itself ?
> can you calibrate board 1, and then board 2?
> can you calibrate board 2, and then board 1 ?
>
> best wishes,
>
> dan
>
>
> On Mon, Mar 18, 2024 at 8:42 PM Sivakumar Sivasankar <
> sivasiva8...@gmail.com> wrote:
>
>> Hi dan,
>> Thank you for your immediate response. In the fft_biplex_real blocks
>> also they have at least two simultaneous input paths. So how can I split
>> the one channel ADC output stream(200MHz) into multiple paths to give it to
>> FFT block? Even if i find a method to do that, It will reduce the sampling
>> rate of the input stream no?
>>
>> I am using ROACH2 revision 2 board. It has two 16 channel ADC cards. I
>> want to calibrate both the ADC cards at the same time. That’s why I
>> mentioned as 32 channel ADC calibration.
>>
>> Thank you.
>>
>> Sivasankar.S
>>
>> On Mon, Mar 18, 2024 at 11:10 PM 'Dan Werthimer' via
>> casper@lists.berkeley.edu  wrote:
>>
>>>
>>> hi sivakumar,
>>>
>>> for low sample rate FFT's (where the FPGA clock = sample rate),  i
>>> suggest you consider:
>>> fft_biplex_real_2x
>>> 
>>>  (Real-sampled
>>> Biplex FFT, with Output Demuxed by 2)
>>> fft_biplex_real_4x
>>> 
>>>  (Real-sampled
>>> Biplex FFT, with Output Demuxed by 4)
>>>
>>> the various casper FFT's are listed here:
>>> https://casper-toolflow.readthedocs.io/en/stable/blockdocumentation.html
>>>
>>> what is the 32 input ADC board you are trying to calibrate ?
>>> is this the board designed by larry dedarrio for the LWA ?
>>>
>>> best wishes,
>>>
>>> dan
>>>
>>>
>>> On Mon, Mar 18, 2024 at 7:53 PM Sivasankar 
>>> wrote:
>>>
 Dear Caspers,
  Currently I am facing an issue with 32 ADC channel calibration
 with ROACH2 rev2 board. The script for 16-ADC channel calibration is
 working fine and it has calibrated successfully. I have used the same
 script and changed the 16 ADC design to 32 ADC channel. I have selected
 adc0_clk as the User IP clock and given 230MHz. But It is giving the below
 error. Can anyone please help me to debug this issue?

   Also, I want to design a FFT operation to a single channel from 16
 ADC channels with a sampling rate of 200MHz. But I couldn't find any single
 input path FFT cores in casper library. All the FFT cores are coming with
 at least 4 simultaneous input paths with a single simultaneous input
 stream. Are there any possible blocks with a single input path so that I
 can do FFT(clocking with fabric clk 200MHz) to a 200MHz single channel from
 the ADC output?

 Thank you in advance

 Sivasankar.S

 --
 You received this message because you are subscribed to the Google
 Groups "casper@lists.berkeley.edu" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to casper+unsubscr...@lists.berkeley.edu.
 To view this discussion on the web visit
 https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP03dv_SsJF6Cpva7na35iLhAV_YMkETOBGVAVgQTce-Mg%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "casper@lists.berkeley.edu" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAA9jdzJWg6KLMavAM-C%3Dijmv%3DqkrkMUqA5Cqo0qYqYacn35uog%40mail.gmail.com
>>> 

Re: [casper] Regarding 32 channel ADC channel calibration in ROACH2

2024-03-18 Thread 'Dan Werthimer' via casper@lists.berkeley.edu
hi sivasankar,

you are correct, the biplex fft's also have multiple inputs, but they are
used in a different way:
instead of multiple time samples from a single real ADC to process higher
data rates than the FFT clock rate,
the biplex FFT's compute two or four FFTs simultaneously.
e.g. you can compute four independent spectra from four different ADCs.
if you only have one spectrum you want to compute, you can connect the
unused biplex input channels to ground.

i don't know why you can't calibrate both 16 input adc boards in your
system.
hopefully other casperites can weigh in.
can you calibrate board 1 by itself?
can you calibrate board 2 by itself ?
can you calibrate board 1, and then board 2?
can you calibrate board 2, and then board 1 ?

best wishes,

dan


On Mon, Mar 18, 2024 at 8:42 PM Sivakumar Sivasankar 
wrote:

> Hi dan,
> Thank you for your immediate response. In the fft_biplex_real blocks
> also they have at least two simultaneous input paths. So how can I split
> the one channel ADC output stream(200MHz) into multiple paths to give it to
> FFT block? Even if i find a method to do that, It will reduce the sampling
> rate of the input stream no?
>
> I am using ROACH2 revision 2 board. It has two 16 channel ADC cards. I
> want to calibrate both the ADC cards at the same time. That’s why I
> mentioned as 32 channel ADC calibration.
>
> Thank you.
>
> Sivasankar.S
>
> On Mon, Mar 18, 2024 at 11:10 PM 'Dan Werthimer' via
> casper@lists.berkeley.edu  wrote:
>
>>
>> hi sivakumar,
>>
>> for low sample rate FFT's (where the FPGA clock = sample rate),  i
>> suggest you consider:
>> fft_biplex_real_2x
>> 
>>  (Real-sampled
>> Biplex FFT, with Output Demuxed by 2)
>> fft_biplex_real_4x
>> 
>>  (Real-sampled
>> Biplex FFT, with Output Demuxed by 4)
>>
>> the various casper FFT's are listed here:
>> https://casper-toolflow.readthedocs.io/en/stable/blockdocumentation.html
>>
>> what is the 32 input ADC board you are trying to calibrate ?
>> is this the board designed by larry dedarrio for the LWA ?
>>
>> best wishes,
>>
>> dan
>>
>>
>> On Mon, Mar 18, 2024 at 7:53 PM Sivasankar 
>> wrote:
>>
>>> Dear Caspers,
>>>  Currently I am facing an issue with 32 ADC channel calibration
>>> with ROACH2 rev2 board. The script for 16-ADC channel calibration is
>>> working fine and it has calibrated successfully. I have used the same
>>> script and changed the 16 ADC design to 32 ADC channel. I have selected
>>> adc0_clk as the User IP clock and given 230MHz. But It is giving the below
>>> error. Can anyone please help me to debug this issue?
>>>
>>>   Also, I want to design a FFT operation to a single channel from 16 ADC
>>> channels with a sampling rate of 200MHz. But I couldn't find any single
>>> input path FFT cores in casper library. All the FFT cores are coming with
>>> at least 4 simultaneous input paths with a single simultaneous input
>>> stream. Are there any possible blocks with a single input path so that I
>>> can do FFT(clocking with fabric clk 200MHz) to a 200MHz single channel from
>>> the ADC output?
>>>
>>> Thank you in advance
>>>
>>> Sivasankar.S
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "casper@lists.berkeley.edu" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP03dv_SsJF6Cpva7na35iLhAV_YMkETOBGVAVgQTce-Mg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To view this discussion on the web visit
>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAA9jdzJWg6KLMavAM-C%3Dijmv%3DqkrkMUqA5Cqo0qYqYacn35uog%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP1X%3DA3L77E0_Drpxjd3TO1hbj2eh440iZJiV2Yf60QSNQ%40mail.gmail.com
> 

Re: [casper] Regarding 32 channel ADC channel calibration in ROACH2

2024-03-18 Thread Sivakumar Sivasankar
Hi dan,
Thank you for your immediate response. In the fft_biplex_real blocks
also they have at least two simultaneous input paths. So how can I split
the one channel ADC output stream(200MHz) into multiple paths to give it to
FFT block? Even if i find a method to do that, It will reduce the sampling
rate of the input stream no?

I am using ROACH2 revision 2 board. It has two 16 channel ADC cards. I want
to calibrate both the ADC cards at the same time. That’s why I mentioned as
32 channel ADC calibration.

Thank you.

Sivasankar.S

On Mon, Mar 18, 2024 at 11:10 PM 'Dan Werthimer' via
casper@lists.berkeley.edu  wrote:

>
> hi sivakumar,
>
> for low sample rate FFT's (where the FPGA clock = sample rate),  i suggest
> you consider:
> fft_biplex_real_2x
> 
>  (Real-sampled
> Biplex FFT, with Output Demuxed by 2)
> fft_biplex_real_4x
> 
>  (Real-sampled
> Biplex FFT, with Output Demuxed by 4)
>
> the various casper FFT's are listed here:
> https://casper-toolflow.readthedocs.io/en/stable/blockdocumentation.html
>
> what is the 32 input ADC board you are trying to calibrate ?
> is this the board designed by larry dedarrio for the LWA ?
>
> best wishes,
>
> dan
>
>
> On Mon, Mar 18, 2024 at 7:53 PM Sivasankar  wrote:
>
>> Dear Caspers,
>>  Currently I am facing an issue with 32 ADC channel calibration
>> with ROACH2 rev2 board. The script for 16-ADC channel calibration is
>> working fine and it has calibrated successfully. I have used the same
>> script and changed the 16 ADC design to 32 ADC channel. I have selected
>> adc0_clk as the User IP clock and given 230MHz. But It is giving the below
>> error. Can anyone please help me to debug this issue?
>>
>>   Also, I want to design a FFT operation to a single channel from 16 ADC
>> channels with a sampling rate of 200MHz. But I couldn't find any single
>> input path FFT cores in casper library. All the FFT cores are coming with
>> at least 4 simultaneous input paths with a single simultaneous input
>> stream. Are there any possible blocks with a single input path so that I
>> can do FFT(clocking with fabric clk 200MHz) to a 200MHz single channel from
>> the ADC output?
>>
>> Thank you in advance
>>
>> Sivasankar.S
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To view this discussion on the web visit
>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP03dv_SsJF6Cpva7na35iLhAV_YMkETOBGVAVgQTce-Mg%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAA9jdzJWg6KLMavAM-C%3Dijmv%3DqkrkMUqA5Cqo0qYqYacn35uog%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP1X%3DA3L77E0_Drpxjd3TO1hbj2eh440iZJiV2Yf60QSNQ%40mail.gmail.com.


Re: [casper] Regarding 32 channel ADC channel calibration in ROACH2

2024-03-18 Thread 'Dan Werthimer' via casper@lists.berkeley.edu
hi sivakumar,

for low sample rate FFT's (where the FPGA clock = sample rate),  i suggest
you consider:
fft_biplex_real_2x

(Real-sampled
Biplex FFT, with Output Demuxed by 2)
fft_biplex_real_4x

(Real-sampled
Biplex FFT, with Output Demuxed by 4)

the various casper FFT's are listed here:
https://casper-toolflow.readthedocs.io/en/stable/blockdocumentation.html

what is the 32 input ADC board you are trying to calibrate ?
is this the board designed by larry dedarrio for the LWA ?

best wishes,

dan


On Mon, Mar 18, 2024 at 7:53 PM Sivasankar  wrote:

> Dear Caspers,
>  Currently I am facing an issue with 32 ADC channel calibration
> with ROACH2 rev2 board. The script for 16-ADC channel calibration is
> working fine and it has calibrated successfully. I have used the same
> script and changed the 16 ADC design to 32 ADC channel. I have selected
> adc0_clk as the User IP clock and given 230MHz. But It is giving the below
> error. Can anyone please help me to debug this issue?
>
>   Also, I want to design a FFT operation to a single channel from 16 ADC
> channels with a sampling rate of 200MHz. But I couldn't find any single
> input path FFT cores in casper library. All the FFT cores are coming with
> at least 4 simultaneous input paths with a single simultaneous input
> stream. Are there any possible blocks with a single input path so that I
> can do FFT(clocking with fabric clk 200MHz) to a 200MHz single channel from
> the ADC output?
>
> Thank you in advance
>
> Sivasankar.S
>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP03dv_SsJF6Cpva7na35iLhAV_YMkETOBGVAVgQTce-Mg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAA9jdzJWg6KLMavAM-C%3Dijmv%3DqkrkMUqA5Cqo0qYqYacn35uog%40mail.gmail.com.


[casper] Regarding 32 channel ADC channel calibration in ROACH2

2024-03-18 Thread Sivakumar Sivasankar
Dear Caspers,
 Currently I am facing an issue with 32 ADC channel calibration
with ROACH2 rev2 board. The script for 16-ADC channel calibration is
working fine and it has calibrated successfully. I have used the same
script and changed the 16 ADC design to 32 ADC channel. I have selected
adc0_clk as the User IP clock and given 230MHz. But It is giving the below
error. Can anyone please help me to debug this issue?

  Also, I want to design a FFT operation to a single channel from 16 ADC
channels with a sampling rate of 200MHz. But I couldn't find any single
input path FFT cores in casper library. All the FFT cores are coming with
at least 4 simultaneous input paths with a single simultaneous input
stream. Are there any possible blocks with a single input path so that I
can do FFT(clocking with fabric clk 200MHz) to a 200MHz single channel from
the ADC output?

Thank you in advance

Sivasankar.S

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP03dv_SsJF6Cpva7na35iLhAV_YMkETOBGVAVgQTce-Mg%40mail.gmail.com.