I have two AD9834 working with the same clock and I need to set a phase shift of 90º between them. I accomplished this task but the phase changes if I change the frequency.
Is there any relationship between the output frequency and the phase?
This may help,
The AD9834 is a phase continuous...
Could you provide more details about your problem?
I'll try.. I have programmed both ad9834 to work at the same frequency, and I set one of them to have phase 0, (0xC000, according the DS) and the other one to have 180º of phase shift (0xC7FF). This is not working the way it should be because both signals have different phase shift.
By adjusting the code I accomplished the 180º setting the register at 0xC6D9) but if I change the output frequency the phase shift changes and it needs to be adjusted again.
I tried to be more precise but let me know if something is not clear, please.
I agree with Miguel. It sounds like a synchronization issue between the two parts. If the interfaces are not synchronized one part could receive the change in frequency command a few MCLK cycles before or after the other resulting in an apparent phase shift.
Thanks again guys, working perfectly.
Retrieving data ...