Hi,

I work with an evalboard (HSC-ADC-EVALCZ with an AD9650 and a Virtex 4) and in interleaving mode.

I have some difficulties to recover data from the channel A and data from the channel B with Matlab.

I can deinterleave the data with the FPGA but in my case, I have to deal with 2 pairs of I/Q data (so 4 "channels" for 2 outputs FIFO) so I have to interleave my data.

I'm using :

-VisualAnalog to get the samples from the FPGA

-Matlab to deinterleave the data and plot them

To deinterleave the data with Matlab :

dataA_1 = dataA(1:2:end, 1);

dataA_2 = dataA(2:2:end, 1);

Where dataA is my set of interleaved datas.

When I watch dataA_1 and dataA_2, the deinterleaving is well done but when I plot them, I have not my 2 tones back...

Can someone explain me how I can deinterleave my data with Matlab ?

If it's not clear, I can put some screenshots and plots in order to explain my problem in a more graphical way.

Thanks !

Best regards,

Mehdi

Hi,

I tried to get the data with Matlab but I can't change the format (even if I change the parameter "formatMode") so I use Visual Analog (and it's finally simpler than Matlab).

I find today how to deinterleave with Matlab. Before on the FPGA, I put 1 sample when the clock is equal to 1 and 1 sample when it's equal to 0 (like the interleaving done by the ADC).

Now, I do this : I put the samples only when there is a rising edge so the FIFOs have time to process the data or something like that I think. I can deinterleave the data correctly with Matlab!

Best regards,

Mehdi