Skip to content

Commit

Permalink
fix bad logic in lmk/lmx programming
Browse files Browse the repository at this point in the history
  • Loading branch information
JennySmith888 committed Aug 23, 2024
1 parent b229c35 commit b3e3f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkidgen3/drivers/rfdcclock.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def configure(programming_key: str | None = None, clock_source: str| None = None
if board_name == 'RFSoC4x2':
if programming_key == '4.096GSPS_MTS':
xrfclk.set_ref_clks(lmk_freq='512.0_MTS', lmx_freq='512.0_MTS')
if programming_key == '4.096GSPS_MTS_dualloop':
elif programming_key == '4.096GSPS_MTS_dualloop':
xrfclk.set_ref_clks(lmk_freq='512.0_MTS_dualloop', lmx_freq='512.0_MTS_dualloop')
if programming_key == '4.096GSPS_MTS_direct':
elif programming_key == '4.096GSPS_MTS_direct':
xrfclk.set_ref_clks(lmk_freq='4096.0_MTS', lmx_freq='4096.0_MTS')
elif programming_key == '5.000GSPS_MTS':
xrfclk.set_ref_clks(lmk_freq='500.0_MTS', lmx_freq='500.0_MTS')
Expand Down

0 comments on commit b3e3f67

Please sign in to comment.