forked from M-Labs/artiq
1
0
Fork 0

Fixed two too low delay values in Phaser init

Signed-off-by: Fabian Schwartau <fabian@opencode.eu>
This commit is contained in:
Fabian Schwartau 2022-10-19 15:45:45 +02:00 committed by Robert Jördens
parent de34aedfa3
commit ab8bb9ef31
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ class Phaser:
for data in self.dac_mmap: for data in self.dac_mmap:
self.dac_write(data >> 16, data) self.dac_write(data >> 16, data)
delay(40*us) delay(120*us)
self.dac_sync() self.dac_sync()
delay(40*us) delay(40*us)
@ -616,7 +616,7 @@ class Phaser:
.. note:: Synchronising the NCO clears the phase-accumulator .. note:: Synchronising the NCO clears the phase-accumulator
""" """
config1f = self.dac_read(0x1f) config1f = self.dac_read(0x1f)
delay(.1*ms) delay(.4*ms)
self.dac_write(0x1f, config1f & ~int32(1 << 1)) self.dac_write(0x1f, config1f & ~int32(1 << 1))
self.dac_write(0x1f, config1f | (1 << 1)) self.dac_write(0x1f, config1f | (1 << 1))