AnsweredAssumed Answered

ad9361 receive data

Question asked by hly0407 on Dec 18, 2015
Latest reply on Dec 20, 2015 by DragosB

hello everyone.

 

     i use ad9361 with no-os system at fmcomms2+zc706. and i select TDD mode. now i have some question.

 

     1. i set the value of r2t2 as 1. and i enable rx1 and rx2. then i use adc_capture to recieve data,like this :

               adc_capture(1024, DDR_BASEADDR);

                 

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

                sampleQ = (rdata >> 16) & 0xFFFF ;

         }

 

          the rdata is belong to rx1? or the data of rdata has the sequence that rx1 rx2 rx1 rx2 rx1 rx2.........

 

     2. i set the value of r2t2 as 1. and i enable rx1 and disable rx2. then i use adc_capture to recieve data,like this :

               adc_capture(1024, DDR_BASEADDR);

                 

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

                sampleQ = (rdata >> 16) & 0xFFFF ;

         }

 

          the rdata is belong to rx1? or the data of rdata has the sequence that rx1 rx2 rx1 rx2 rx1 rx2.........

 

    3. than i set the value of r2t2 as 0. and i enable rx1 and disable rx2. then i use adc_capture to recieve data,like this :

               adc_capture(1024, DDR_BASEADDR);

                 

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

                sampleQ = (rdata >> 16) & 0xFFFF ;

         }

          the rdata is belong to rx1? or the data of rdata has the sequence that rx1 rx2 rx1 rx2 rx1 rx2.........

 

can somebody tell me the relations between rdata and rx( rx1 rx2 ).

 

thankyou .

Outcomes