Bad signal when using DAC'S full range and buffer
Hi,
I've been trying to synthesize different waveforms with my F446 DAC. Three things have come to my attention here, which I can't explain.
First, when I am using the full range of the DAC with values from 0 to 4095 the signal gets distorted like this for sine and ramp:


whereas using the range from 0 to 2047, the signal looks great like this:


Second, using the smaller range, when I am going to higher audio frequencies the SNR suffers greatly as seen in these spectra:


with frequencies over about 5k or 6k being reduced to white noise.
Third, using the buffer distorts the signal even worse like this:

To synthesize the signals I am using a timer to trigger the dma to push values from a LUT to the DAC.
If anybody has any ideas what could be causing these problems, I'd appreciate comments.
