Clearing the phase accumulator before even downward sweeps seems to fix the incomplete sweep problem. This still does not make sense to me with my understanding of how sweeps function, but it seems to work.
What I believe is happening now is that the AD9959 is running a sweep with the maximum delta which instantly maxes out the accumulator before the downward sweep begins. But if that is what is happening, I do not see how clearing/not clearing the accumulator would make a difference.
Fixes #8
Clearing the phase accumulator before even downward sweeps seems to fix the incomplete sweep problem. This still does not make sense to me with my understanding of how sweeps function, but it seems to work.
What I believe is happening now is that the AD9959 is running a sweep with the maximum delta which instantly maxes out the accumulator before the downward sweep begins. But if that is what is happening, I do not see how clearing/not clearing the accumulator would make a difference.