Skip to content

Commit

Permalink
updating XilinxZcu111/_Hardware.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Nov 11, 2023
1 parent 7994e59 commit e55d156
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def InitClock(self, lmkConfig=None, lmxConfig=[None]):

# Configure the LMK for 4-wire SPI
self.Lmk.enable.set(True)
self.Lmk.LoadCodeLoaderHexFile(lmkConfig)
for x in range(2):
self.Lmk.LoadCodeLoaderHexFile(lmkConfig)
self.Lmk.enable.set(False)

# Load the LMX configuration from the TICS Pro software HEX export
Expand All @@ -109,7 +110,8 @@ def InitClock(self, lmkConfig=None, lmxConfig=[None]):
self.Tca6416a.OP[1].set(spiMuxSel[i]) # Set the CLK_SPI_MUX_SEL

self.Lmx[i].enable.set(True)
self.Lmx[i].LoadCodeLoaderHexFile(lmxCfg[i])
for x in range(2):
self.Lmx[i].LoadCodeLoaderHexFile(lmxCfg[i])
self.Lmx[i].enable.set(False)

self.Tca6416a.enable.set(False)

0 comments on commit e55d156

Please sign in to comment.