AnsweredAssumed Answered

draw ad9361 receive data

Question asked by hly0407 on Dec 21, 2015
Latest reply on Jan 8, 2016 by DragosB

hello everyone    

i use ad9361 with no-os system at fmcomms2+zc706. and i select TDD mode,and set rx2tx2 as 1.

 

i connect signal source at rx1. and the signal source provide sine signal. than in the code, i do this.

 

adc_capture(1024, DDR_BASEADDR);

  for(n=0;n<1024;n=n+1)
{
      data = Xil_In32(DDR_BASEADDR+(n*4));
      data_I= data & 0xFFFF;

      data_Q= (data >> 16) & 0xFFFF ;

}

 

than i use some method to save data_Ito file. last i use matlab to draw data_I, but it's not sine curve.

 

why? or what's wrong with me? can somebody help me.

 

hly

Outcomes