06-09-2015 03:32 AM
i've never done! now i see that in the wave chart and i want to see a perfect sine wave like that.
06-09-2015 06:28 AM
@pablosan wrote:
i've never done! now i see that in the wave chart and i want to see a perfect sine wave like that.
So it looks like you are writing to the waveform chart incorrectly. Please show your code.
06-09-2015 06:41 AM
Here it is!
06-09-2015 07:17 AM - edited 06-09-2015 07:17 AM
You are not writing arrays to your chart. Plus it looks like you have two of your plots disabled. See if this works for you.
06-09-2015 10:23 AM
i try that and I have the same problem!
06-09-2015 11:10 AM
1. Why the FOR loop for the DMA write? it isn't doing anything.
2. I am noticing a coercion dot on your DMA write. What is the data type you have for the DMA FIFO?
3. Try zooming in on your chart.
06-09-2015 11:21 AM
crossrulz escribió:
1. Why the FOR loop for the DMA write? it isn't doing anything.
2. I am noticing a coercion dot on your DMA write. What is the data type you have for the DMA FIFO?
3. Try zooming in on your chart.
1. I've just delated the for loop for the DMA write
2. the data type is I64
3.The wave is not a sine wave
06-09-2015 11:25 AM
Those signals look like you are saturating your D/As (clipping at the peaks). You should look to see what exactly you are inputting.
06-09-2015 12:03 PM
the inputs before the write DMA FIFO is well. If the amplitude is 1 i can see 3 sines waves between [-1, 1].
I think the mistake is after the read DMA FIFO.
06-10-2015 01:28 AM
What's the output datatype of your Integer to FXP conversion?