Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: FMCOMMS1 TX DAC bandwidth and waveform sampling

$
0
0

I was able to create a new bitstream with XPS following your previous instructions and boot into Linux.

 

Unfortunately, my test waveforms previously generated with Matlab no longer give the expected output. I am currently testing with text wavefiles to be output to the DAC buffer using IIO Oscilloscope.

 

I did notice that some of my previous waveforms did cause the DMA controller to stop due to the number of samples not being an multiple of 16. However, the correct length waveforms did still not output properly.

 

I also tried your code snippet posted previously (http://ez.analog.com/message/137748#137748). With the previous 64-bit DMA bus, the code properly created a peak at LO +/- (Fs/2/10).  The signal at 128-bit DMA now looks as if the I and Q values are not being loaded into the buffer incorrectly.

DMA_buswidth.png

Any insight on what I am doing wrong? Do any modifications need to be made to the IIO software or sinusoid sample code? Does the devicetree need to be updated for a larger TX DMA bus width or reduced DAC interpolation factor?

 

Thank you.


Viewing all articles
Browse latest Browse all 36216

Trending Articles