4410: add phase param to single-tone sync e.g.

+- 0.25 turns w.r.t the other channel, excluding I/O update mismatch
This commit is contained in:
occheung 2021-12-07 16:20:14 +08:00
parent 7265d05bae
commit 0dbf7a70c4

View File

@ -432,7 +432,7 @@ def run(self):
\end{minted}
If the synchronization feature of AD9910 was enabled, RF signal across different channels of the same Urukul can be synchronized.
For example, synchronized RF signal can be produced on both channel 0 and channel 1 after configuring an appropriate phase mode.
For example, phase-coherent RF signal can be produced on both channel 0 and channel 1 after configuring an appropriate phase mode.
\begin{minted}{python}
@kernel
def run(self):
@ -448,9 +448,11 @@ def run(self):
self.dds1.set_phase_mode(PHASE_MODE_TRACKING)
self.dds1.set_att(6.)
self.dds0.set(10*MHz)
self.dds1.set(10*MHz)
self.dds0.set(10*MHz, phase=0.0)
self.dds1.set(10*MHz, phase=0.25) # 0.25 turns phase offset
\end{minted}
Note that the phase difference between the 2 channels might not be exactly 0.25 turns, but it is a constant.
It can be negated by adjusting the \texttt{phase} parameter.
\newpage
\subsection{DDS RAM Modulation (AD9910 Only)}