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.
|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.