4410-4412/RAM: lower background frequency to 5MHz
It is to make the plot easier for our eyes.
This commit is contained in:
parent
d26fe0f5d5
commit
1ce032605a
|
@ -508,6 +508,7 @@ def configure_ram_mode(self, dds):
|
|||
dds.write_ram(self.asf_ram)
|
||||
|
||||
self.core.break_realtime()
|
||||
dds.set(frequency=5*MHz, ram_destination=RAM_DEST_ASF)
|
||||
# Pass osk_enable=1 to set_cfr1() if it is not an amplitude RAM
|
||||
dds.set_cfr1(ram_enable=1, ram_destination=RAM_DEST_ASF)
|
||||
|
||||
|
@ -525,9 +526,9 @@ def run(self):
|
|||
|
||||
The generated RF output of the above example consists of the following features in sequence:
|
||||
\begin{enumerate}
|
||||
\item A 10 MHz RF pulse for 2 microseconds.
|
||||
\item A 5 MHz RF pulse for 2 microseconds.
|
||||
\item No signal for 1 microseconds.
|
||||
\item A 10 MHz RF pulse for 1 microseconds.
|
||||
\item A 5 MHz RF pulse for 1 microseconds.
|
||||
\item No signal for 3 microseconds.
|
||||
\item Go back to item 1.
|
||||
\end{enumerate}
|
||||
|
@ -543,7 +544,7 @@ Multiple RAM channels can also be synchronized.
|
|||
Similar to the 10 MHz single-tone RF signals, specify \texttt{phase} when calling \texttt{dds.set()} in \texttt{configure\char`_ram\char`_mode}.
|
||||
For example, set phase to 0 for the channels (\texttt{phase=0.0}).
|
||||
\begin{minted}{python}
|
||||
dds.set(frequency=10*MHz, phase=0.0, ram_destination=RAM_DEST_ASF)
|
||||
dds.set(frequency=5*MHz, phase=0.0, ram_destination=RAM_DEST_ASF)
|
||||
\end{minted}
|
||||
Then, replace the \texttt{run()} function with the following.
|
||||
\begin{minted}{python}
|
||||
|
|
Loading…
Reference in New Issue