i have the fmcomms3 card with zed board
i successful to implement the no-os application and HDL in vivado and SDK software
also i run the capture.bat and get csv file with I&Q signals
i want to test the fmcomms3 card that it work, with sent simple signal and capture it.
but the ad9361 sdk application only config the fmcomms3 device and the capture.bat application not send signal.
from where to start to achieve this goal?
Please refer to the link below,
i read the post, thanks.
but i need some help
for example when i run capture file i receive this graph (in the picture)
how i can change the data send, for example the distance from I and Q. then capture again and see the difference
maybe this function DATA_SEL_DDS ?
The dac_init() function in main.c initializes the DAC HDL core.
Using DATA_SEL_DMA option (no-OS/dac_core.c at master · analogdevicesinc/no-OS · GitHub), custom data can be sent.
In our example, the sine_lut array is sent (no-OS/dac_core.c at master · analogdevicesinc/no-OS · GitHub). The DMA is by default configured cyclic, so the data will be sent continuously.
You have to write your custom data to sine_lut array and DATA_SEL_DMA option to send your custom data.
Your custom data format should follow the below,
sorry for the basic question:
i see I and Q with phase as write in the post you ref me:(see picture)
"In our example, the same data is transmitted on all channels (I0, Q0, I1, Q1) - the only difference is that the I and Q signals are shifted by 90 degrees with respect to each other"
but i cant see the SIN wave. what my mistake?
furthermore, the 90 deg phase, its the phase shift modulator?
the sine_lut is the IQ data?
what happen if i change the sine_lut value? (for example to (sin(x))^2))
edanieli118 said:"In our example, the same data is transmitted on all channels (I0, Q0, I1, Q1) - the only difference is that the I and Q signals are shifted by 90 degrees with respect to each other"
Can you verify loading your custom IQ file in IIO Scope GUI?
edanieli118 said:the sine_lut is the IQ data?
Yes. Your baseband IQ data has to go here.
edanieli118 said:what happen if i change the sine_lut value? (for example to (sin(x))^2))
Your baseband data written in sine_lut will be upconverted RF as per your LO config.
"Can you verify loading your custom IQ file in IIO Scope GUI? "
i dont see how i can upload csv file to the IIO Scope.
Please refer to the below link,
You can convert your .csv file to .txt format and you can use the DAC Buffer output mode to load your custom waveform in IIO GUI.
thanks for the answer, i try to go another direction for achieve the send receive test:
i preform a debug on the ad9361 application, no-os, in the SDK VIVADO:
/* Wait until the transfer with the ID transfer_id is completed. */
while((reg_val & (1 << transfer_id)) != (1 << transfer_id));