I have completed all configuration of the ad9136.Now, I wanted to test this dac through the iio osc. However ,I found that I cannot creat a true format data txt from the matlab.Can you tell how to make it?
AD9136
Recommended for New Designs
The AD9135/AD9136 are dual, 11-/16-bit, high dynamic range digital-to-analog converters (DACs) that provide a maximum sample rate of 2800 MSPS, permitting...
Datasheet
AD9136 on Analog.com
I have completed all configuration of the ad9136.Now, I wanted to test this dac through the iio osc. However ,I found that I cannot creat a true format data txt from the matlab.Can you tell how to make it?
This is pretty straightforward. Simply create a matrix where each column applies to the different channels you want to provide data to and save that matrix to a .MAT file. You can see examples here: iio-oscilloscope/waveforms at master · analogdevicesinc/iio-oscilloscope (github.com)
-Travis
Thank you for your reply. I tried it but I found the new problems.I wanted ad9136 outputs IQ singles.So I organized the data format according to this image.However,I founed output0 has the signel and output1 has a sin wave with 40M frequency.
So ,what can I do so that ad9136 can output IQ signel successfully.Please help me, I would appreciate it.
libiio has no concept of a complex channel, they would just be component channels. So voltage0 (column 1) would be for I and voltage1 (column 2) would be for Q.
-Travis
Thank you for your reply.You mean that there is no fault with my data format.And only if I creat the data with the format of picture 1 and tick voltage0 and voltage 1 can I get the iq signals?
Either format is valid and the same ideas apply. Separate columns for the component channels.
-Travis
I am appreciate for your help and I have gotten the result I wanted successfully.Thanks again for you and have a nice life.