Skip to content

Commit

Permalink
Remove xrfclk program in notebook G 01
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorthcote committed May 24, 2023
1 parent dfe9d36 commit 8046ffb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 130 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,32 +199,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. We require the LMX device to be set to a frequency of 409.6MHz for this RFSoC radio system."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if xrfclk.board in ['ZCU111', 'RFSoC2x2']:\n",
" lmk_freq = 122.88\n",
"elif xrfclk.board in ['RFSoC4x2', 'ZCU208', 'ZCU216']:\n",
" lmk_freq = 245.76\n",
"else:\n",
" raise RuntimeError('Platform not supported.')\n",
"\n",
"xrfclk.xrfclk._read_tics_output()\n",
"xrfclk.set_ref_clks(lmk_freq, 409.6)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Further information about the xrfclk module can be found in [4]."
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. Further information about the xrfclk module can be found in [4]."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,32 +198,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. We require the LMX device to be set to a frequency of 409.6MHz for this RFSoC radio system."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if xrfclk.board in ['ZCU111', 'RFSoC2x2']:\n",
" lmk_freq = 122.88\n",
"elif xrfclk.board in ['RFSoC4x2', 'ZCU208', 'ZCU216']:\n",
" lmk_freq = 245.76\n",
"else:\n",
" raise RuntimeError('Platform not supported.')\n",
"\n",
"xrfclk.xrfclk._read_tics_output()\n",
"xrfclk.set_ref_clks(lmk_freq, 409.6)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Further information about the xrfclk module can be found in [4]."
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. Further information about the xrfclk module can be found in [4]."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,32 +199,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. We require the LMX device to be set to a frequency of 409.6MHz for this RFSoC radio system."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if xrfclk.board in ['ZCU111', 'RFSoC2x2']:\n",
" lmk_freq = 122.88\n",
"elif xrfclk.board in ['RFSoC4x2', 'ZCU208', 'ZCU216']:\n",
" lmk_freq = 245.76\n",
"else:\n",
" raise RuntimeError('Platform not supported.')\n",
"\n",
"xrfclk.xrfclk._read_tics_output()\n",
"xrfclk.set_ref_clks(lmk_freq, 409.6)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Further information about the xrfclk module can be found in [4]."
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. Further information about the xrfclk module can be found in [4]."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,32 +262,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. We require the LMX device to be set to a frequency of 409.6MHz for this RFSoC radio system."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if xrfclk.board in ['ZCU111', 'RFSoC2x2']:\n",
" lmk_freq = 122.88\n",
"elif xrfclk.board in ['RFSoC4x2', 'ZCU208', 'ZCU216']:\n",
" lmk_freq = 245.76\n",
"else:\n",
" raise RuntimeError('Platform not supported.')\n",
"\n",
"xrfclk.xrfclk._read_tics_output()\n",
"xrfclk.set_ref_clks(lmk_freq, 409.6)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Further information about the xrfclk module can be found in [4]."
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. Further information about the xrfclk module can be found in [4]."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,32 +262,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. We require the LMX device to be set to a frequency of 409.6MHz for this RFSoC radio system."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if xrfclk.board in ['ZCU111', 'RFSoC2x2']:\n",
" lmk_freq = 122.88\n",
"elif xrfclk.board in ['RFSoC4x2', 'ZCU208', 'ZCU216']:\n",
" lmk_freq = 245.76\n",
"else:\n",
" raise RuntimeError('Platform not supported.')\n",
"\n",
"xrfclk.xrfclk._read_tics_output()\n",
"xrfclk.set_ref_clks(lmk_freq, 409.6)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Further information about the xrfclk module can be found in [4]."
"You should be able to match the LMK device on your RFSoC platform with a clock file given above. Further information about the xrfclk module can be found in [4]."
]
},
{
Expand Down

0 comments on commit 8046ffb

Please sign in to comment.